-
Notifications
You must be signed in to change notification settings - Fork 36
/
Cargo.toml
52 lines (45 loc) · 2.02 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "good_lp"
version = "1.10.0"
authors = ["Ophir LOJKINE <contact@ophir.dev>"]
edition = "2018"
repository = "https://github.com/rust-or/good_lp"
documentation = "https://docs.rs/good_lp"
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."
license = "MIT"
keywords = ["linear-programming", "optimization", "symbolic", "math", "solver"]
categories = ["mathematics", "algorithms", "science", "api-bindings", "data-structures"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["coin_cbc", "singlethread-cbc"]
singlethread-cbc = ["coin_cbc?/singlethread-cbc"]
scip = ["russcip"]
all_default_solvers = ["coin_cbc", "microlp", "lpsolve", "highs", "russcip", "lp-solvers", "clarabel"] # cplex-rs is not included because it is incompatible with lpsolve
clarabel-wasm = ["clarabel/wasm"]
minilp = ["microlp"] # minilp is not maintained anymore, we use the microlp fork instead
[dependencies]
coin_cbc = { version = "0.1", optional = true, default-features = false }
microlp = { version = "0.2.6", optional = true }
lpsolve = { version = "0.1", optional = true }
highs = { version = "1.5.0", optional = true }
russcip = { version = "0.4.1", optional = true }
lp-solvers = { version = "1.0.0", features = ["cplex"], optional = true }
cplex-rs = { version = "0.1", optional = true }
clarabel = { version = "0.9.0", optional = true, features = [] }
fnv = "1.0.5"
[dev-dependencies]
float_eq = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.5"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3.0"
[[bench]]
name = "benchmark"
harness = false
[package.metadata.docs.rs]
# Display the documentation for all solvers on docs.rs
all-features = false
features = [ "all_default_solvers" ]
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--cfg", "docsrs"]