Commit Graph

437 Commits

Author SHA1 Message Date
Mizux Seiha
4f381f6d07 backport from main:
* bump abseil to 20250814
* bump protobuf to v32.0
* cmake: add ccache auto support
* backport flatzinc, math_opt and sat update
2025-09-16 16:25:04 +02:00
Mizux Seiha
805ef64029 Merge remote-tracking branch 'origin/main' into v99bugfix 2025-08-26 15:52:40 +02:00
Corentin Le Molgat
ba7e81f729 ortools: various export from google3 2025-08-22 14:24:48 +02:00
Corentin Le Molgat
2fd586595b bazel: fix more load statements 2025-08-06 10:57:31 +02:00
Guillaume Chatelet
6759325e87 Fix load statements 2025-07-24 16:37:06 +00:00
Guillaume Chatelet
5ffb66cdce Fix bazel load rules 2025-07-24 10:10:29 +02:00
Corentin Le Molgat
a7f49a2585 backport from main
* rename swig files .i in .swig
* update constraint_solver and routing
* backport math_opt changes
* move dynamic loading to ortools/third_party_solvers
2025-07-23 23:12:34 +02:00
Guillaume Chatelet
447ce0b3e2 Fix bazel load rules 2025-07-23 09:05:10 +00:00
Guillaume Chatelet
46f73b3d35 Backport trivial changes 2025-07-18 16:43:00 +02:00
Guillaume Chatelet
d869a1fd4c Backport trivial changes 2025-07-18 08:11:03 +00:00
Thibaut Cuvelier
2ef89ae3b8 Move the sample bin-packing solver from algorithms to set_cover, the only place it is used.
The main reason is that we have several solvers, including some being open-sourced, in the `packing/` folder.
2025-07-17 01:47:31 +02:00
Francesco Cavaliere
3aea3a8656 Column generation Bin Packing heuristic based on CFT (#4639)
* Laid down outer refinement tentative integration with existing code
* Fixed Refinement design, (still figuring out a clean way to integrate it)
* Adding base object accessor function to views
* Completed `ResetToIdentitySubModel` for `CoreModel` and `SubModelView`
* Minor numerical issues strenghtening
* Time statistics
* Improved subgradient stability with numerically challenging cases
* Removed subgradient stabilization (issues with core updates)
* Forcing core update at subgradient end
* Replacing std::cout with VLOGs
* Housekeeping
* CoreUpdate more robust to potential full-model changes
* Skip CoreUpdate when columns are rougthly the same number of rows
* Full-model does not require row-view anymore
* Added cft example
* More torough `FullToSubModelInvariantCheck`
* Better management of empty columns
* Improved `FullToSubModelInvariantCheck`
* Refactored `FullToCoreModel` column selection
* Minor `FullToCoreModel` cleaning
* Refactored `FullToCoreModel` to simplify extention with column generation
* BinPacking model
* Bin Packing instance readers
* Simple best fit greedy heuristic
* Simple initial bin generation
* Bin set
* Initial work on Bin Packing - Set Cover core model generator
* Simple knapsack greedy heuristic
* Simple Branch and bound for Knapsack (from Pisinger)
* Dyamic column generation in core model update
* CFT based bin packing heuristic example
* Split initial bin generation with randomized one
* Updated `bin_packing_cft.cc` example
* Fixed some problems with BPP column generation
* Added small test to bin_packing example
2025-07-10 18:03:17 +02:00
Corentin Le Molgat
1d0ff09af8 ortools: backport from main branch 2025-07-09 14:24:01 +02:00
Corentin Le Molgat
781ead7283 ortools: export from google3 2025-07-09 14:13:35 +02:00
Corentin Le Molgat
9991028e4a ortools: export from google3 2025-07-07 15:39:38 +02:00
Guillaume Chatelet
914025a5f8 Turn some .i files into .swig
This helps with the import / export process.
2025-07-03 11:02:22 +02:00
Guillaume Chatelet
6af8bd54b4 Turn some .i files into .swig
This helps with the import / export process.
2025-07-02 19:11:40 +00:00
Laurent Perron
5b1376b9df small cleaning 2025-07-01 16:51:11 +02:00
Laurent Perron
e25617bac8 reindent; span 2025-06-11 15:03:14 +02:00
Corentin Le Molgat
569bb0baff bazel: cleanup BUILD.bazel 2025-05-26 15:33:21 +02:00
Corentin Le Molgat
7518c717ed bazel: cleanup BUILD.bazel 2025-05-26 15:07:03 +02:00
Mizux Seiha
7fc67a4468 bazel: update deps
* don't use repo name
* Bump abseil-cpp to 20250512.0
* Bump Protobuf to 31.0
* Bump benchmark to 1.9.2
* Bump googletest to 1.17.0
2025-05-22 14:42:28 +02:00
Mizux Seiha
ed1b05d1d8 bazel: update deps
* don't use repo name
* Bump abseil-cpp to 20250512.0
* Bump Protobuf to 31.0
* Bump benchmark to 1.9.2
* Bump googletest to 1.17.0
2025-05-22 03:12:46 +02:00
Corentin Le Molgat
fdfc6af03e rework ortools samples (#4590) 2025-05-16 18:02:19 +02:00
Corentin Le Molgat
17498776bf algorithms: export from google3 2025-05-16 18:02:19 +02:00
Corentin Le Molgat
88c57dd1f0 rework ortools samples (#4590) 2025-05-16 14:51:23 +02:00
Corentin Le Molgat
9355534e7d algorithms: export from google3 2025-05-16 14:13:21 +02:00
Corentin Le Molgat
6351d3b3f1 set_cover: backport from main 2025-04-30 15:15:39 +02:00
Corentin Le Molgat
23860f1c28 algorithms: Fix README 2025-04-15 18:11:23 +02:00
Mizux Seiha
8282915d11 cmake: Add USE_fuzztest option 2025-03-27 18:13:29 +01:00
Mizux Seiha
ccca0602d5 cmake: Add USE_fuzztest option 2025-03-27 17:03:28 +01:00
Corentin Le Molgat
f17646132c bazel: rename com_google_absl as abseil-cpp 2025-03-26 11:42:18 +01:00
Corentin Le Molgat
05e3190929 bazel: rename com_google_absl to abseil-cpp 2025-03-24 18:21:42 +01:00
Corentin Le Molgat
6d6916060d cmake: add fuzztest 2025-03-19 15:51:56 +01:00
Corentin Le Molgat
3622b4f7d0 backport fixup from main 2025-03-13 16:54:58 +01:00
Laurent Perron
a4b37b6465 large sync with main 2025-03-07 10:33:36 +01:00
Corentin Le Molgat
92e4b2e78b Revert "remove dead cmake code"
This reverts commit 14005fea48.
2025-03-07 08:00:28 +01:00
Laurent Perron
14005fea48 remove dead cmake code 2025-03-05 14:03:59 +01:00
Mizux Seiha
56fde74a11 move set_cover 2025-03-04 21:06:53 +01:00
Mizux Seiha
8ad77acc62 cmake: build algorithms/python tests 2025-03-04 17:43:32 +01:00
Mizux Seiha
80686581f4 backport from main 2025-02-25 16:04:20 +01:00
Corentin Le Molgat
d4acbe81ce replace base/logging.h by absl/log/log.h 2025-02-25 11:16:30 +01:00
Laurent Perron
ee23527569 big includes cleanup 2025-02-24 22:59:21 +01:00
Laurent Perron
8e1c4c3633 more work on includes 2025-02-21 16:37:06 +01:00
Laurent Perron
1acdd5d6af massive cleanup of includes; work on CP-SAT routing cuts 2025-02-21 15:14:38 +01:00
Laurent Perron
598e884110 improve binary search code 2025-02-19 13:30:36 +01:00
Laurent Perron
4efd54f5f0 move set_cover code in its own directory 2025-02-17 12:52:36 +01:00
Corentin Le Molgat
fc237eaf0d export from google3 2025-02-10 14:26:48 +01:00
Corentin Le Molgat
e6dbe93542 export from google3 2025-02-10 13:47:41 +01:00
Corentin Le Molgat
281a9f8e14 export from google3 2025-02-07 17:29:05 +01:00