gtopt::ScenePhaseLPStats struct

Label + stats for a single scene/phase LP.

Public functions

auto coeff_ratio() const -> double noexcept
auto quality_label() const -> const char* noexcept

Public variables

Index num_constraints
Index num_vars
int phase_uid
std::vector<RowTypeStats> row_type_stats
Per-row-type breakdown (empty when row names not available).
int scene_uid
double stats_max_abs
std::optional<ColIndex> stats_max_col
std::string stats_max_col_name
Name of column with largest |coeff|.
double stats_min_abs
std::optional<ColIndex> stats_min_col
std::string stats_min_col_name
Name of column with smallest |coeff|.
size_t stats_nnz
size_t stats_zeroed
Non-zero entries filtered to zero by eps.

Variable documentation

std::optional<ColIndex> gtopt::ScenePhaseLPStats::stats_max_col

Column index with largest / smallest |coefficient|. Engaged only when compute_stats populated the sweep.