fcmaes-rust 0.1.4__tar.gz → 0.2.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.
Files changed (53) hide show
  1. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/Cargo.lock +335 -8
  2. fcmaes_rust-0.2.0/Cargo.toml +30 -0
  3. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/PKG-INFO +25 -1
  4. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/Cargo.toml +1 -1
  5. fcmaes_rust-0.2.0/crates/fcmaes-core/NOTICE.pareto +27 -0
  6. fcmaes_rust-0.2.0/crates/fcmaes-core/PARETO_ARCHIVE.md +93 -0
  7. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/README.md +48 -1
  8. fcmaes_rust-0.2.0/crates/fcmaes-core/examples/pareto_bench.rs +57 -0
  9. fcmaes_rust-0.2.0/crates/fcmaes-core/examples/pareto_mode.rs +50 -0
  10. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/biteopt.rs +88 -8
  11. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/de.rs +157 -0
  12. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/fitness.rs +1 -1
  13. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/lib.rs +6 -0
  14. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/mapelites.rs +57 -23
  15. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/mode.rs +200 -55
  16. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/moretry.rs +27 -3
  17. fcmaes_rust-0.2.0/crates/fcmaes-core/src/pareto.rs +581 -0
  18. fcmaes_rust-0.2.0/crates/fcmaes-core/src/pareto_tests.rs +763 -0
  19. fcmaes_rust-0.2.0/crates/fcmaes-core/tests/data/pareto_archive_2d.csv +2063 -0
  20. fcmaes_rust-0.2.0/crates/fcmaes-core/tests/pareto_fixture.rs +64 -0
  21. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-gtop/src/lib.rs +19 -7
  22. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/lib.rs +1 -0
  23. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/moretry.rs +3 -1
  24. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/pyproject.toml +3 -0
  25. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/python/README.md +21 -0
  26. fcmaes_rust-0.1.4/Cargo.toml +0 -19
  27. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/LICENSE +0 -0
  28. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/LICENSE +0 -0
  29. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/cmaes.rs +0 -0
  30. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/crfmnes.rs +0 -0
  31. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/da.rs +0 -0
  32. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/indicators.rs +0 -0
  33. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/pgpe.rs +0 -0
  34. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/retry.rs +0 -0
  35. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-core/src/rng.rs +0 -0
  36. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-gtop/Cargo.toml +0 -0
  37. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/Cargo.toml +0 -0
  38. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/python_tests/test_bindings.py +0 -0
  39. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/python_tests/test_type_stubs.py +0 -0
  40. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/acma.rs +0 -0
  41. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/biteopt.rs +0 -0
  42. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/common.rs +0 -0
  43. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/crfmnes.rs +0 -0
  44. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/da.rs +0 -0
  45. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/de.rs +0 -0
  46. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/gtop.rs +0 -0
  47. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/mapelites.rs +0 -0
  48. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/mode.rs +0 -0
  49. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/pgpe.rs +0 -0
  50. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/crates/fcmaes-py/src/retry.rs +0 -0
  51. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/python/fcmaes_rust/__init__.py +0 -0
  52. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/python/fcmaes_rust/_fcmaes_ext.pyi +0 -0
  53. {fcmaes_rust-0.1.4 → fcmaes_rust-0.2.0}/python/fcmaes_rust/py.typed +0 -0
@@ -2,6 +2,56 @@
2
2
  # It is not intended for manual editing.
3
3
  version = 4
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 0.61.2",
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 0.61.2",
53
+ ]
54
+
5
55
  [[package]]
6
56
  name = "approx"
7
57
  version = "0.5.1"
@@ -58,6 +108,15 @@ version = "2.13.1"
58
108
  source = "registry+https://github.com/rust-lang/crates.io-index"
59
109
  checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
60
110
 
111
+ [[package]]
112
+ name = "block-buffer"
113
+ version = "0.10.4"
114
+ source = "registry+https://github.com/rust-lang/crates.io-index"
115
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
116
+ dependencies = [
117
+ "generic-array",
118
+ ]
119
+
61
120
  [[package]]
62
121
  name = "bumpalo"
63
122
  version = "3.20.3"
@@ -107,10 +166,50 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
107
166
  checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81"
108
167
  dependencies = [
109
168
  "cfg-if",
110
- "cpufeatures",
169
+ "cpufeatures 0.3.0",
111
170
  "rand_core 0.10.1",
112
171
  ]
113
172
 
173
+ [[package]]
174
+ name = "clap"
175
+ version = "4.6.7"
176
+ source = "registry+https://github.com/rust-lang/crates.io-index"
177
+ checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
178
+ dependencies = [
179
+ "clap_builder",
180
+ "clap_derive",
181
+ ]
182
+
183
+ [[package]]
184
+ name = "clap_builder"
185
+ version = "4.6.7"
186
+ source = "registry+https://github.com/rust-lang/crates.io-index"
187
+ checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
188
+ dependencies = [
189
+ "anstream",
190
+ "anstyle",
191
+ "clap_lex",
192
+ "strsim",
193
+ ]
194
+
195
+ [[package]]
196
+ name = "clap_derive"
197
+ version = "4.6.7"
198
+ source = "registry+https://github.com/rust-lang/crates.io-index"
199
+ checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
200
+ dependencies = [
201
+ "heck",
202
+ "proc-macro2",
203
+ "quote",
204
+ "syn 3.0.3",
205
+ ]
206
+
207
+ [[package]]
208
+ name = "clap_lex"
209
+ version = "1.1.1"
210
+ source = "registry+https://github.com/rust-lang/crates.io-index"
211
+ checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
212
+
114
213
  [[package]]
115
214
  name = "cmake"
116
215
  version = "0.1.58"
@@ -120,6 +219,12 @@ dependencies = [
120
219
  "cc",
121
220
  ]
122
221
 
222
+ [[package]]
223
+ name = "colorchoice"
224
+ version = "1.0.5"
225
+ source = "registry+https://github.com/rust-lang/crates.io-index"
226
+ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
227
+
123
228
  [[package]]
124
229
  name = "combine"
125
230
  version = "4.6.7"
@@ -175,6 +280,15 @@ version = "0.8.7"
175
280
  source = "registry+https://github.com/rust-lang/crates.io-index"
176
281
  checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
177
282
 
283
+ [[package]]
284
+ name = "cpufeatures"
285
+ version = "0.2.17"
286
+ source = "registry+https://github.com/rust-lang/crates.io-index"
287
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
288
+ dependencies = [
289
+ "libc",
290
+ ]
291
+
178
292
  [[package]]
179
293
  name = "cpufeatures"
180
294
  version = "0.3.0"
@@ -209,6 +323,16 @@ version = "0.8.22"
209
323
  source = "registry+https://github.com/rust-lang/crates.io-index"
210
324
  checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17"
211
325
 
326
+ [[package]]
327
+ name = "crypto-common"
328
+ version = "0.1.7"
329
+ source = "registry+https://github.com/rust-lang/crates.io-index"
330
+ checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
331
+ dependencies = [
332
+ "generic-array",
333
+ "typenum",
334
+ ]
335
+
212
336
  [[package]]
213
337
  name = "darling"
214
338
  version = "0.23.0"
@@ -249,6 +373,16 @@ version = "0.5.8"
249
373
  source = "registry+https://github.com/rust-lang/crates.io-index"
250
374
  checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
251
375
 
376
+ [[package]]
377
+ name = "digest"
378
+ version = "0.10.7"
379
+ source = "registry+https://github.com/rust-lang/crates.io-index"
380
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
381
+ dependencies = [
382
+ "block-buffer",
383
+ "crypto-common",
384
+ ]
385
+
252
386
  [[package]]
253
387
  name = "displaydoc"
254
388
  version = "0.2.6"
@@ -281,9 +415,25 @@ version = "1.16.0"
281
415
  source = "registry+https://github.com/rust-lang/crates.io-index"
282
416
  checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
283
417
 
418
+ [[package]]
419
+ name = "errno"
420
+ version = "0.3.14"
421
+ source = "registry+https://github.com/rust-lang/crates.io-index"
422
+ checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
423
+ dependencies = [
424
+ "libc",
425
+ "windows-sys 0.52.0",
426
+ ]
427
+
428
+ [[package]]
429
+ name = "fastrand"
430
+ version = "2.5.0"
431
+ source = "registry+https://github.com/rust-lang/crates.io-index"
432
+ checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
433
+
284
434
  [[package]]
285
435
  name = "fcmaes-core"
286
- version = "0.1.4"
436
+ version = "0.2.0"
287
437
  dependencies = [
288
438
  "libm",
289
439
  "nalgebra",
@@ -295,7 +445,7 @@ dependencies = [
295
445
 
296
446
  [[package]]
297
447
  name = "fcmaes-examples"
298
- version = "0.1.4"
448
+ version = "0.2.0"
299
449
  dependencies = [
300
450
  "fcmaes-core",
301
451
  "fcmaes-gtop",
@@ -307,11 +457,37 @@ dependencies = [
307
457
 
308
458
  [[package]]
309
459
  name = "fcmaes-gtop"
310
- version = "0.1.4"
460
+ version = "0.2.0"
461
+
462
+ [[package]]
463
+ name = "fcmaes-job-worker"
464
+ version = "0.2.0"
465
+ dependencies = [
466
+ "fcmaes-core",
467
+ "fcmaes-native-worker",
468
+ "fcmaes-surrogate",
469
+ "optimization-job-api",
470
+ "optimization-runner",
471
+ "rayon",
472
+ "serde",
473
+ "serde_json",
474
+ "tempfile",
475
+ ]
476
+
477
+ [[package]]
478
+ name = "fcmaes-native-worker"
479
+ version = "0.1.0"
480
+ dependencies = [
481
+ "fcmaes-core",
482
+ "fcmaes-gtop",
483
+ "optimization-job-api",
484
+ "serde_json",
485
+ "tempfile",
486
+ ]
311
487
 
312
488
  [[package]]
313
489
  name = "fcmaes-py"
314
- version = "0.1.4"
490
+ version = "0.2.0"
315
491
  dependencies = [
316
492
  "fcmaes-core",
317
493
  "fcmaes-gtop",
@@ -319,6 +495,28 @@ dependencies = [
319
495
  "pyo3",
320
496
  ]
321
497
 
498
+ [[package]]
499
+ name = "fcmaes-runner"
500
+ version = "0.1.0"
501
+ dependencies = [
502
+ "libc",
503
+ "optimization-job-api",
504
+ "optimization-runner",
505
+ "serde_json",
506
+ "tempfile",
507
+ ]
508
+
509
+ [[package]]
510
+ name = "fcmaes-surrogate"
511
+ version = "0.1.0"
512
+ dependencies = [
513
+ "fcmaes-core",
514
+ "libm",
515
+ "rayon",
516
+ "serde",
517
+ "serde_json",
518
+ ]
519
+
322
520
  [[package]]
323
521
  name = "find-msvc-tools"
324
522
  version = "0.1.9"
@@ -334,6 +532,16 @@ dependencies = [
334
532
  "percent-encoding",
335
533
  ]
336
534
 
535
+ [[package]]
536
+ name = "fs2"
537
+ version = "0.4.3"
538
+ source = "registry+https://github.com/rust-lang/crates.io-index"
539
+ checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213"
540
+ dependencies = [
541
+ "libc",
542
+ "winapi",
543
+ ]
544
+
337
545
  [[package]]
338
546
  name = "fs_extra"
339
547
  version = "1.3.0"
@@ -373,6 +581,16 @@ dependencies = [
373
581
  "slab",
374
582
  ]
375
583
 
584
+ [[package]]
585
+ name = "generic-array"
586
+ version = "0.14.7"
587
+ source = "registry+https://github.com/rust-lang/crates.io-index"
588
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
589
+ dependencies = [
590
+ "typenum",
591
+ "version_check",
592
+ ]
593
+
376
594
  [[package]]
377
595
  name = "getrandom"
378
596
  version = "0.2.17"
@@ -627,6 +845,12 @@ version = "2.12.0"
627
845
  source = "registry+https://github.com/rust-lang/crates.io-index"
628
846
  checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2"
629
847
 
848
+ [[package]]
849
+ name = "is_terminal_polyfill"
850
+ version = "1.70.2"
851
+ source = "registry+https://github.com/rust-lang/crates.io-index"
852
+ checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
853
+
630
854
  [[package]]
631
855
  name = "itoa"
632
856
  version = "1.0.18"
@@ -715,6 +939,12 @@ version = "0.2.16"
715
939
  source = "registry+https://github.com/rust-lang/crates.io-index"
716
940
  checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
717
941
 
942
+ [[package]]
943
+ name = "linux-raw-sys"
944
+ version = "0.12.1"
945
+ source = "registry+https://github.com/rust-lang/crates.io-index"
946
+ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
947
+
718
948
  [[package]]
719
949
  name = "litemap"
720
950
  version = "0.8.2"
@@ -904,12 +1134,44 @@ version = "1.21.4"
904
1134
  source = "registry+https://github.com/rust-lang/crates.io-index"
905
1135
  checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
906
1136
 
1137
+ [[package]]
1138
+ name = "once_cell_polyfill"
1139
+ version = "1.70.2"
1140
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1141
+ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
1142
+
907
1143
  [[package]]
908
1144
  name = "openssl-probe"
909
1145
  version = "0.2.1"
910
1146
  source = "registry+https://github.com/rust-lang/crates.io-index"
911
1147
  checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
912
1148
 
1149
+ [[package]]
1150
+ name = "optimization-job-api"
1151
+ version = "0.2.0"
1152
+ source = "git+https://github.com/dietmarwo/optimization-jobs?rev=43ef3aee7be78274da529f10af5839a16bbf047e#43ef3aee7be78274da529f10af5839a16bbf047e"
1153
+ dependencies = [
1154
+ "fs2",
1155
+ "libc",
1156
+ "serde",
1157
+ "serde_json",
1158
+ "sha2",
1159
+ ]
1160
+
1161
+ [[package]]
1162
+ name = "optimization-runner"
1163
+ version = "0.2.0"
1164
+ source = "git+https://github.com/dietmarwo/optimization-jobs?rev=43ef3aee7be78274da529f10af5839a16bbf047e#43ef3aee7be78274da529f10af5839a16bbf047e"
1165
+ dependencies = [
1166
+ "clap",
1167
+ "fs2",
1168
+ "libc",
1169
+ "optimization-job-api",
1170
+ "serde",
1171
+ "serde_json",
1172
+ "tempfile",
1173
+ ]
1174
+
913
1175
  [[package]]
914
1176
  name = "paste"
915
1177
  version = "1.0.15"
@@ -1115,7 +1377,7 @@ dependencies = [
1115
1377
  "once_cell",
1116
1378
  "socket2",
1117
1379
  "tracing",
1118
- "windows-sys 0.61.2",
1380
+ "windows-sys 0.52.0",
1119
1381
  ]
1120
1382
 
1121
1383
  [[package]]
@@ -1302,6 +1564,19 @@ dependencies = [
1302
1564
  "semver",
1303
1565
  ]
1304
1566
 
1567
+ [[package]]
1568
+ name = "rustix"
1569
+ version = "1.1.5"
1570
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1571
+ checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d"
1572
+ dependencies = [
1573
+ "bitflags",
1574
+ "errno",
1575
+ "libc",
1576
+ "linux-raw-sys",
1577
+ "windows-sys 0.52.0",
1578
+ ]
1579
+
1305
1580
  [[package]]
1306
1581
  name = "rustls"
1307
1582
  version = "0.23.42"
@@ -1356,7 +1631,7 @@ dependencies = [
1356
1631
  "security-framework",
1357
1632
  "security-framework-sys",
1358
1633
  "webpki-root-certs",
1359
- "windows-sys 0.61.2",
1634
+ "windows-sys 0.52.0",
1360
1635
  ]
1361
1636
 
1362
1637
  [[package]]
@@ -1504,6 +1779,17 @@ dependencies = [
1504
1779
  "syn 2.0.119",
1505
1780
  ]
1506
1781
 
1782
+ [[package]]
1783
+ name = "sha2"
1784
+ version = "0.10.9"
1785
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1786
+ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
1787
+ dependencies = [
1788
+ "cfg-if",
1789
+ "cpufeatures 0.2.17",
1790
+ "digest",
1791
+ ]
1792
+
1507
1793
  [[package]]
1508
1794
  name = "shlex"
1509
1795
  version = "2.0.1"
@@ -1627,6 +1913,19 @@ version = "0.12.16"
1627
1913
  source = "registry+https://github.com/rust-lang/crates.io-index"
1628
1914
  checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
1629
1915
 
1916
+ [[package]]
1917
+ name = "tempfile"
1918
+ version = "3.27.0"
1919
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1920
+ checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
1921
+ dependencies = [
1922
+ "fastrand",
1923
+ "getrandom 0.4.3",
1924
+ "once_cell",
1925
+ "rustix",
1926
+ "windows-sys 0.52.0",
1927
+ ]
1928
+
1630
1929
  [[package]]
1631
1930
  name = "thiserror"
1632
1931
  version = "2.0.19"
@@ -1850,6 +2149,12 @@ version = "1.0.4"
1850
2149
  source = "registry+https://github.com/rust-lang/crates.io-index"
1851
2150
  checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
1852
2151
 
2152
+ [[package]]
2153
+ name = "utf8parse"
2154
+ version = "0.2.2"
2155
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2156
+ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
2157
+
1853
2158
  [[package]]
1854
2159
  name = "version_check"
1855
2160
  version = "0.9.5"
@@ -1975,15 +2280,37 @@ dependencies = [
1975
2280
  "safe_arch",
1976
2281
  ]
1977
2282
 
2283
+ [[package]]
2284
+ name = "winapi"
2285
+ version = "0.3.9"
2286
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2287
+ checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
2288
+ dependencies = [
2289
+ "winapi-i686-pc-windows-gnu",
2290
+ "winapi-x86_64-pc-windows-gnu",
2291
+ ]
2292
+
2293
+ [[package]]
2294
+ name = "winapi-i686-pc-windows-gnu"
2295
+ version = "0.4.0"
2296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2297
+ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
2298
+
1978
2299
  [[package]]
1979
2300
  name = "winapi-util"
1980
2301
  version = "0.1.11"
1981
2302
  source = "registry+https://github.com/rust-lang/crates.io-index"
1982
2303
  checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
1983
2304
  dependencies = [
1984
- "windows-sys 0.61.2",
2305
+ "windows-sys 0.52.0",
1985
2306
  ]
1986
2307
 
2308
+ [[package]]
2309
+ name = "winapi-x86_64-pc-windows-gnu"
2310
+ version = "0.4.0"
2311
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2312
+ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
2313
+
1987
2314
  [[package]]
1988
2315
  name = "windows-link"
1989
2316
  version = "0.2.1"
@@ -0,0 +1,30 @@
1
+ [workspace]
2
+ resolver = "2"
3
+ members = ["crates/fcmaes-core", "crates/fcmaes-gtop", "crates/fcmaes-py"]
4
+
5
+ [profile.release]
6
+ codegen-units = 1
7
+ lto = "thin"
8
+
9
+ [workspace.package]
10
+ version = "0.2.0"
11
+ edition = "2024"
12
+ rust-version = "1.88"
13
+ license = "MIT"
14
+ authors = ["Dietmar Wolz"]
15
+ repository = "https://github.com/dietmarwo/fcmaes-rust"
16
+
17
+ [workspace.dependencies]
18
+ fcmaes-surrogate = { path = "crates/fcmaes-surrogate" }
19
+ fcmaes-core = { path = "crates/fcmaes-core" }
20
+ fcmaes-gtop = { path = "crates/fcmaes-gtop" }
21
+ # The shared job API (envelope, result contract, worker SDK, runner) lives in
22
+ # github.com/dietmarwo/optimization-jobs; change the revision there first.
23
+ optimization-job-api = { git = "https://github.com/dietmarwo/optimization-jobs", rev = "43ef3aee7be78274da529f10af5839a16bbf047e" }
24
+ optimization-runner = { git = "https://github.com/dietmarwo/optimization-jobs", rev = "43ef3aee7be78274da529f10af5839a16bbf047e" }
25
+
26
+ # The runner and its workers hash their staged executables (tens of MB in
27
+ # debug builds) on every job start; unoptimized SHA-256 made debug start-up
28
+ # take seconds. Optimize just the hashing crate in dev and test builds.
29
+ [profile.dev.package.sha2]
30
+ opt-level = 3
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fcmaes-rust
3
- Version: 0.1.4
3
+ Version: 0.2.0
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3.11
@@ -20,13 +20,23 @@ Author: Dietmar Wolz
20
20
  License-Expression: MIT
21
21
  Requires-Python: >=3.11, <3.14
22
22
  Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
23
+ Project-URL: AI agent guide, https://github.com/dietmarwo/optimization-jobs/blob/main/ai-context.md
23
24
  Project-URL: Changelog, https://github.com/dietmarwo/fcmaes-rust/blob/main/CHANGELOG.md
24
25
  Project-URL: Documentation, https://dietmarwo.github.io/fcmaes-rust/
25
26
  Project-URL: Issues, https://github.com/dietmarwo/fcmaes-rust/issues
27
+ Project-URL: Optimization ecosystem, https://dietmarwo.github.io/optimization-jobs/
26
28
  Project-URL: Repository, https://github.com/dietmarwo/fcmaes-rust
29
+ Project-URL: Security, https://github.com/dietmarwo/fcmaes-rust/security/policy
27
30
 
28
31
  # fcmaes-rust for Python
29
32
 
33
+ **Choosing an optimization tool?** Start with the
34
+ [shared solver-selection and agent guide](https://github.com/dietmarwo/optimization-jobs/blob/main/ai-context.md) or the
35
+ [optimization ecosystem overview](https://dietmarwo.github.io/optimization-jobs/).
36
+ This distribution exposes the Rust optimizers to Python. For parallel
37
+ Python callbacks, compare with `fcmaes` (fast-cma-es); the job worker and
38
+ experimental surrogate are source-only components, not part of this wheel.
39
+
30
40
  `fcmaes-rust` provides Python access to fast, parallel, gradient-free
31
41
  optimization algorithms implemented in native Rust. The optimizer core is
32
42
  pure Rust and does not compile, link, or load the historical C++ backend.
@@ -40,6 +50,20 @@ python -m pip install fcmaes-rust
40
50
  The initial release supports CPython 3.11 through 3.13 on the platforms for
41
51
  which wheels are listed on PyPI.
42
52
 
53
+ To build from source, install Rust 1.88 or newer (https://rustup.rs), then
54
+ either let pip build the source distribution
55
+ (`python -m pip install --no-binary fcmaes-rust fcmaes-rust`) or build a
56
+ checkout of the repository:
57
+
58
+ ```bash
59
+ git clone https://github.com/dietmarwo/fcmaes-rust
60
+ cd fcmaes-rust
61
+ python -m pip install .
62
+ ```
63
+
64
+ The Python package depends on NumPy and SciPy and, at build time, on
65
+ crates.io crates only.
66
+
43
67
  ## Quick check
44
68
 
45
69
  ```python
@@ -9,7 +9,7 @@ repository.workspace = true
9
9
  description = "Fast, parallel, gradient-free optimization algorithms implemented in pure Rust."
10
10
  readme = "README.md"
11
11
  documentation = "https://docs.rs/fcmaes-core"
12
- homepage = "https://github.com/dietmarwo/fcmaes-rust"
12
+ homepage = "https://dietmarwo.github.io/fcmaes-rust/"
13
13
  keywords = [
14
14
  "optimization",
15
15
  "black-box",
@@ -0,0 +1,27 @@
1
+ src/pareto.rs is a Rust port derived from the C++ code of bitehv2.h in
2
+ Aleksey Vaneev's BiteOpt repository (https://github.com/avaneev/biteopt,
3
+ commit 5f86f50, 2026-10-13). The Rust port is by Dietmar Wolz; Aleksey
4
+ Vaneev's copyright covers the original C++ code. Both are distributed under:
5
+
6
+ MIT License
7
+
8
+ Copyright (c) 2026 Aleksey Vaneev (original C++ code, BiteOpt bitehv2.h)
9
+ Copyright (c) 2026 Dietmar Wolz (Rust port and adaptations)
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.