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

How to maximize a quadratic Objective Function?

回答済み

コメント

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.
  • Simranjit Kaur
    • Gurobi Staff

    This error means that your quadratic objective function is not convex. To solve a model with a non-convex quadratic objective or constraints, please set the NonConvex parameter to 2. For more details, please refer to the article: ERROR 10020: Objective Q not PSD

    0
  • Álvaro Altamirano
    • Gurobi-versary
    • First Comment
    • First Question

    This actually solves my question. And, indeed, I tried to solve the problem with the specified parameter set to 2, and it worked. I'll work on my objective function being non convex.

    Thank you very much! 

    0

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