I got an old version of JuMP by using the command:
add JuMP@0.20.1
It seems to be installed successfully:
v1.3) pkg> add JuMP@0.20.1
Resolving package versions...
Installed Tables ────── v1.0.2
Installed Observables ─ v0.3.0
Installed HTTP ──────── v0.8.9
Installed WebIO ─────── v0.8.11
Installed JuMP ──────── v0.20.1
Updating `~/.julia/environments/v1.3/Project.toml`
[4076af6c] ↓ JuMP v0.21.0 ⇒ v0.20.1
Updating `~/.julia/environments/v1.3/Manifest.toml`
[cd3eb016] ↑ HTTP v0.8.8 ⇒ v0.8.9
[4076af6c] ↓ JuMP v0.21.0 ⇒ v0.20.1
[510215fc] ↑ Observables v0.2.3 ⇒ v0.3.0
[bd369af6] ↑ Tables v1.0.1 ⇒ v1.0.2
[0f1e0344] ↓ WebIO v0.8.13 ⇒ v0.8.11
Building WebIO → `~/.julia/packages/WebIO/2mZPb/deps/build.log`
But I still got the same error.
ERROR: LoadError: MethodError: no method matching JuMP.Containers.SparseAxisArray(::Dict{Any,Any})
It’s necessary to do something else ?
update
To use an old version of a package, the steps described in the post below have worked well for me: