Hi @HosseinF
Take a read of: Please read: make it easier to help you.
Are you using StochasticPrograms.jl?
You can access the value of decision variables in the second stage using value(variable, scenario)
, for example, value(y, 2)
will access the value of variable y
in scenario 2
.
Here’s the documentation: Decision API · StochasticPrograms.jl