On Sun, 06 Mar 2011 02:00:12 +0300
 Andrew Makhorin <[email protected]> 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



_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to