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
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
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
Post is closed for comments.
Comments
2 comments