Given scenario Scenario with probability 0.2
q₁: 25.786120623257716
q₂: 33.627968929085654
d₁: 397.440154821561
d₂: 196.0127389756704 does not match @uncertain declaration.
in top-level scope at EjemploEstocastico2.jl:24
in at StochasticPrograms\yFtc7\src\methods\api.jl:143
in #instantiate#487 at StochasticPrograms\yFtc7\src\methods\api.jl:158
in generate! at StochasticPrograms\yFtc7\src\methods\generation.jl:96
in generate! at StochasticPrograms\yFtc7\src\methods\deterministic_equivalent\generation.jl:11
in generate! at StochasticPrograms\yFtc7\src\methods\deterministic_equivalent\generation.jl:44
in at base\none
in #11 at EjemploEstocastico.jl:18
in error at base\error.jl:33
Hi everyone
I am doing an exercise of Problem in Infinite sample space of
In this code:
For now, we create a small sampled model of just 5 scenarios:
sampled_sp = instantiate(simple_model, sampler, 5, optimizer = GLPK.Optimizer)
I have a problem in the last line. The error is:
Can you help me, please?
Thanks in advance, Adolfo