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

Solution for a MIP problem with QP non-convex constraints is not right.

回答済み

コメント

2件のコメント

  • Matthias Miltenberger
    • Gurobi Staff

    Your question is unclear. The optimal solution to the small LP file is (values of a_MN):

    [[-0.  1.  1.]
     [ 1.  0.  0.]]

    You want to maximize \(\texttt{min_avg_res}\), so it will be set to 6, satisfying all constraints. \(\texttt{sum_a_N2}\) forces \(\texttt{a_MN[0,2]}\) to 0 because constraint \(\texttt{res1}\) forces \(\texttt{a_MN[1,2]}\) to 0.

    0
  • y xm
    • Gurobi-versary
    • First Question
    • First Comment

    Thanks!  I found the error in my problem.

    0

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