-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
75 lines (61 loc) · 1.82 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "cgl-src"
version = "0.2.8+0.60.9"
edition = "2021"
build = "build.rs"
links = "Cgl"
license = "Apache-2.0"
description = "Redistribution of Coin-OR Cgl as a crate"
documentation = "https://docs.rs/cgl-src/"
repository = "https://github.com/Maroon502/cgl-src.git"
keywords = ["coin-or", "Cgl", "Cgl-src"]
readme = "README.md"
authors = [
"Maroon502<maroon502@outlook.com>"
]
exclude = [
"Cgl/**/*",
"!Cgl/Cgl/src/**/*",
"!**/LICENSE",
"!**/AUTHORS",
]
[features]
default = ["default_cuts", "with_clp"]
with_clp = ["clp-src/osiclp"]
default_cuts = ["CglAllDifferent","CglClique", "CglKnapsackCover", "CglOddHole", "CglZeroHalf", "CglFlowCover", "CglGomory", "CglGMI", "CglRedSplit", "CglRedSplit2", "CglLiftAndProject", "CglLandP", "CglMixedIntegerRounding", "CglMixedIntegerRounding2", "CglTwomir", "CglResidualCapacity", "CglDuplicateRow", "CglPreProcess", "CglProbing", "CglSimpleRounding"]
# Combinatorial cuts:
CglAllDifferent = []
# CglBKClique = [] //for next version
CglClique = []
CglKnapsackCover = []
CglOddHole = []
# CglOddWheel = [] //for next version
CglZeroHalf = []
# flow cover cuts:
CglFlowCover = []
# Gomory cuts and variants:
CglGomory = ["with_clp"]
CglGMI = []
CglRedSplit = []
CglRedSplit2 = []
# Lift and project cuts:
CglLiftAndProject = []
CglLandP = ["CglGomory"]
# Mixed integer rounding cuts and variants:
CglMixedIntegerRounding = []
CglMixedIntegerRounding2 = []
CglTwomir = ["with_clp"]
CglResidualCapacity = []
# Strengthening:
# CglCliqueStrengthening = [] //for next version
CglDuplicateRow = []
CglPreProcess = []
CglProbing = []
CglSimpleRounding = []
[dependencies]
coinutils-src = "0.2"
osi-src = "0.2"
clp-src = { version = "0.2", default-features = false, optional = true}
[build-dependencies]
cc = { version = "1.1", features = ["parallel"] }
coin-build-tools = "0.2"