Suppose I have three slightly different problems, the second two being variations of the first.
So Problem 1 that has a set of linear constraints and an objective function, say.
Then Problem 2 shares all of Problem 1's constraints/objective, but one of the constraints is slightly adjusted (say the RHS is halved).
And Problem 3 shares all of Problem 1's constraints/objective, but one of the constraints (not the one in Problem 2) is changed.
Essentially, Problems 2 and 3 'inherit' everything from Problem 1 and change it slightly.
How should this be modelled in a compact way? I understand that if I use separate mpproblems that constraints can't be shared, so I'm not sure if that is the correct approach. I could just change the constraints directly but once I've changed the constraint for Problem 2, how do I get back the original Problem 1 to use in building Problem 3?