Cargo Features

[dependencies]
good_lp = { version = "1.7.0", default-features = false, features = ["singlethread-cbc", "scip", "coin_cbc", "minilp", "lpsolve", "highs", "lp-solvers"] }
default = coin_cbc, singlethread-cbc

These default features are set whenever good_lp is added without default-features = false somewhere in the dependency tree.

singlethread-cbc default

Enables singlethread-cbc of optional coin_cbc

coin_cbc:

The singlethread-cbc feature MUST be activated if this crate is going to be used with a cbc dynamic library that has not been explicitly compiled with -DCBC_THRED_SAFE. For more information, see https://github.com/KardinalAI/coin_cbc/issues/9

scip = russcip

Affects solvers::scip

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

coin_cbc default

Affects solvers::coin_cbc

minilp implicit feature

Enables minilp

minilp:

A fast linear programming solver library

Affects solvers::minilp

lpsolve implicit feature

Enables lpsolve

lpsolve:

High-level lpsolve wrapper

Affects solvers::lpsolve

highs implicit feature

Enables highs

highs:

Safe rust bindings for the HiGHS linear programming solver. See http://highs.dev.

Affects solvers::highs

russcip scip?
lp-solvers implicit feature

Enables lp-solvers

lp-solvers:

.lp file format implementation and external solver invocation for Cbc, Gurobi, cplex, and GLPK

Affects good_lp::default_solver, solvers::lp_solvers