Hi all, as far as I can see, raw Expr
input is only supported for nonlinear expressions (Nonlinear Modeling · JuMP), is there some reason why it is not allowed for affine expressions?
is there some reason why it is not allowed for affine expressions?
Because you can construct affine expressions via overloading (2 * x + 1
), there’s no need for manually constructing an Expr
.
What are you trying to achieve?