Skip to main content

How to store multiple solutions with the same objVal in my SolPool?

Answered

Comments

5 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

    Do the solutions you found, only differ in the value of continuous variables or also in binary/integer variables? See this article for some limitations, e.g. how we consider whether two solutions are equal or not. Let me know if that helps!

    1
  • zichun ji
    • Gurobi-versary
    • First Question
    • First Comment

    THANKS. The variables are all continuous type, and comes out to be 0 or 1 in the solution. I can't find the article, is there any link?

    0
  • Ronald van der Velden
    • Gurobi Staff

    Apologies, something went wrong there - I just added the link above.

    1
  • zichun ji
    • Gurobi-versary
    • First Question
    • First Comment

    MANY THANKS! Turning the type to binary works.

    0

Post is closed for comments.