gtopt::CascadeLevel struct

One cascade level configuration.

LP is automatically rebuilt when model_options is present. When absent, the previous level's LP and solver are reused.

Public variables

std::optional<ModelOptions> model_options
Model overrides for this level (absent → reuse previous LP).
OptName name
Human-readable level name (for logging).
std::optional<CascadeLevelMethod> sddp_options
SDDP solver options for this level.
std::optional<CascadeTransition> transition
Transition from the previous level.
OptUid uid
Unique identifier for this level.