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

Quadratic Programming with Non-Convex Objective Function

回答済み

コメント

1件のコメント

  • Maliheh Aramon
    • Gurobi Staff

    Hi Peizan, 

    Since version 9, the Gurobi Optimizer supports solving models with noncovex quadratic objective function (see “What types of models can Gurobi solve?”). You need to build your model using one of Gurobi APIs and then call model.optimize() to solve the model (see Gurobi Examples for examples of using different APIs to cast your model formulation into a form Gurobi Optimizer understands). In case of using Gurobi versions < 11, you would need to explicitly set the NonConvex parameter to 2 in case of solving a nonconvex problem. However, from version 11, the default value of this parameter is set to 2 and there is no need for explicitly setting it. 

    Best regards,

    Maliheh

    0

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