Skip to main content

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

Answered

Comments

2 comments

  • 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

Please sign in to leave a comment.