Skip to main content

maximization using CLI

Answered

Comments

1 comment

  • Simranjit Kaur
    Gurobi Staff Gurobi Staff

    Hi Matthew,

    ModelSense is an attribute of the model object. The Gurobi Command-Line Tool does not accept attributes as an argument. Please run

    gurobi_cl --help
    

    to see the full list of inputs that can be used with the tool.

    To solve the model as a maximization model, please read the model with the read method, set model.ModelSense to -1 and call the optimize method.

    Best regards,
    Simran

    0

Please sign in to leave a comment.