• Gurobi Staff

In your example, you can remove the RHS change of constraint 1 in scenario 1 by setting the constraint's ScenNRHS attribute to $$\texttt{GRB_UNDEFINED}$$ or $$\texttt{GRB.UNDEFINED}$$ (depending on your API). This way, scenario 1 would only include the change to the RHS of constraint 2. Does this work for you?

Thank you very Much! It solved my issue!

Regards,

Kianoush