Skip to main content

Different results using different stopping criteria



1 comment

  • Silke Horn
    Gurobi Staff Gurobi Staff
    1. With different parameter settings, Gurobi will take different paths through the search tree. Hence it may find different solutions at different points in time. You can see from your logs that this is happening here. (By experimenting with the Seed parameter, you can see even more different paths.)
    2. How are the expressions defined? In your first run, Gurobi finishes with status 9 (time limit reached), in the second one with status 2 (optimal solution found). Some attributes may only be available when an optimal solution has been found.
    3. You can query the incumbent objective value and the best known bound by using the model attributes ObjVal and ObjBound.

Please sign in to leave a comment.