Accessing the reduced costs of the variables in each branch and bound tree
回答済みI am using gurobipy 10 and I was wondering if there exists any commands that help me with the following problem:
At each node of branch and bound tree, I need to access the reduced cost of the variables in the optimal tablue. How should I define my callback function?
-
正式なコメント
This post is more than two 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. -
It is currently not possible to access reduced costs of the node relaxation LP from a callback. Indeed, it is currently not possible to access the reduced costs of the node relaxation at all.
0 -
Jaromił Najman
Could you please elaborate on the "impossibility to access reduced cost". The simplex method must update these reduced cost attributes anyway.0 -
Could you please elaborate on the "impossibility to access reduced cost". The simplex method must update these reduced cost attributes anyway.
It is correct that the Simplex method updates the reduced costs in every iteration. However, it does not mean that this information is available during every iteration. You can only access reduced costs after you have solved an LP.
During a MIP solve, it is not possible to access the node relaxation LP and thus, it is not possible to access the reduced costs of the node relaxation LP.
0
投稿コメントは受け付けていません。
コメント
4件のコメント