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
Indeed, thanks for letting us know, this should be fixed now. About the error UndefVarError: optimize! not defined. Which JuMP version are you using ? You should use at least v0.19 for this to work.
I am using JuMP v0.21.8. Additionally I get the warning WARNING: both NLopt and JuMP export "optimize!"; uses of it in module Main must be qualified on calling optimize!.
In the tutorial,
Shouldn't it be
model
instead ofm
in@variable(m,x1)
and other places wherem
appears? Otherwise it gives an error thatm
is not defined.If I proceed with
model
instead ofm
, then atoptimize!(model)
I getUndefVarError: optimize! not defined
.I am on Ubuntu 20.04 with Julia version 1.4.1. I am using the Juno IDE. The other tutorial with NLopt without calling JuMP worked as expected.
The text was updated successfully, but these errors were encountered: