benders algorithm, the sub-problem is not feasible, use constr.farkas to solve the value of each constraint of the sub-problem at the corresponding position of the polar ray vector
I have many constraints, so I use a dictionary to store each variable. How do I access the dictionary to access the farkasdual value of the corresponding constraint, and multiply it by the corresponding constant term in the corresponding constraint + the corresponding main problem variable, which is the variable vars_3d corresponding to this dictionary? , to obtain the cutting plane of the main problem. Why can't it be found? Is it because the attribute farkasdual is used for each constraint separately? Does the obtained value correspond to the polar ray vector?


0
-
正式なコメント
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.
投稿コメントは受け付けていません。
コメント
1件のコメント