Module lp_modeler::solvers[][src]

This module provides the interface to different solvers.

Both coin_cbc and minilp are available as cargo features. To use them, specify your dependency to lp_modeler accordingly in your Cargo.toml (note the name difference of the native_coin_cbc feature for the coin_cbc crate):

[dependencies.lp_modeler]
version = "4.3"
features = "native_coin_cbc"

or:

[dependencies.lp_modeler]
version = "4.3"
features = "minilp"

For coin_cbc to compile, the Cbc library files need to be available on your system. See the coin_cbc project README for more infos.

The other solvers need to be installed externally on your system. The respective information is provided in the project’s README in the section on installing external solvers.

Re-exports

pub use self::cbc::*;
pub use self::gurobi::*;
pub use self::glpk::*;

Modules

cbc
glpk
gurobi

Structs

Solution

Enums

Status

Traits

SolverTrait
SolverWithSolutionParsing
WithMaxSeconds
WithNbThreads