help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] problem with glpsol


From: Andrew Makhorin
Subject: Re: [Help-glpk] problem with glpsol
Date: Mon, 6 Apr 2009 21:18:54 +0300

> Here is the cplex lp file and the mps file.

Thanks.

Wrong results appear, because the problem is badly scaled. This is
caused by two tiny constraint coefficients:

    C0000036  R0000033  -5.16198E-27   R0000034  -0.079105507

    C0000036  R0000039  -0.092756701   R0000040  -5.51167E-27

To avoid the error you should either disable the geometric mean
scaling (which is enabled by default) or, that is much better, replace
all tiny constraint coefficients by exact zeros, for example, before
passing rows/columns to glp_set_mat_row/glp_set_mat_col.

BTW, I could not reproduce the error.


Andrew Makhorin





reply via email to

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