Skip to main content

Decreasing number of variables vs assigning variables upperboun to zero?

Answered

Comments

3 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.
  • Ronald van der Velden
    • Gurobi Staff

    Yes it will - Gurobi presolve algorithms will remove them from the model for you. The only downside is that you first spend the time and memory to add them. If there is not too many of those variables, don't worry about that and let presolve do the work.

    Kind regards,
    Ronald

    1
  • Boylan Pardosi
    • Gurobi-versary
    • First Comment
    • First Question

    Thank You Ronald!

    0

Post is closed for comments.