You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@objective escapes its entire result, which assumes that setobjective! and @expression are defined in the caller's scope:
julia>module Foo
using SimpleQP:@objective, Model, Minimize
using OSQP.MathOptInterfaceOSQP: OSQPOptimizer
m =Model(OSQPOptimizer())
@objective(m, Minimize, 0)
end
WARNING: replacing module Foo
ERROR: UndefVarError:@expression not defined
The text was updated successfully, but these errors were encountered:
@objective
escapes its entire result, which assumes thatsetobjective!
and@expression
are defined in the caller's scope:The text was updated successfully, but these errors were encountered: