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 am running Julia 1.6.2 and attempting to run StochasticPrograms.jl v0.6.2. I successfully added the StochasticPrograms package, but when I try to run "using StochasticPrograms" I get the following error:
┌ Info: Precompiling StochasticPrograms [8b8459f2-c380-502b-8633-9aed2d6c2b35]
└ @ Base loading.jl:1278
ERROR: LoadError: LoadError: LoadError: LoadError: LoadError: UndefVarError: coefficient not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at .\Base.jl:26
[2] top-level scope at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\expressions\affine.jl:97
[3] include(::Function, ::Module, ::String) at .\Base.jl:380
[4] include at .\Base.jl:368 [inlined]
[5] include(::String) at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:2
[6] top-level scope at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\expressions\expressions.jl:1
[7] include(::Function, ::Module, ::String) at .\Base.jl:380
[8] include at .\Base.jl:368 [inlined]
[9] include(::String) at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:2
[10] top-level scope at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\decisions.jl:313
[11] include(::Function, ::Module, ::String) at .\Base.jl:380
[12] include at .\Base.jl:368 [inlined]
[13] include(::String) at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:2
[14] top-level scope at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\types.jl:8
[15] include(::Function, ::Module, ::String) at .\Base.jl:380
[16] include at .\Base.jl:368 [inlined]
[17] include(::String) at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:2
[18] top-level scope at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:236
[19] include(::Function, ::Module, ::String) at .\Base.jl:380
[20] include(::Module, ::String) at .\Base.jl:368
[21] top-level scope at none:2
[22] eval at .\boot.jl:347 [inlined]
[23] eval(::Expr) at .\client.jl:467
[24] top-level scope at .\none:3
in expression starting at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\expressions\affine.jl:97
in expression starting at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\expressions\expressions.jl:1
in expression starting at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\decisions.jl:313
in expression starting at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\types.jl:8
in expression starting at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:236
I am fairly new to Julia, but haven't encountered this problem with JuMP or Gurobi. I appreciate any insights.
The text was updated successfully, but these errors were encountered:
I am running Julia 1.6.2 and attempting to run StochasticPrograms.jl v0.6.2. I successfully added the StochasticPrograms package, but when I try to run "using StochasticPrograms" I get the following error:
┌ Info: Precompiling StochasticPrograms [8b8459f2-c380-502b-8633-9aed2d6c2b35]
└ @ Base loading.jl:1278
ERROR: LoadError: LoadError: LoadError: LoadError: LoadError: UndefVarError: coefficient not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at .\Base.jl:26
[2] top-level scope at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\expressions\affine.jl:97
[3] include(::Function, ::Module, ::String) at .\Base.jl:380
[4] include at .\Base.jl:368 [inlined]
[5] include(::String) at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:2
[6] top-level scope at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\expressions\expressions.jl:1
[7] include(::Function, ::Module, ::String) at .\Base.jl:380
[8] include at .\Base.jl:368 [inlined]
[9] include(::String) at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:2
[10] top-level scope at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\decisions.jl:313
[11] include(::Function, ::Module, ::String) at .\Base.jl:380
[12] include at .\Base.jl:368 [inlined]
[13] include(::String) at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:2
[14] top-level scope at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\types.jl:8
[15] include(::Function, ::Module, ::String) at .\Base.jl:380
[16] include at .\Base.jl:368 [inlined]
[17] include(::String) at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:2
[18] top-level scope at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:236
[19] include(::Function, ::Module, ::String) at .\Base.jl:380
[20] include(::Module, ::String) at .\Base.jl:368
[21] top-level scope at none:2
[22] eval at .\boot.jl:347 [inlined]
[23] eval(::Expr) at .\client.jl:467
[24] top-level scope at .\none:3
in expression starting at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\expressions\affine.jl:97
in expression starting at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\expressions\expressions.jl:1
in expression starting at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\decisions\decisions.jl:313
in expression starting at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\types\types.jl:8
in expression starting at C:\Users\russn.julia\packages\StochasticPrograms\Jl6sf\src\StochasticPrograms.jl:236
I am fairly new to Julia, but haven't encountered this problem with JuMP or Gurobi. I appreciate any insights.
The text was updated successfully, but these errors were encountered: