Skip to main content

How to fix variables of the presolved model

Awaiting user input

Comments

4 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.
  • Silke Horn
    • Gurobi Staff

    We do not recommend modifying the presolved model (since, as you noticed yourself, you cannot access the mapping back to the original model).

    Why can't you fix the variables in the original model?

    -1
  • liu heng
    • Gurobi-versary
    • Conversationalist
    • Investigator

    Because I need to try many kinds of fixations and solve the sub-MIP, but i wish to presolve the original model m only once (to save time). In fact i don't need the mapping itself, i just need the solution of m, is there any method to achieve this?

    0
  • Silke Horn
    • Gurobi Staff

    This is not possible. You should fix the variables in the original model.

    How long does presolve take in your models?

    0

Post is closed for comments.