help-glpk
[Top][All Lists]
Advanced

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

Re: Solver delivers wrong answer when 2 constraints are close


From: Michael Hennebry
Subject: Re: Solver delivers wrong answer when 2 constraints are close
Date: Tue, 9 Mar 2021 18:26:37 -0600 (CST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

I suspect the best value for eps might be sqrt(DBL_EPSILON),
usually 2**-26, roughly 1.6*10**-8 .

If a model requires distinguishing between 1-eps and 1+eps,
another model might be in order.
Not a lot of generic advice can be given,
that said, X >= L1, X>= L2 can always become X>=max(L1, L2).


--
Michael   hennebry@web.cs.ndsu.NoDak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
                                                             --  someeecards



reply via email to

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