cobre-sddp 0.8.2

Stochastic Dual Dynamic Programming (SDDP) for hydrothermal dispatch and energy planning
Documentation
//! [`MethodologyConfig`] — stochastic numerical methodology parameters.

use crate::{horizon_mode::HorizonMode, inflow_method::InflowNonNegativityMethod};

/// Stochastic numerical methodology parameters stored on [`super::StudySetup`].
///
/// Groups the two fields that govern how the solver treats the study horizon
/// and inflow non-negativity enforcement. These are distinct from cut-pool
/// machinery ([`crate::config::CutManagementConfig`]) and output events
/// ([`crate::config::EventParams`]).
///
/// # Construction
///
/// Explicit construction only — no `Default` impl, to prevent silent
/// misconfiguration.
#[derive(Debug)]
pub(crate) struct MethodologyConfig {
    /// Study horizon mode (finite vs. infinite-horizon approximation).
    pub(crate) horizon: HorizonMode,
    /// Inflow non-negativity enforcement method.
    pub(crate) inflow_method: InflowNonNegativityMethod,
}