When adding optimization variables with non-linear normalization transforms, linear constraints become nonlinear since the optimizer only "sees" the transformed variables.
Currently, this raises an error for most optimizers (i.e. those that explicitly use the form A * x <= b).
Some optimizers such as pymoo can still handle this since the just explicitly call evaluate_linear_constraints(x_transformed, untransform=True).
To solve this more generally, we could consider transforming the linear constraint to a nonlinear constraint.
We have a similar situation for variables with variable dependencies that might be part of linear constraints. This also currently raises an error. (Maybe a separate issue?)
When adding optimization variables with non-linear normalization transforms, linear constraints become nonlinear since the optimizer only "sees" the transformed variables.
E.g.
Currently, this raises an error for most optimizers (i.e. those that explicitly use the form A * x <= b). Some optimizers such as pymoo can still handle this since the just explicitly call evaluate_linear_constraints(x_transformed, untransform=True).
To solve this more generally, we could consider transforming the linear constraint to a nonlinear constraint.