Argonne-National-Laboratory / DSP

An open-source parallel optimization solver for structured mixed-integer programming
Other
81 stars 24 forks source link

Bug in loading large number #277

Open hideakiv opened 1 year ago

hideakiv commented 1 year ago

Example: https://github.com/Argonne-National-Laboratory/DSP/blob/master/examples/cpp/farmer.cpp#L69

When the upper bound is set to 1e+20, the finite lower bound (e.g. 200, 240) is ignored.

Solver: Gurobi 9.1.2

hideakiv commented 1 year ago

When the bound is set to 1e+20, Gurobi would output optimal status with a solution in the magnitude of 1e+20. This can be resolved by setting it to 1e+21.