gtopt::ElasticSolveResult struct

Result of the elastic-filter clone–solve step. Contains the solved LP clone and per-link slack column information.

Public variables

LinearInterface clone
std::vector<FcutSlackInfo> fcut_infos
std::vector<RelaxedVarInfo> link_infos
One RelaxedVarInfo per outgoing link (same order as links).
bool solved

Variable documentation

LinearInterface gtopt::ElasticSolveResult::clone

Elastic clone (solved when solved == true)

std::vector<FcutSlackInfo> gtopt::ElasticSolveResult::fcut_infos

One entry per elasticized feasibility-cut row (empty unless the caller passed elastic_fcut_rows — farkas_recursive mode).

bool gtopt::ElasticSolveResult::solved

True when the clone reached an optimal solution and its duals / primal values are usable for cut construction. False when the clone itself came back non-optimal (i.e. state-variable relaxation alone cannot restore feasibility — infeasibility is rooted in rows the elastic filter cannot relax). When false, callers should treat the clone as diagnostic-only (write it to disk for post-mortem) and NOT read duals from it.