ForwardPassOutcome struct
#include <gtopt/sddp_types.hpp>
Outcome of running the forward pass across all scenes.
Public variables
- bool cancelled
- double elapsed_s
- bool has_feasibility_issue
- std::size_t n_fcuts_installed
- std::vector<uint8_t> scene_feasible
- std::vector<double> scene_upper_bounds
- int scenes_solved
Variable documentation
bool gtopt:: ForwardPassOutcome:: cancelled
A cooperative stop (request_stop, sentinel or API stop file) cancelled at least one scene mid-pass. Cancelled scenes are NOT infeasible: their retry state is untouched and their cuts are not rolled back. The caller must discard this (partial) iteration — no backward pass — and proceed to the normal post-training tail (simulation pass / output).
std::size_t gtopt:: ForwardPassOutcome:: n_fcuts_installed
Total feasibility cuts (including multi-cut bound rows) installed across all scenes in this pass. When zero and has_feasibility_issue is true, retrying will produce the same result — the caller's retry loop should break.