Re: Solver delivers wrong answer when 2 constraints are close

Michael Hennebry <[email protected]> Tue, 9 Mar 2021 18:26:37 -0600 (CST)
Newsgroups gmane.comp.gnu.glpk
Message-ID <[email protected]>
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   [email protected]
"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