I am seeing some strange results when I interrupt a GAMS/Gurobi run with Ctrl-c (in the IDE using the Interrupt button). The GAMS link should give in that case the best integer solution found so far, basically identical to an iteration or time limit. However the solution seems wrong: many of the binary variables x(i,j) in a large model are off (they are reported as zero instead of one). I suspect this is a problem in the GAMS link (i.e. not in Gurobi itself). From what I can see the link it passing back levels of integer variables incorrectly in these circumstances (I have seen this before: integer variables should have basis status SUPERBASIC to prevent only a basis status being sent back).
Btw, for this (huge) model the Gurobi heuristics do a fantastic job finding good solutions:
Nodes | Current Node | Objective Bounds | Work 0 0 179791.544 0 6744 1511067.07 179791.544 88.1% - 91s |
Just need to remember not to use the Interrupt button.
PS. Another minor issue with the link:
MIP Solution: 7259.007800 (-2147483648 iterations, 0 nodes) |
it has troubles with the iteration count (which actually is 120570, a number that should not overflow).
No comments:
Post a Comment