メインコンテンツへスキップ

Add Feasibility Cuts for Bender's Decomposition

ユーザーの入力を待っています。

コメント

4件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    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.
  • Mario Ruthmair
    • Gurobi Staff

    Hi Mina,

    I guess your subproblem is an pure LP, right?
    Did you set parameter InfUnbdInfo=1 to get the UnbdRay attribute?
    Additionally, you might set DualReductions=0 to be sure that the model is unbounded (and not infeasible).
    If the return status is indeed unbounded, then you should be able to access a feasible solution via the X attribute. Could you please show the Gurobi log of your LP subproblem?

    0
  • Mina Valaei
    • Gurobi-versary
    • First Comment
    • First Question

    Hello,

    Yes, my subproblem is pure LP. I think my dual subproblem is infeasible. So I want to add feasibility cuts to the MP, but I do not know how. I tried to use InfUnbdInfo, but I did not know how to write it.

    0
  • Mario Ruthmair
    • Gurobi Staff

    If the LP subproblem is infeasible, then it is of course not possible to retrieve a feasible solution via attribute X.

    You should set the following parameter for your subproblem to get a clearly defined state (unbounded or infeasible):

    submodel.params.InfUnbdInfo = 1
    submodel.params.DualReductions = 0

    If your dual subproblem is indeed infeasible, then either there is an issue with your dual formulation or you are done, see this article for a short description of all cases.

    0

投稿コメントは受け付けていません。