Re: Solver delivers wrong answer when 2 constraints are close

2021-03-05 Thread Domingo Alvarez Duarte
Using LP_SOLVE as solver with glpsol (experimental) also produce the stated expected value for "min_bound = 1e-09": glpsol --lpsolve -m test_1e_4_2.mod GLPSOL: GLPK LP/MIP Solver, v4.65-ex, glp_double size 8 Parameter(s) specified in the command line:  --lpsolve -m test_1e_4_2.mod Reading

Re: Solver delivers wrong answer when 2 constraints are close

2021-03-05 Thread Domingo Alvarez Duarte
Looking through the code I can see that it seems to be a mismatch in checking for lower/upper bound in other places too (see bellow). Also testing in AMPL it only returns 'x = 1' for 'min_bound = 1e-06', and it works for 'min_bound = 1e-05' and return 'x = 1.1'. === int