How can access to the information on the gap?

150 views
Skip to first unread message

angry....@gmail.com

unread,
Apr 2, 2019, 9:44:22 AM4/2/19
to Gurobi Optimization

I am solving a mixed-integer linear programming (MILP) problem on matlab using the solver gurobi. During the iterations, I see information like:

Optimal solution found (tolerance 1.00e-04) Best objective 6.076620143590e+02, best bound 6.076620143590e+02, gap 0.0000%

My question is: how can access to the information on the gap? I would like to store it at every iteration in an array. However, if I just call X = gurobi(model);, where model contains my MILP model, I do not see information on the gap in X.

Reply all
Reply to author
Forward
0 new messages