gtopt::sddp_file namespace

File naming patterns for per-scene cut files.

Variables

constexpr auto combined_cuts
Combined cut file name.
constexpr auto debug_lp_fmt
Debug LP file pattern: format with iteration, scene UID, phase UID.
constexpr auto error_lp_fmt
Error LP file pattern for infeasible scene/phase (scene UID, phase UID)
constexpr auto error_scene_cuts_fmt
Error-prefixed cut file pattern for infeasible scenes (scene UID)
constexpr auto scene_cuts_fmt
Per-scene cut file pattern: format with scene UID.
constexpr auto state_cols
State variable column solution (latest)
constexpr auto stop_request
constexpr auto stop_sentinel
constexpr auto versioned_cuts_fmt
Versioned cut file pattern: format with iteration number.
constexpr auto versioned_state_fmt
Versioned state column solution: format with iteration number.

Variable documentation

constexpr auto gtopt::sddp_file::stop_request

Monitoring API stop-request file name: if this file exists, the solver stops gracefully after the current iteration (same behaviour as the sentinel file). Written by the webservice soft-stop endpoint as part of the bidirectional monitoring API. Complements rather than replaces the sentinel mechanism so that external scripts using the raw sentinel still work. The solver checks: sentinel_file exists || stop_request file exists.

constexpr auto gtopt::sddp_file::stop_sentinel

Sentinel file name: if this file exists in the output directory, the SDDP solver stops gracefully after the current iteration and saves cuts. Created externally (e.g. by the webservice stop endpoint).