Downsite

Results 12 comments of Downsite

> This happens for any quadratic terms, because they get represented as `QuadExpr` subexpressions instead of `NonlinearExpr`: > > ```julia > julia> model = Model(); > > julia> @variable(model, x)...

@odow Is it expected that @force_nonlinear does not work when the quadratic expression comes from a user-defined function? `@force_nonlinear(p.funcs.g(x, w[j, :])): expression did not produce a GenericNonlinearExpr. Got a QuadExpr:...