Skip to main content

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

Answered

Comments

2 comments

  • Matthias Miltenberger
    Gurobi Staff 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
    First Question
    First Comment

    Thanks!  I found the error in my problem.

    0

Please sign in to leave a comment.