Hi, I am trying to use all_variables but I get the following error message:
UndefVarError: all_variables not defined
 getproperty(::Module, ::Symbol) at ./sysimg.jl:13
 top-level scope at In:1
The JuMP version I am using is JuMP v0.19.0+ #7c115a2 (https://github.com/JuliaOpt/JuMP.jl.git)
It looks like you might be on an (old) beta-release of JuMP. Run
] rm JuMP
] add JuMP
Once you’ve done that, the following should work.
model = Model()
In future, please read Please read: make it easier to help you.
Thank you, Oscar, it worked, and also thank you for the link to improve questions