Add Feasibility Cuts for Bender's Decomposition by var.UnbdRay
回答済みHello, I'm trying to established a benders decomposition algorithm for my MISOCP, and for now, my sub problem is already a SOCP without any integer variables, but it's unbounded durning the iteration.
I found that gurobi can provide a extreme ray for the feasible cut, but var.UnbdRay does not work in my code , with the error: "AttributeError: Unable to retrieve attribute 'UnbdRay'"
I'm already set the parameter
"Dual_model.params.InfUnbdInfo = 1"
"Dual_model.params.DualReductions =0"
How can I fix it, thanks.
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. -
Uunbounded ray information is only supported for continuous linear models with no integer variables.
0 -
I’m already found the problem, because the socp constraints can’t return a valid extreme ray, thanks for your help, have a good day.
0
投稿コメントは受け付けていません。
コメント
3件のコメント