Runtime in a callback ?
AnsweredIs it possible to call/access the Runtime object during a solve in a callback ?
https://www.gurobi.com/documentation/9.5/refman/runtime.html
0
-
Yes it is, see the Callback Codes documentation. You can access the current elapsed run time using model.cbGet(GRB.RUNTIME) in any callback except the polling callback.
0
Please sign in to leave a comment.
Comments
1 comment