[Top][All Lists]

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

Re[2]: [Help-glpk] Suggestions for improvements

From: Shripad Thite
Subject: Re[2]: [Help-glpk] Suggestions for improvements
Date: Tue, 27 Jul 2004 09:10:06 -0500 (CDT)

On Tue, 27 Jul 2004, Andrew Makhorin wrote:

> I've misunderstood you. If you write
>    assert(lpx_simplex(lp) == LPX_E_OK);
> and the predicatum is false, the message will be following:
>    Assertion failed: lpx_simplex(lp) == LPX_E_OK, ...
> i.e. just what you need. LPX_E_OK is replaced by a number in other
> place, not in the text passed to the assert macro. If you see something
> like "Assertion failed: lpx_simplex(lp) == 200, ...", the assert macro
> is incorrectly implemented.

That does seem to be the case.  Which is interesting because I'm using
gcc 3.3.4.  Sorry, I guess this isn't GLPK's fault. :)


reply via email to

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