Skip to main content

MIP with infinite number of feasible solutions

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • Gurobi Staff

    Did I misunderstand the meaning of Start and VarHintVal? What is the best way to achieve this? 

    As you mentioned yourself, Start and VarHintVal only guide the solver to the solution. They do not guarantee that the final solution is anywhere near the values provided by Start and VarHintVal.

    You could introduce a penalty term to your objective for \(x\) being far away from \(s\) and \(y\) being far away from \(0\). Or alternatively, if you know that your assumption definitely holds for the optimal solution point, you could introduce bounds  \(s - \delta \leq  x \leq s + \delta \) and \(- \delta \leq y \leq \delta\) with \(\delta > 0\).

    Best regards, 
    Jaromił

    0

Post is closed for comments.