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

Root relaxation: unbounded when I use cvx with gurobi

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

コメント

1件のコメント

  • Jaromił Najman
    • Gurobi Staff Gurobi Staff

    Posting the whole code does not help in analyzing the issue. It is always best to provide a minimal working example and use one of Gurobi's native APIs instead of 3rd party software such as CVXPY.

    I cannot see where you set finite bounds for all your variables. Could you try setting finite lower and upper bounds for all variables? Setting upper bounds of, e.g., 1e4 should be enough. Gurobi sets a default lower bound of 0 so you don't have to set those.

    Best regards, 
    Jaromił

    0

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