[Top][All Lists]

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

Re: [Help-glpk] Numerical instability warning

Subject: Re: [Help-glpk] Numerical instability warning
Date: Mon, 07 Mar 2011 10:37:55 -0500

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

reply via email to

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