You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use JuMPeR on Julia 1.0.5 with JuMP 0.18.6, but I get this error:
ERROR: LoadError: UndefVarError: JuMPDict not defined
Stacktrace:
[1] top-level scope at C:\Users\Thibaut\.julia\packages\JuMP\I7whV\src\macros.jl:231
[2] top-level scope at C:\Users\Thibaut\.julia\packages\JuMPeR\SzH48\src\robustmacro.jl:196
[3] top-level scope at C:\Users\Thibaut\.julia\packages\JuMP\I7whV\src\macros.jl:285
[4] include at .\boot.jl:317 [inlined]
[5] include_relative(::Module, ::String) at .\loading.jl:1044
[6] include(::Module, ::String) at .\sysimg.jl:29
[7] include(::String) at .\client.jl:392
[8] top-level scope at none:0
in expression starting at C:\Users\Thibaut\Documents\GitHub\orange\Routing\DemandOblivious\lib_jumper.jl:75
My code is the following (just a snippet):
n_edges = …::Int
n_demands = …::Int
d = …::SimpleEdge
demand_to_path_ids = …::Dict{SimpleEdge,Array{Int64,1}}
@uncertain(m, demand_flow[e in 1:n_edges, d in 1:n_demands, p in demand_to_path_ids[d]])
When looping over just e and d, I do not get this error. I have a quick fix: adding this line to robustmacro.jl, near the top.
JuMPDict = JuMP.JuMPDict
The text was updated successfully, but these errors were encountered:
I'm trying to use JuMPeR on Julia 1.0.5 with JuMP 0.18.6, but I get this error:
My code is the following (just a snippet):
When looping over just
e
andd
, I do not get this error. I have a quick fix: adding this line to robustmacro.jl, near the top.The text was updated successfully, but these errors were encountered: