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

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

回答済み

コメント

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.
  • 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

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