lp-ip-craft-native
Optimization ecosystem · Shared solver-selection and agent guide
The native Rust LP/MIP engine for the
lp-ip-craft contracts: a
bounded-variable dual revised simplex on a sparse LU basis factorization,
inside best-bound branch and bound with diving and pseudocost branching, and
independently checked results. Pure Rust (Rayon for bounded parallel work),
no HiGHS, BLAS or CMake.
use ;
use NativeSolver;
Options sets the tolerances and the numerical width (threads, 1 to 8);
NativeOptions (via NativeSolver::new) holds the engine's controls: time,
node and iteration limits, presolve, cuts, branching and decomposition.
Limits: a MIP needs finite bounds on all variables, continuous ones included,
as given or derived by root inference; the objective is linear (no QP or
MIQP); Optimal and gaps are numerical findings under the stated
tolerances. See the API documentation
and the AI agent guide.
Part of LP-IP-craft, which also holds the Python package and the job worker. To build from source:
MIT license.