gtopt::RelaxedVarInfo struct

Result of relaxing one state-variable column via the elastic filter. Contains the relaxation status and the indices of the penalised slack columns added to the LP.

Constructors, destructors, conversion operators

operator bool() const noexcept
Implicit bool conversion: true iff the column was relaxed.

Public variables

RowIndex fixing_row
bool relaxed
ColIndex sdn_col
Undershoot slack col (sdn > 0 → solution > trial).
ColIndex sup_col
Overshoot slack col (sup > 0 → solution < trial).

Variable documentation

RowIndex gtopt::RelaxedVarInfo::fixing_row

Row index of the elastic fixing equation dep_col + sup_col − sdn_col = trial_value added to the clone by relax_fixed_state_variable. The dual of this row at the clone's Phase-1 optimum is the Farkas ray component that becomes the feasibility-cut coefficient on source_col — matches plp-agrespd.fAgrElastici which reads lp->getRowPrice()[row].

bool gtopt::RelaxedVarInfo::relaxed

True if the column was relaxed (was fixed)