Skip to main content

ActiveSolver

Type Alias ActiveSolver 

Source
pub type ActiveSolver = HighsSolver;
Expand description

The compile-time-selected active LP solver backend.

Downstream crates reference this alias instead of a concrete backend type, so a single binary is bound to exactly one solver with zero runtime dispatch. Exactly one LP backend is enabled at a time — enabling both highs and clp is rejected at compile time (see the compile_error! in this module). This resolves to ClpSolver under --features clp and to HighsSolver under the default highs feature. When neither feature is enabled, this alias is not defined.

Aliased Type§

pub struct ActiveSolver { /* private fields */ }