gtopt::MipStartRelax struct

STAGE 0: LP-relaxation analysis & diagnosis. Runs whenever the pipeline is enabled (the generator needs the relaxation) or check is explicitly true (diagnosis-only, no injection).

Public functions

void merge(MipStartRelax&& opts)

Public variables

OptBool check
Run the LP-relaxation feasibility analysis even when the pipeline is not enabled (diagnosis-only). Default false.
std::optional<RelaxInfeasibleAction> on_infeasible
Policy when the LP relaxation is infeasible: stop (default), warn, or feasopt (diagnose then stop).
OptBool report_saturated
Print the saturated / binding constraints (nonzero dual) from the LP relaxation. Default false.
std::optional<SolverOptions> solver_options
Solver options (algorithm, params, time limit, …) applied to the LP-relaxation solve only — overlaid on the monolithic solver options so the relaxation can use a different algorithm than the MIP.