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

JuMP model is feasible where gurobipy model is infeasible

回答済み

コメント

2件のコメント

  • 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

サインインしてコメントを残してください。