In the Model.feasRelax() documentation the model.getVars() is used to assign the set of variables whose bounds are allowed to violate when calling feasRelax().
But what if I want to select a subset of those variables, say 3 or 4 and ask feasRelax() to play around with them and get me the solution that minimizes the bound violations of only those variables? Can I do this with Gurobi 9.0? If so how?
Please sign in to leave a comment.