lp-ip-craft 0.29.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lp_ip_craft-0.29.0/Cargo.lock +611 -0
- lp_ip_craft-0.29.0/Cargo.toml +18 -0
- lp_ip_craft-0.29.0/LICENSE +21 -0
- lp_ip_craft-0.29.0/PKG-INFO +96 -0
- lp_ip_craft-0.29.0/crates/core/Cargo.toml +18 -0
- lp_ip_craft-0.29.0/crates/core/LICENSE +21 -0
- lp_ip_craft-0.29.0/crates/core/README.md +29 -0
- lp_ip_craft-0.29.0/crates/core/examples/production.rs +53 -0
- lp_ip_craft-0.29.0/crates/core/src/bound.rs +429 -0
- lp_ip_craft-0.29.0/crates/core/src/check.rs +291 -0
- lp_ip_craft-0.29.0/crates/core/src/dummy.rs +83 -0
- lp_ip_craft-0.29.0/crates/core/src/error.rs +87 -0
- lp_ip_craft-0.29.0/crates/core/src/lib.rs +60 -0
- lp_ip_craft-0.29.0/crates/core/src/model.rs +199 -0
- lp_ip_craft-0.29.0/crates/core/src/solver.rs +452 -0
- lp_ip_craft-0.29.0/crates/core/src/sparse.rs +305 -0
- lp_ip_craft-0.29.0/crates/core/tests/bound_views.rs +49 -0
- lp_ip_craft-0.29.0/crates/core/tests/checks.rs +230 -0
- lp_ip_craft-0.29.0/crates/core/tests/common/mod.rs +73 -0
- lp_ip_craft-0.29.0/crates/core/tests/dummy_contract.rs +188 -0
- lp_ip_craft-0.29.0/crates/core/tests/model_validation.rs +157 -0
- lp_ip_craft-0.29.0/crates/core/tests/numerical_boundaries.rs +60 -0
- lp_ip_craft-0.29.0/crates/core/tests/prepared_bounds.rs +183 -0
- lp_ip_craft-0.29.0/crates/core/tests/safe_bounds.rs +136 -0
- lp_ip_craft-0.29.0/crates/native/Cargo.toml +24 -0
- lp_ip_craft-0.29.0/crates/native/LICENSE +21 -0
- lp_ip_craft-0.29.0/crates/native/README.md +66 -0
- lp_ip_craft-0.29.0/crates/native/examples/benchmark.rs +130 -0
- lp_ip_craft-0.29.0/crates/native/examples/family_benchmark.rs +235 -0
- lp_ip_craft-0.29.0/crates/native/examples/performance_parallel.rs +308 -0
- lp_ip_craft-0.29.0/crates/native/examples/solve.rs +22 -0
- lp_ip_craft-0.29.0/crates/native/examples/spoc4_profile.rs +104 -0
- lp_ip_craft-0.29.0/crates/native/examples/support/parallel_fixtures.rs +158 -0
- lp_ip_craft-0.29.0/crates/native/src/active.rs +119 -0
- lp_ip_craft-0.29.0/crates/native/src/batch.rs +164 -0
- lp_ip_craft-0.29.0/crates/native/src/boxed.rs +87 -0
- lp_ip_craft-0.29.0/crates/native/src/certified_cuts.rs +1771 -0
- lp_ip_craft-0.29.0/crates/native/src/components.rs +507 -0
- lp_ip_craft-0.29.0/crates/native/src/cuts.rs +296 -0
- lp_ip_craft-0.29.0/crates/native/src/dense.rs +253 -0
- lp_ip_craft-0.29.0/crates/native/src/diagnostics.rs +278 -0
- lp_ip_craft-0.29.0/crates/native/src/dyadic.rs +829 -0
- lp_ip_craft-0.29.0/crates/native/src/ft.rs +356 -0
- lp_ip_craft-0.29.0/crates/native/src/incumbent.rs +207 -0
- lp_ip_craft-0.29.0/crates/native/src/jump.rs +264 -0
- lp_ip_craft-0.29.0/crates/native/src/lib.rs +2603 -0
- lp_ip_craft-0.29.0/crates/native/src/lp.rs +2131 -0
- lp_ip_craft-0.29.0/crates/native/src/lu.rs +2081 -0
- lp_ip_craft-0.29.0/crates/native/src/mip_presolve.rs +629 -0
- lp_ip_craft-0.29.0/crates/native/src/mixed.rs +408 -0
- lp_ip_craft-0.29.0/crates/native/src/ordered.rs +46 -0
- lp_ip_craft-0.29.0/crates/native/src/ordering.rs +151 -0
- lp_ip_craft-0.29.0/crates/native/src/packing.rs +2103 -0
- lp_ip_craft-0.29.0/crates/native/src/parallel.rs +369 -0
- lp_ip_craft-0.29.0/crates/native/src/parallel_bench.rs +103 -0
- lp_ip_craft-0.29.0/crates/native/src/presolve.rs +169 -0
- lp_ip_craft-0.29.0/crates/native/src/primal.rs +224 -0
- lp_ip_craft-0.29.0/crates/native/src/profile.rs +85 -0
- lp_ip_craft-0.29.0/crates/native/src/propagate.rs +438 -0
- lp_ip_craft-0.29.0/crates/native/src/rational.rs +730 -0
- lp_ip_craft-0.29.0/crates/native/src/replay.rs +247 -0
- lp_ip_craft-0.29.0/crates/native/src/root.rs +1121 -0
- lp_ip_craft-0.29.0/crates/native/src/rootcuts.rs +299 -0
- lp_ip_craft-0.29.0/crates/native/src/tree.rs +456 -0
- lp_ip_craft-0.29.0/crates/native/src/witness.rs +265 -0
- lp_ip_craft-0.29.0/crates/native/tests/acceptance.rs +572 -0
- lp_ip_craft-0.29.0/crates/native/tests/batch.rs +131 -0
- lp_ip_craft-0.29.0/crates/native/tests/components.rs +39 -0
- lp_ip_craft-0.29.0/crates/native/tests/data/25fv47.bin +0 -0
- lp_ip_craft-0.29.0/crates/native/tests/dense_tail_certificates.rs +90 -0
- lp_ip_craft-0.29.0/crates/native/tests/parallel.rs +238 -0
- lp_ip_craft-0.29.0/crates/native/tests/performance_regressions.rs +155 -0
- lp_ip_craft-0.29.0/crates/native/tests/phase_one_regression.rs +120 -0
- lp_ip_craft-0.29.0/crates/native/tests/simplex.rs +205 -0
- lp_ip_craft-0.29.0/crates/python/Cargo.toml +24 -0
- lp_ip_craft-0.29.0/crates/python/src/lib.rs +733 -0
- lp_ip_craft-0.29.0/pyproject.toml +40 -0
- lp_ip_craft-0.29.0/python/README.md +70 -0
- lp_ip_craft-0.29.0/python/lp_ip_craft/__init__.py +419 -0
- lp_ip_craft-0.29.0/python/lp_ip_craft/_native.pyi +100 -0
- lp_ip_craft-0.29.0/python/lp_ip_craft/py.typed +0 -0
|
@@ -0,0 +1,611 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "anstream"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"anstyle",
|
|
12
|
+
"anstyle-parse",
|
|
13
|
+
"anstyle-query",
|
|
14
|
+
"anstyle-wincon",
|
|
15
|
+
"colorchoice",
|
|
16
|
+
"is_terminal_polyfill",
|
|
17
|
+
"utf8parse",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "anstyle"
|
|
22
|
+
version = "1.0.14"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "anstyle-parse"
|
|
28
|
+
version = "1.0.0"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"utf8parse",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "anstyle-query"
|
|
37
|
+
version = "1.1.5"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"windows-sys",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "anstyle-wincon"
|
|
46
|
+
version = "3.0.11"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"anstyle",
|
|
51
|
+
"once_cell_polyfill",
|
|
52
|
+
"windows-sys",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
[[package]]
|
|
56
|
+
name = "bitflags"
|
|
57
|
+
version = "2.13.2"
|
|
58
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
59
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "block-buffer"
|
|
63
|
+
version = "0.10.4"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
|
66
|
+
dependencies = [
|
|
67
|
+
"generic-array",
|
|
68
|
+
]
|
|
69
|
+
|
|
70
|
+
[[package]]
|
|
71
|
+
name = "cfg-if"
|
|
72
|
+
version = "1.0.5"
|
|
73
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
74
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
75
|
+
|
|
76
|
+
[[package]]
|
|
77
|
+
name = "clap"
|
|
78
|
+
version = "4.6.7"
|
|
79
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
80
|
+
checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
|
|
81
|
+
dependencies = [
|
|
82
|
+
"clap_builder",
|
|
83
|
+
"clap_derive",
|
|
84
|
+
]
|
|
85
|
+
|
|
86
|
+
[[package]]
|
|
87
|
+
name = "clap_builder"
|
|
88
|
+
version = "4.6.7"
|
|
89
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
90
|
+
checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
|
|
91
|
+
dependencies = [
|
|
92
|
+
"anstream",
|
|
93
|
+
"anstyle",
|
|
94
|
+
"clap_lex",
|
|
95
|
+
"strsim",
|
|
96
|
+
]
|
|
97
|
+
|
|
98
|
+
[[package]]
|
|
99
|
+
name = "clap_derive"
|
|
100
|
+
version = "4.6.7"
|
|
101
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
102
|
+
checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
|
|
103
|
+
dependencies = [
|
|
104
|
+
"heck",
|
|
105
|
+
"proc-macro2",
|
|
106
|
+
"quote",
|
|
107
|
+
"syn",
|
|
108
|
+
]
|
|
109
|
+
|
|
110
|
+
[[package]]
|
|
111
|
+
name = "clap_lex"
|
|
112
|
+
version = "1.1.1"
|
|
113
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
114
|
+
checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
|
|
115
|
+
|
|
116
|
+
[[package]]
|
|
117
|
+
name = "colorchoice"
|
|
118
|
+
version = "1.0.5"
|
|
119
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
120
|
+
checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
|
121
|
+
|
|
122
|
+
[[package]]
|
|
123
|
+
name = "cpufeatures"
|
|
124
|
+
version = "0.2.17"
|
|
125
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
126
|
+
checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
|
|
127
|
+
dependencies = [
|
|
128
|
+
"libc",
|
|
129
|
+
]
|
|
130
|
+
|
|
131
|
+
[[package]]
|
|
132
|
+
name = "crossbeam-deque"
|
|
133
|
+
version = "0.8.8"
|
|
134
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
135
|
+
checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
|
|
136
|
+
dependencies = [
|
|
137
|
+
"crossbeam-epoch",
|
|
138
|
+
"crossbeam-utils",
|
|
139
|
+
]
|
|
140
|
+
|
|
141
|
+
[[package]]
|
|
142
|
+
name = "crossbeam-epoch"
|
|
143
|
+
version = "0.9.21"
|
|
144
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
145
|
+
checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
|
|
146
|
+
dependencies = [
|
|
147
|
+
"crossbeam-utils",
|
|
148
|
+
]
|
|
149
|
+
|
|
150
|
+
[[package]]
|
|
151
|
+
name = "crossbeam-utils"
|
|
152
|
+
version = "0.8.23"
|
|
153
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
154
|
+
checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
|
|
155
|
+
|
|
156
|
+
[[package]]
|
|
157
|
+
name = "crypto-common"
|
|
158
|
+
version = "0.1.7"
|
|
159
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
160
|
+
checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
|
|
161
|
+
dependencies = [
|
|
162
|
+
"generic-array",
|
|
163
|
+
"typenum",
|
|
164
|
+
]
|
|
165
|
+
|
|
166
|
+
[[package]]
|
|
167
|
+
name = "digest"
|
|
168
|
+
version = "0.10.7"
|
|
169
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
170
|
+
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
|
171
|
+
dependencies = [
|
|
172
|
+
"block-buffer",
|
|
173
|
+
"crypto-common",
|
|
174
|
+
]
|
|
175
|
+
|
|
176
|
+
[[package]]
|
|
177
|
+
name = "either"
|
|
178
|
+
version = "1.19.0"
|
|
179
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
180
|
+
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
181
|
+
|
|
182
|
+
[[package]]
|
|
183
|
+
name = "errno"
|
|
184
|
+
version = "0.3.14"
|
|
185
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
186
|
+
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
187
|
+
dependencies = [
|
|
188
|
+
"libc",
|
|
189
|
+
"windows-sys",
|
|
190
|
+
]
|
|
191
|
+
|
|
192
|
+
[[package]]
|
|
193
|
+
name = "fastrand"
|
|
194
|
+
version = "2.5.0"
|
|
195
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
196
|
+
checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
|
|
197
|
+
|
|
198
|
+
[[package]]
|
|
199
|
+
name = "fs2"
|
|
200
|
+
version = "0.4.3"
|
|
201
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
202
|
+
checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213"
|
|
203
|
+
dependencies = [
|
|
204
|
+
"libc",
|
|
205
|
+
"winapi",
|
|
206
|
+
]
|
|
207
|
+
|
|
208
|
+
[[package]]
|
|
209
|
+
name = "generic-array"
|
|
210
|
+
version = "0.14.7"
|
|
211
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
+
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
|
213
|
+
dependencies = [
|
|
214
|
+
"typenum",
|
|
215
|
+
"version_check",
|
|
216
|
+
]
|
|
217
|
+
|
|
218
|
+
[[package]]
|
|
219
|
+
name = "getrandom"
|
|
220
|
+
version = "0.4.3"
|
|
221
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
222
|
+
checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
|
|
223
|
+
dependencies = [
|
|
224
|
+
"cfg-if",
|
|
225
|
+
"libc",
|
|
226
|
+
"r-efi",
|
|
227
|
+
]
|
|
228
|
+
|
|
229
|
+
[[package]]
|
|
230
|
+
name = "heck"
|
|
231
|
+
version = "0.5.0"
|
|
232
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
234
|
+
|
|
235
|
+
[[package]]
|
|
236
|
+
name = "is_terminal_polyfill"
|
|
237
|
+
version = "1.70.2"
|
|
238
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
239
|
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
240
|
+
|
|
241
|
+
[[package]]
|
|
242
|
+
name = "itoa"
|
|
243
|
+
version = "1.0.18"
|
|
244
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
245
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
246
|
+
|
|
247
|
+
[[package]]
|
|
248
|
+
name = "libc"
|
|
249
|
+
version = "0.2.190"
|
|
250
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
251
|
+
checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78"
|
|
252
|
+
|
|
253
|
+
[[package]]
|
|
254
|
+
name = "linux-raw-sys"
|
|
255
|
+
version = "0.12.1"
|
|
256
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
257
|
+
checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
|
|
258
|
+
|
|
259
|
+
[[package]]
|
|
260
|
+
name = "lp-ip-craft"
|
|
261
|
+
version = "0.29.0"
|
|
262
|
+
|
|
263
|
+
[[package]]
|
|
264
|
+
name = "lp-ip-craft-native"
|
|
265
|
+
version = "0.29.0"
|
|
266
|
+
dependencies = [
|
|
267
|
+
"lp-ip-craft",
|
|
268
|
+
"rayon",
|
|
269
|
+
]
|
|
270
|
+
|
|
271
|
+
[[package]]
|
|
272
|
+
name = "lp-ip-craft-python"
|
|
273
|
+
version = "0.29.0"
|
|
274
|
+
dependencies = [
|
|
275
|
+
"lp-ip-craft",
|
|
276
|
+
"lp-ip-craft-native",
|
|
277
|
+
"pyo3",
|
|
278
|
+
]
|
|
279
|
+
|
|
280
|
+
[[package]]
|
|
281
|
+
name = "lp-ip-job-worker"
|
|
282
|
+
version = "0.29.0"
|
|
283
|
+
dependencies = [
|
|
284
|
+
"lp-ip-craft",
|
|
285
|
+
"lp-ip-craft-native",
|
|
286
|
+
"optimization-job-api",
|
|
287
|
+
"optimization-runner",
|
|
288
|
+
"serde",
|
|
289
|
+
"serde_json",
|
|
290
|
+
]
|
|
291
|
+
|
|
292
|
+
[[package]]
|
|
293
|
+
name = "memchr"
|
|
294
|
+
version = "2.8.3"
|
|
295
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
296
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
297
|
+
|
|
298
|
+
[[package]]
|
|
299
|
+
name = "once_cell"
|
|
300
|
+
version = "1.21.4"
|
|
301
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
302
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
303
|
+
|
|
304
|
+
[[package]]
|
|
305
|
+
name = "once_cell_polyfill"
|
|
306
|
+
version = "1.70.2"
|
|
307
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
308
|
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
309
|
+
|
|
310
|
+
[[package]]
|
|
311
|
+
name = "optimization-job-api"
|
|
312
|
+
version = "0.2.0"
|
|
313
|
+
source = "git+https://github.com/dietmarwo/optimization-jobs?rev=43ef3aee7be78274da529f10af5839a16bbf047e#43ef3aee7be78274da529f10af5839a16bbf047e"
|
|
314
|
+
dependencies = [
|
|
315
|
+
"fs2",
|
|
316
|
+
"libc",
|
|
317
|
+
"serde",
|
|
318
|
+
"serde_json",
|
|
319
|
+
"sha2",
|
|
320
|
+
]
|
|
321
|
+
|
|
322
|
+
[[package]]
|
|
323
|
+
name = "optimization-runner"
|
|
324
|
+
version = "0.2.0"
|
|
325
|
+
source = "git+https://github.com/dietmarwo/optimization-jobs?rev=43ef3aee7be78274da529f10af5839a16bbf047e#43ef3aee7be78274da529f10af5839a16bbf047e"
|
|
326
|
+
dependencies = [
|
|
327
|
+
"clap",
|
|
328
|
+
"fs2",
|
|
329
|
+
"libc",
|
|
330
|
+
"optimization-job-api",
|
|
331
|
+
"serde",
|
|
332
|
+
"serde_json",
|
|
333
|
+
"tempfile",
|
|
334
|
+
]
|
|
335
|
+
|
|
336
|
+
[[package]]
|
|
337
|
+
name = "portable-atomic"
|
|
338
|
+
version = "1.15.0"
|
|
339
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
340
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
341
|
+
|
|
342
|
+
[[package]]
|
|
343
|
+
name = "proc-macro2"
|
|
344
|
+
version = "1.0.107"
|
|
345
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
346
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
347
|
+
dependencies = [
|
|
348
|
+
"unicode-ident",
|
|
349
|
+
]
|
|
350
|
+
|
|
351
|
+
[[package]]
|
|
352
|
+
name = "pyo3"
|
|
353
|
+
version = "0.30.1"
|
|
354
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
355
|
+
checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
|
|
356
|
+
dependencies = [
|
|
357
|
+
"libc",
|
|
358
|
+
"once_cell",
|
|
359
|
+
"portable-atomic",
|
|
360
|
+
"pyo3-build-config",
|
|
361
|
+
"pyo3-ffi",
|
|
362
|
+
"pyo3-macros",
|
|
363
|
+
]
|
|
364
|
+
|
|
365
|
+
[[package]]
|
|
366
|
+
name = "pyo3-build-config"
|
|
367
|
+
version = "0.30.1"
|
|
368
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
369
|
+
checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
|
|
370
|
+
dependencies = [
|
|
371
|
+
"target-lexicon",
|
|
372
|
+
]
|
|
373
|
+
|
|
374
|
+
[[package]]
|
|
375
|
+
name = "pyo3-ffi"
|
|
376
|
+
version = "0.30.1"
|
|
377
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
378
|
+
checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
|
|
379
|
+
dependencies = [
|
|
380
|
+
"libc",
|
|
381
|
+
"pyo3-build-config",
|
|
382
|
+
]
|
|
383
|
+
|
|
384
|
+
[[package]]
|
|
385
|
+
name = "pyo3-macros"
|
|
386
|
+
version = "0.30.1"
|
|
387
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
388
|
+
checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
|
|
389
|
+
dependencies = [
|
|
390
|
+
"proc-macro2",
|
|
391
|
+
"pyo3-macros-backend",
|
|
392
|
+
"quote",
|
|
393
|
+
"syn",
|
|
394
|
+
]
|
|
395
|
+
|
|
396
|
+
[[package]]
|
|
397
|
+
name = "pyo3-macros-backend"
|
|
398
|
+
version = "0.30.1"
|
|
399
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
400
|
+
checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
|
|
401
|
+
dependencies = [
|
|
402
|
+
"heck",
|
|
403
|
+
"proc-macro2",
|
|
404
|
+
"quote",
|
|
405
|
+
"syn",
|
|
406
|
+
]
|
|
407
|
+
|
|
408
|
+
[[package]]
|
|
409
|
+
name = "quote"
|
|
410
|
+
version = "1.0.47"
|
|
411
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
412
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
413
|
+
dependencies = [
|
|
414
|
+
"proc-macro2",
|
|
415
|
+
]
|
|
416
|
+
|
|
417
|
+
[[package]]
|
|
418
|
+
name = "r-efi"
|
|
419
|
+
version = "6.0.0"
|
|
420
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
421
|
+
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
422
|
+
|
|
423
|
+
[[package]]
|
|
424
|
+
name = "rayon"
|
|
425
|
+
version = "1.12.0"
|
|
426
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
427
|
+
checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
|
|
428
|
+
dependencies = [
|
|
429
|
+
"either",
|
|
430
|
+
"rayon-core",
|
|
431
|
+
]
|
|
432
|
+
|
|
433
|
+
[[package]]
|
|
434
|
+
name = "rayon-core"
|
|
435
|
+
version = "1.13.0"
|
|
436
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
437
|
+
checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
|
|
438
|
+
dependencies = [
|
|
439
|
+
"crossbeam-deque",
|
|
440
|
+
"crossbeam-utils",
|
|
441
|
+
]
|
|
442
|
+
|
|
443
|
+
[[package]]
|
|
444
|
+
name = "rustix"
|
|
445
|
+
version = "1.1.5"
|
|
446
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
447
|
+
checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d"
|
|
448
|
+
dependencies = [
|
|
449
|
+
"bitflags",
|
|
450
|
+
"errno",
|
|
451
|
+
"libc",
|
|
452
|
+
"linux-raw-sys",
|
|
453
|
+
"windows-sys",
|
|
454
|
+
]
|
|
455
|
+
|
|
456
|
+
[[package]]
|
|
457
|
+
name = "serde"
|
|
458
|
+
version = "1.0.229"
|
|
459
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
461
|
+
dependencies = [
|
|
462
|
+
"serde_core",
|
|
463
|
+
"serde_derive",
|
|
464
|
+
]
|
|
465
|
+
|
|
466
|
+
[[package]]
|
|
467
|
+
name = "serde_core"
|
|
468
|
+
version = "1.0.229"
|
|
469
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
470
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
471
|
+
dependencies = [
|
|
472
|
+
"serde_derive",
|
|
473
|
+
]
|
|
474
|
+
|
|
475
|
+
[[package]]
|
|
476
|
+
name = "serde_derive"
|
|
477
|
+
version = "1.0.229"
|
|
478
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
479
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
480
|
+
dependencies = [
|
|
481
|
+
"proc-macro2",
|
|
482
|
+
"quote",
|
|
483
|
+
"syn",
|
|
484
|
+
]
|
|
485
|
+
|
|
486
|
+
[[package]]
|
|
487
|
+
name = "serde_json"
|
|
488
|
+
version = "1.0.154"
|
|
489
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
490
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
491
|
+
dependencies = [
|
|
492
|
+
"itoa",
|
|
493
|
+
"memchr",
|
|
494
|
+
"serde",
|
|
495
|
+
"serde_core",
|
|
496
|
+
"zmij",
|
|
497
|
+
]
|
|
498
|
+
|
|
499
|
+
[[package]]
|
|
500
|
+
name = "sha2"
|
|
501
|
+
version = "0.10.9"
|
|
502
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
503
|
+
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
|
|
504
|
+
dependencies = [
|
|
505
|
+
"cfg-if",
|
|
506
|
+
"cpufeatures",
|
|
507
|
+
"digest",
|
|
508
|
+
]
|
|
509
|
+
|
|
510
|
+
[[package]]
|
|
511
|
+
name = "strsim"
|
|
512
|
+
version = "0.11.1"
|
|
513
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
514
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
515
|
+
|
|
516
|
+
[[package]]
|
|
517
|
+
name = "syn"
|
|
518
|
+
version = "3.0.9"
|
|
519
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
520
|
+
checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
|
|
521
|
+
dependencies = [
|
|
522
|
+
"proc-macro2",
|
|
523
|
+
"quote",
|
|
524
|
+
"unicode-ident",
|
|
525
|
+
]
|
|
526
|
+
|
|
527
|
+
[[package]]
|
|
528
|
+
name = "target-lexicon"
|
|
529
|
+
version = "0.13.5"
|
|
530
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
531
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
532
|
+
|
|
533
|
+
[[package]]
|
|
534
|
+
name = "tempfile"
|
|
535
|
+
version = "3.27.0"
|
|
536
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
537
|
+
checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
|
|
538
|
+
dependencies = [
|
|
539
|
+
"fastrand",
|
|
540
|
+
"getrandom",
|
|
541
|
+
"once_cell",
|
|
542
|
+
"rustix",
|
|
543
|
+
"windows-sys",
|
|
544
|
+
]
|
|
545
|
+
|
|
546
|
+
[[package]]
|
|
547
|
+
name = "typenum"
|
|
548
|
+
version = "1.20.1"
|
|
549
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
550
|
+
checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
|
|
551
|
+
|
|
552
|
+
[[package]]
|
|
553
|
+
name = "unicode-ident"
|
|
554
|
+
version = "1.0.27"
|
|
555
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
556
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
557
|
+
|
|
558
|
+
[[package]]
|
|
559
|
+
name = "utf8parse"
|
|
560
|
+
version = "0.2.2"
|
|
561
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
562
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
563
|
+
|
|
564
|
+
[[package]]
|
|
565
|
+
name = "version_check"
|
|
566
|
+
version = "0.9.5"
|
|
567
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
568
|
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
569
|
+
|
|
570
|
+
[[package]]
|
|
571
|
+
name = "winapi"
|
|
572
|
+
version = "0.3.9"
|
|
573
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
574
|
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
|
575
|
+
dependencies = [
|
|
576
|
+
"winapi-i686-pc-windows-gnu",
|
|
577
|
+
"winapi-x86_64-pc-windows-gnu",
|
|
578
|
+
]
|
|
579
|
+
|
|
580
|
+
[[package]]
|
|
581
|
+
name = "winapi-i686-pc-windows-gnu"
|
|
582
|
+
version = "0.4.0"
|
|
583
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
584
|
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
585
|
+
|
|
586
|
+
[[package]]
|
|
587
|
+
name = "winapi-x86_64-pc-windows-gnu"
|
|
588
|
+
version = "0.4.0"
|
|
589
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
590
|
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
591
|
+
|
|
592
|
+
[[package]]
|
|
593
|
+
name = "windows-link"
|
|
594
|
+
version = "0.2.1"
|
|
595
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
596
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
597
|
+
|
|
598
|
+
[[package]]
|
|
599
|
+
name = "windows-sys"
|
|
600
|
+
version = "0.61.2"
|
|
601
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
602
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
603
|
+
dependencies = [
|
|
604
|
+
"windows-link",
|
|
605
|
+
]
|
|
606
|
+
|
|
607
|
+
[[package]]
|
|
608
|
+
name = "zmij"
|
|
609
|
+
version = "1.0.23"
|
|
610
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
611
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
members = ["crates/core", "crates/native", "crates/python"]
|
|
3
|
+
resolver = "3"
|
|
4
|
+
[workspace.package]
|
|
5
|
+
version = "0.29.0"
|
|
6
|
+
edition = "2024"
|
|
7
|
+
rust-version = "1.85"
|
|
8
|
+
license = "MIT"
|
|
9
|
+
repository = "https://github.com/dietmarwo/LP-IP-craft"
|
|
10
|
+
publish = false
|
|
11
|
+
[workspace.dependencies]
|
|
12
|
+
# The shared job API (envelope, result contract, worker SDK, runner) lives in
|
|
13
|
+
# github.com/dietmarwo/optimization-jobs; change the revision there first.
|
|
14
|
+
optimization-job-api = { git = "https://github.com/dietmarwo/optimization-jobs", rev = "43ef3aee7be78274da529f10af5839a16bbf047e" }
|
|
15
|
+
optimization-runner = { git = "https://github.com/dietmarwo/optimization-jobs", rev = "43ef3aee7be78274da529f10af5839a16bbf047e" }
|
|
16
|
+
|
|
17
|
+
[profile.release]
|
|
18
|
+
codegen-units = 1
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Dietmar Wolz
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|