Skip to main content

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

Answered

Comments

4 comments

  • 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

Please sign in to leave a comment.