I’m trying to run the JuMP example code from the NLopt.jl page. I found someone who had a similar issue which was fixed through a restart. Unfortunately, it didn’t work in my case. Julia, JuMP, and NLopt are up to date and I’m using VS Code.
ERROR: LoadError: UndefVarError: Optimizer not defined
 getproperty(::Module, ::Symbol) at .\Base.jl:26
as far as i understand, NLopt hasn’t updated his JuMP.jl support. EDIT: it seems that there is some JuMP.jl support (NLopt.jl 0.6.1), but the readme probably isnt updated, can you try updating NLopt.jl?
(@v1.5) pkg> add ASL_jll
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ASL_jll [ae81ac8f]:
ASL_jll [ae81ac8f] log:
├─ASL_jll [ae81ac8f] has no known versions!
└─restricted to versions * by an explicit requirement — no versions left