Skip to main content

Optimization Issues and Infinite Loop When Adding Constraints

Awaiting user input

Comments

1 comment

  • Riley Clement
    • Gurobi Staff

    Hi Natalia,

    It's hard to see what is going on, but can I suggest you save the solution vector (m.X) in each iteration.  I would verify the solution is different at each iteration and check that the constraint being added in each iteration cuts off the solution.  It seems impossible that this could truly be an infinite loop if solutions are being cut off each at iteration.

    - Riley

     

    0

Please sign in to leave a comment.