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

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

Variable documentation

bool gtopt::RelaxedVarInfo::relaxed

True if the column was relaxed (was fixed)