Skip to main content

Why the model is infeasible after adding lazy constraint

Awaiting user input

Comments

1 comment

  • Mario Ruthmair
    Gurobi Staff Gurobi Staff

    Hi Dong Han,

    Could you already solve your issue?
    If not, could you show the solver output of your two runs, the one where you add the subtour elimination constraint during a callback and the other one where you add the constraint a priori to the model?
    Please also output the constraints you are adding in the callback.
    Additionally, could you write out the model as LP file before calling optimize() and post it here?
    If it is too large, could you try to find a smaller TSP instance (with fewer nodes) that shows the same issue?

    Best regards,
    Mario

    0

Please sign in to leave a comment.