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

AMPL Error Gurobi :Set NonConvex=2 to solve model

回答済み

コメント

1件のコメント

  • Robert Fourer
    • Gurobi-versary
    • Collaborator

    Set Gurobi's nonconvex option in your .run file.

    • If you are already setting a gurobi_options string, then add nonconvex=2 to it.
    • If you are not yet setting a gurobi_options string, then add this command before the "solve" command:
    option gurobi_options 'nonconvex=2';

     

    1

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