gtopt::PlanningLP::SddpSummary struct

Summary of the last SDDP solve (populated by the SDDP solver).

Carries the final-iteration gap metrics so that write_out() can emit them as extra columns in solution.csv. For monolithic solves this struct is left at its default (all-zero / false) values.

Public variables

int aperture_dropped_last_iteration
std::int64_t aperture_failed
std::int64_t aperture_infeasible
std::int64_t aperture_solves
bool converged
True if any convergence criterion was met.
double gap
Final primary gap (UB−LB)/max(1,|UB|).
double gap_change
Final stationary gap-change metric.
std::ptrdiff_t iterations
Number of training iterations completed.
double lower_bound
Final lower bound.
double max_kappa
Global max condition number (-1 = unknown).
bool stationary_converged
True if stationary criterion triggered convergence.
bool statistical_converged
double upper_bound
Final upper bound.

Variable documentation

std::int64_t gtopt::PlanningLP::SddpSummary::aperture_solves

Backward-pass aperture LPs solved / dropped as infeasible / dropped for another non-optimal status, and the distinct (scene, phase, aperture) triples still dropped in the last iteration (all 0 without apertures).

bool gtopt::PlanningLP::SddpSummary::statistical_converged

True if CI-based statistical criterion triggered convergence