Skip to main content

Continuous variable behaviour on MIP

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?.
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Steffan,

    Heuristics provide feasible solution for MIPs. This means that the pair of integers and the single continuous variable your mentioned, determine one feasible point for your problem. It is not guaranteed to be the global optimum for your problem unless the lower bound converged with a MIPGap of 0.

    It is very well possible that one heuristic finds a solution with integer vector \(I\) and continuous variable \(c_1\) while a different heuristic finds a feasible point a bit later with better objective value given as the same integer vector \(I\) and a different continuous variable \(c_2 \neq c_1\). This may happen often as some heuristics use available feasible points to generate new ones.

    Best regards,
    Jaromił

    1
  • Steffan Widemann
    Gurobi-versary
    First Comment
    First Question

    Thanks Jaromił!

    0

Post is closed for comments.