I have a Mixed Integer Programming problem. I can use JuMP to find the optimal solution. But how can I find the second best solution? Or the third-best etc.
This potentially might be another equally optimal solution,
or it might be a worse solution,
or it might be :Infeasible
-- there might be no most solutions.
I know for a TSP-like problem, I can find additional solutions by progressively removing links that are on the optimal path (I.e setting the distances between some of the cities to be infinite). For a schedualling type problem, I can similarly progressive set the availabilities of the timeslots used in the optimal path to be forbidden.
But is there a general way of doing this, without coding up myself problem specific methods for disallowing this solution?