ApertureSummary struct
#include <gtopt/sddp_aperture_drops.hpp>
End-of-solve aperture statistics (ApertureDropTracker::summary()).
Public functions
- void accumulate(const ApertureSummary& other)
- auto dropped() const -> std::int64_t noexcept
- auto dropped_fraction() const -> double noexcept
- Dropped share of the aperture solves (0 when nothing was solved).
Public variables
- int distinct_dropped
- Distinct (scene, phase, aperture) triples ever dropped.
- int dropped_in_last_iteration
- Distinct triples dropped in the LAST recorded iteration.
- std::int64_t failed
- dropped for another non-optimal status
- std::optional<ApertureIterationCounts> first
- std::int64_t infeasible
- dropped as proven infeasible
- int iterations
- std::optional<ApertureIterationCounts> last
- int persistent
- std::int64_t solves
- aperture LPs solved over the whole solve
- std::vector<ApertureDropCount> top_apertures
- std::vector<ApertureDropCount> top_phases
- Phases / apertures with the most drops (descending, <= top_n each).
Function documentation
void gtopt:: ApertureSummary:: accumulate(const ApertureSummary& other)
Add another solve's counts (cascade total). The additive counters are summed; last and dropped_in_last_iteration take other's end state; first and the top lists are kept from the first non-empty solve.
Variable documentation
int gtopt:: ApertureSummary:: iterations
iterations with at least one aperture solve
int gtopt:: ApertureSummary:: persistent
Triples escalated as persistent (dropped warn_after consecutive iterations at least once).