Skip to main content

Can we improve solution time when integer variables are determined by continuous variables?

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?.
  • Yuriy Zinchenko
    Gurobi Staff Gurobi Staff

    Hello Daniel,

    I do not think that in general one can exploit this information --the uniqueness of continuous portion of the solution as a function of discrete variables' values-- to speed up the solution process.  If possible, I would rather experiment with several alternative model formulations instead, to see if one formulation could be computationally superior to another.

    Regards,

     

    0
  • Yuriy Zinchenko
    Gurobi Staff Gurobi Staff

    One more quick addition to the above, Daniel.

    It may also be the case that placing more emphasis on branching during the solve could be beneficial here. So, you may consider adding branchPriorities for some (important) binary variables, https://www.gurobi.com/documentation/9.0/refman/branchpriority.html

    and reducing the importance off cuts, https://www.gurobi.com/documentation/9.0/refman/cuts.html

    but without experimenting it is really impossible to predict the outcome.

     

    Regards.

    1

Post is closed for comments.