gtopt/mip_start.hpp file

Initial-MIP-solution (warm-start) generation & injection pipeline.

A generalized, solver-agnostic framework that, before the monolithic MIP solve, runs two independently-toggleable stages:

A. Relaxation analysis — solve the LP relaxation (under its own solver options), check feasibility, optionally report the saturated / binding constraints, and apply the on_infeasible policy (stop / warn / feasopt-diagnose). B. Integer injection — when mip_start.enabled, compute a starting integer solution from the relaxation via a pluggable MipStartGenerator and inject it as a backend MIP start.

The pipeline operates IN PLACE on the live LinearInterface (relax → solve → round → restore integrality), never cloning — see the design note in apply_mip_start. All start vectors are dense and in RAW LP column space.

Namespaces

namespace gtopt
namespace gtopt::detail

Classes

struct gtopt::MipStartContext
class gtopt::MipStartGenerator
struct gtopt::MipStartReport
Outcome of the MIP-start pipeline (for logging / tests).