[[bench]]
harness = false
name = "benchmark"
path = "benches/benchmark.rs"
[dependencies.clarabel]
features = []
optional = true
version = "0.9.0"
[dependencies.coin_cbc]
default-features = false
optional = true
version = "0.1"
[dependencies.cplex-rs]
optional = true
version = "0.1"
[dependencies.fnv]
version = "1.0.5"
[dependencies.highs]
optional = true
version = "1.5.0"
[dependencies.lp-solvers]
features = ["cplex"]
optional = true
version = "1.0.0"
[dependencies.lpsolve]
optional = true
version = "0.1"
[dependencies.microlp]
optional = true
version = "0.2.6"
[dependencies.russcip]
optional = true
version = "0.4.1"
[dev-dependencies.float_eq]
version = "1.0"
[features]
all_default_solvers = ["coin_cbc", "microlp", "lpsolve", "highs", "russcip", "russcip/bundled", "lp-solvers", "clarabel"]
clarabel-wasm = ["clarabel/wasm"]
default = ["coin_cbc", "singlethread-cbc"]
minilp = ["microlp"]
scip = ["russcip"]
scip_bundled = ["russcip?/bundled"]
singlethread-cbc = ["coin_cbc?/singlethread-cbc"]
[lib]
name = "good_lp"
path = "src/lib.rs"
[package]
authors = ["Ophir LOJKINE <contact@ophir.dev>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["mathematics", "algorithms", "science", "api-bindings", "data-structures"]
description = " Mixed Integer Linear Programming for Rust, with an user-friendly API. This crate allows modeling LP problems, and lets you solve them with various solvers."
documentation = "https://docs.rs/good_lp"
edition = "2018"
keywords = ["linear-programming", "optimization", "symbolic", "math", "solver"]
license = "MIT"
name = "good_lp"
readme = "README.md"
repository = "https://github.com/rust-or/good_lp"
version = "1.11.0"
[package.metadata.docs.rs]
all-features = false
default-target = "x86_64-unknown-linux-gnu"
features = ["all_default_solvers"]
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu"]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.5"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.0"
[[test]]
name = "mipgap_set"
path = "tests/mipgap_set.rs"
[[test]]
name = "readme_example"
path = "tests/readme_example.rs"
[[test]]
name = "resource_allocation_problem"
path = "tests/resource_allocation_problem.rs"
[[test]]
name = "shadow_price"
path = "tests/shadow_price.rs"
[[test]]
name = "solver_scaling"
path = "tests/solver_scaling.rs"
[[test]]
name = "static_solver"
path = "tests/static_solver.rs"
[[test]]
name = "variables"
path = "tests/variables.rs"