Explore if a clever use of JuMP expressions can be used to build objective functions where the number of terms is not consistent across multiple networks.
For example when combining two networks, one with a linear and objective and the other with a quadratic objective.
We have stored the cost function as an anonymous function in PowerSystems and then just applied it to the JuMPVariable. This automatically generates the appropriate AffineExp, QuadExp or NLExp.
Explore if a clever use of JuMP expressions can be used to build objective functions where the number of terms is not consistent across multiple networks.
For example when combining two networks, one with a linear and objective and the other with a quadratic objective.