I have been working in a huge optimization problem and I have tried to execute my script on VSCode to see if I could improve the simulation time.
I have installed VSCode (OS Debian) and I simply have executed the same script that works well in ATOM (OS Windows) and I got the following error :
ERROR: LoadError: MethodError: no method matching JuMP.Containers.SparseAxisArray(::Dict{Any,Any})
The ligne that provokes this error is something like that:
@variable(model, var_ximp[r in regions,c in commodities[r], y in years]>=0)
the dictionary commodities can be empty in some cases and I imagine the problem might be related with that.
Anyone knows why this problem is present on VSCode ? Or this problem is related to LINUX system? How we can deal with it ?