help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Numerical instability warning


From: glpk xypron
Subject: Re: [Help-glpk] Numerical instability warning
Date: Mon, 07 Mar 2011 19:06:28 +0100

Hello Glenn,

the code is in glpk-4.45/src/glplpx01.c

You have to assign a structure of type LPXKKT to kkt before
calling lpx_check_kkt.

Best regards

Xypron

 
-------- Original-Nachricht --------
> Datum: Mon, 07 Mar 2011 10:37:55 -0500
> CC: address@hidden
> Betreff: Re: [Help-glpk] Numerical instability warning

> On Sun, 06 Mar 2011 02:00:12 +0300
>  Andrew Makhorin <address@hidden> wrote:
> > Note that you can use the routine glp_check_kkt to check
> > if the solution satisfies to the feasibility/optimality conditions.
> 
> I tried calling lpx_check_kkt() but I'm getting a segmentation fault
> generated from within this routine.  I do the following,
> 
> LPXKKT *kkt    // variable declaration
> lpx_check_kkt( lp, 1, kkt );
> 
> I get a segmentation fault in _glp_lpx_check_kkt() at the line
> 649    kkt->pe_ae_row = ae_ind;
> 
> because the variable kkt is null (0x0)
> 
> The manual simply says "The parameter kkt is a pointer to the structure
> LPXKKT, to which the routine stores the results of the check."
> 
> I was assuming that this structure is generated by the routine and that
> the passed in pointer gets set to it.  Do I need to call something that
> sets this kkt pointer to the LPXKKT structure?  What's wrong?
> 
> -- Glenn

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]