gtopt::LinearInterface::FixIntegersOutcome struct

Outcome of fix_integers_and_resolve.

fixed_columns is the number of integer columns that were pinned to their (rounded) MIP-optimal value and relaxed to continuous. When it is 0, the LP carried no integer columns and no re-solve was performed — the caller's existing (LP) duals are already valid. status carries the solver status of the follow-up LP solve when fixed_columns > 0 (0 = optimal); it is std::nullopt when no re-solve ran.

bailed distinguishes the DEGRADED outcome from the benign fixed_columns == 0 pure-LP case: the backend attempted the fixed-LP dual-recovery pass and had to abandon it (no incumbent, fixed-LP solve failure, or the CPLEX SOS-support verification fired). The MIP primal is preserved (the backend restored its live state and this interface republished the pre-fix incumbent through its cache), but duals / reduced costs are UNAVAILABLE — duals_unavailable() is latched and the dual/rc getters return empty until the next successful solve. Callers must warn and skip dual-dependent outputs for the cell instead of publishing garbage.

Public variables

bool bailed
Index fixed_columns
std::optional<int> status