# How does SDDP provide decision for an out-of-sample state?

**URL:** <https://discourse.julialang.org/t/how-does-sddp-provide-decision-for-an-out-of-sample-state/128433>\
**Category:** Optimization (Mathematical)\
**Tags:** question, sddp\
**Created:** [April 26, 2025, 1:33pm UTC](https://discourse.julialang.org/t/how-does-sddp-provide-decision-for-an-out-of-sample-state/128433 "2025-04-26T13:33:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![petr-a](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petr-a/32/216530_2.png) [@petr-a](https://discourse.julialang.org/u/petr-a)\
**Post date:** [April 28, 2025, 8:47am UTC](https://discourse.julialang.org/t/how-does-sddp-provide-decision-for-an-out-of-sample-state/128433/3 "2025-04-28T08:47:04Z")

</div>

Hi @odow ! Thank you for your response!

Yes, my task is similar to the milk producer example.  
Thank you for the detailed explanation!  
I’ll look onto the Objective states, I think nearest neighbor is fine to me, I will stick to it for now.

---

_[View the full topic](https://discourse.julialang.org/t/how-does-sddp-provide-decision-for-an-out-of-sample-state/128433)._
