You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The attached run file uses gurobiasl to find 5 MIP solutions. Then it reads the resulting .sol files one at a time. The solve_result and solve_result_num values are all solved and 0 as expected:
ampl: include multmip_pool.run
Gurobi 10.0.2: ams_stub=multmip
ams_mode=2
ams_limit=5
Gurobi 10.0.2: optimal solution; objective 235625
468 simplex iterations
76 branch-and-cut nodes
plus 34 simplex iterations for intbasis
Alternative MIP solution 1, objective = 235625
Alternative MIP solution 2, objective = 237125
Alternative MIP solution 3, objective = 238225
Alternative MIP solution 4, objective = 239900
Alternative MIP solution 5, objective = 242025
5 alternative MIP solutions written to "multmip1.sol"
... "multmip5.sol".
Alternative solutions do not include dual variable values.
Best solution is available in "multmip1.sol".
suffix npool OUT;
solve_result = solved
solve_result_num = 0
Alternative MIP solution 1, objective = 235625
solve_result = solved
solve_result_num = 0
Alternative MIP solution 2, objective = 237125
solve_result = solved
solve_result_num = 0
Alternative MIP solution 3, objective = 238225
solve_result = solved
solve_result_num = 0
Alternative MIP solution 4, objective = 239900
solve_result = solved
solve_result_num = 0
Alternative MIP solution 5, objective = 242025
solve_result = solved
solve_result_num = 0
When option solver gurobiasl; is replaced by option solver gurobi; the solutions are the same, and the solve_result and solve_result_num values reported by the solver are the same. But the values taken from the .sol files are incorrectly reported as solved? and 100:
The attached run file uses gurobiasl to find 5 MIP solutions. Then it reads the resulting .sol files one at a time. The
solve_result
andsolve_result_num
values are allsolved
and 0 as expected:When
option solver gurobiasl;
is replaced byoption solver gurobi;
the solutions are the same, and thesolve_result
andsolve_result_num
values reported by the solver are the same. But the values taken from the .sol files are incorrectly reported assolved?
and 100:(Note also that the messages about the solution pool from
gurobiasl
are longer -- but also more informative -- than the messages fromgurobi
.)The text was updated successfully, but these errors were encountered: