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

JuMP model is feasible where gurobipy model is infeasible

回答済み

コメント

3件のコメント

  • 正式なコメント
    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.
  • Marika Karbstein
    • Gurobi Staff

    Hi Josh,

    Using gurobipy the default lower bounds for the variables are 0, see Model.addMVar().
    If you change the lower bound for the D variables to -Infinity, the model becomes feasible.

    Cheers,
    Marika

    1
  • Josh Kirk
    • Gurobi-versary
    • First Comment
    • First Question

    Marika,

    Thank you. A very silly mistake as I had realised this for gamma.

    Josh

    0

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