I am using JuMP v"0.18.5+". But in this version,
const MOI = JuMP.MathOptInterface
UndefVarError: MathOptInterface not defined Stacktrace:  getproperty(::Module, ::Symbol) at ./sysimg.jl:13  top-level scope at In:1
I have gone through the git repo of JuMP and got to know that it is available in v0.19.0.
So I have tried to update the package by,
julia> Pkg.update("JuMP") Updating registry at `~/.julia/registries/General` Updating git-repo `https://github.com/JuliaRegistries/General.git` Updating git-repo `https://github.com/JuliaOpt/JuMP.jl.git` Resolving package versions... Updating `~/.julia/environments/v1.0/Project.toml` [no changes] Updating `~/.julia/environments/v1.0/Manifest.toml`
but still it is not getting updated.
"JuMP" => v"0.18.5+"
Thanks in advance!