Skip to main content

Can LinExpr or another equivalent be used for calculation of outputs.

Answered

Comments

3 comments

  • Official comment
    Simranjit Kaur
    Gurobi Staff Gurobi Staff
    This post is more than three 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 why not try our AI Gurobot?.
  • Silke Horn
    Gurobi Staff Gurobi Staff

    Yes, you can create arbitrary LinExpr objects from your model's variables and -- once the model is solved -- access the expression's value with the getValue-method.

    1
  • John Barbour
    Gurobi-versary
    First Comment
    First Question

    Thanks

    0

Post is closed for comments.