I am implementing data-driven robust optimization methodology introduced in this article in python. Somewhere of the method, I need to use pyomo for each constraint whose parameters are uncertain to form the robust counterpart. For simplicity, suppose we have only one constraint with uncertain parameters. The method stated in the article explains how to incorporate the uncertain set to find the constraint's robust counterpart. I wanted to form the robust counterpart constraints related to this constraint separately from the other constraints (that are not uncertain) due to some technical hardnesses.
Now, I have two groups of constraints, one derived from robust counterpart for uncertain constraints, and the other group is the constraints that are not uncertain, coming from the original model.
My question is that can I merge these two groups of constraints together to form the robust counterpart model as a whole?
Generally speaking, if we have two models written in pyomo, can we merge their constraints together to form a new problem? I mean can we take the constraints from one model and plug them into the other model?
And what is the syntax?