I am currently building the MILP model and would like to know how to make relaxations (RHS of constraints) if the model becomes infeasible.
For example, let's say the model has two different constraints : Con1 and Con2.
If the model turns out infeasible then I want Gurobi to change the RHS of Con1 for feasibility.
However RHS of Con2 can't be relaxed (i.e. the relaxation can't be applied to Con2).
Would you please let me know how to setup relaxation condition?
Thank you for your help in advance.
Please sign in to leave a comment.