Closed Esnilg closed 4 years ago
I think your issue is probably that you're passing use_insample_transition=true
to the case where you have return children, noise_terms
. The code ties to use the in-sample transition matrix, but then you pass a new one and things gets weird.
You can try:
sampling_scheme = SDDP.OutOfSampleMonteCarlo(
model; use_insample_transition = false
) do node
Thank you very much, it was that was wrong, best regards
Hi Oscar
I am trying to run an OutOfSampleMonteCarlo simulation and I have the following error:
I'm doing the same thing that you do in https://odow.github.io/SDDP.jl/latest/guides/simulate_using_a_different_sampling_scheme/
the code:
Using this one it work