[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Help with glpk ?
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Help with glpk ? |
Date: |
Wed, 4 Sep 2002 22:36:11 +0400 |
>Assertion failed: "not implemented yet" == NULL; file source/glplpx6a.c;
>line 290
>
>Since the LP is very simple, I think the problem is with my code.
>Does anybody know what is happening and what is the mistake in
>this code ?
That message means that all elements of the transformed column, which
corresponds to a non-basic variable chosen, are too small, so the primal
ratio test may be unreliable. In this case the current basis should be
re-inverted, however this is unfortunately not implemented yet.
Please replace the statement placed in the routine spx_prim_chuzr
(file 'glpspx2.c', line 734):
if (big < lp->tol_piv) ret = 1;
by the following:
if (big < lp->tol_piv) ret = 0;
or just remove the entire line. This allows to by-pass the check, which
causes the error. (In the next version of glpk I'll fix this thing.)
As to your code, there is no mistake in it.