gtopt::StoredCut struct

A serialisable representation of a Benders cut.

Public variables

std::vector<std::pair<ColIndex, double>> coefficients
Coefficient pairs: (column_index, coefficient)
std::optional<double> dual
Row dual value (nullopt = unknown)
std::string name
Cut name.
PhaseUid phase
Phase UID this cut was added to.
double rhs
Right-hand side (lower bound)
RowIndex row
SceneUid scene
Scene UID that generated this cut (-1 = shared)
CutType type

Variable documentation

RowIndex gtopt::StoredCut::row

LP row index where this cut was added