Closed 4er4er4er closed 1 year ago
Fixed in b25593ebbdab521c0f06ed7b783d7673a2185651
Added partial MIP start in Gurobi. TODO also in other solvers.
@glebbelov, should we amend backend-mip.h
to avoid calling AddPrimalDualStart
for MIP problems? Gurobi silently ignores the values (https://www.gurobi.com/documentation/10.0/refman/pstart.html#attr:PStart) , but other solvers might have a problem with them.
@mapgccv this sounds reasonable
Partial MIP start in Gurobi released in 20230426
Even though no values have been assigned to the variables, Gurobi 10 reports that it received a MIP start:
Only values that appear in the nl file's x section should be sent as starting values to Gurobi. If there is no x section, then no starting values should be sent. A few tests suggest that the ASL interface to Gurobi 10 works this way, but that the MP interface sends a starting value of 0 to Gurobi for each variable that does not appear in the x section.
Sending only the starting values that the user actually set (and that were included in the nl file) is necessary for the proper operation of Gurobi's partial MIP start feature. Also, in the case where no starting values are set by the user, Gurobi needs to know that, so it can skip MIP start processing, and so that the user is not confused by "MIP start" messages.