Resolving after changing objective does not use previous solution
AnsweredHi,
I have a model which I solve to optimality. After, I change the objective, and call "optimize()" again. Gurobi says the previously found solution did not produce an incumbent. I cannot see why, since I did not add any constraint. I do have some lazy constraints, but they are deterministic, so I would still be confused if that makes a difference. Thanks!
0
-
Can you share the Gurobi log file of the whole run?
Are you only changing the Obj attribute of some variables? Or do you use some other calls?0 -
Hi Marika,
Looking at the log myself made me realize that one of the lazy constraints was not so deterministic after all :)
All good with gurobi, thanks!
0
Please sign in to leave a comment.
Comments
2 comments