Skip to main content

maximization using CLI

Answered

Comments

2 comments

  • Official comment
    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

    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

Post is closed for comments.