Commit Graph

250 Commits

Author SHA1 Message Date
Corentin Le Molgat
06738a693d algorithms: google3 sync 2023-10-20 15:08:37 +02:00
Corentin Le Molgat
98de7d0bd0 bazel: Add algorithms test 2023-10-19 17:07:09 +02:00
Laurent Perron
d0eb8dd3d8 cleanups 2023-10-16 15:36:24 +02:00
Corentin Le Molgat
69874c9b26 fixup from google3 2023-10-09 15:07:30 +02:00
Laurent Perron
81cd6ebd39 small cleanups 2023-09-28 14:27:37 +02:00
Mizux Seiha
d8634ab0f2 cmake: Split math_opt into sub library
XCode do not support object library with several file with the same name
since it use a flat directory, Xcode "fix" using a UID but CMake can't catch it.

math_opt also use a parameters.proto which conflict with the
glop/parameters.proto -> need to split the proto to .cc generation in
two libraries
2023-09-25 10:46:02 +02:00
Corentin Le Molgat
666f750c23 algorithms: Export from google3 2023-09-25 10:45:33 +02:00
Laurent Perron
dc499a8358 templatize dynamic_partition 2023-09-21 13:04:00 +02:00
Laurent Perron
cafbcb17a3 polish/fix/cleanup includes 2023-09-05 17:09:29 +02:00
Laurent Perron
6c0ee38fcb remove obsolete macro 2023-08-30 10:04:47 -04:00
Laurent Perron
fa6883d544 mostly cleaning: remove integral_types.h and basictypes.h 2023-08-24 14:52:54 +02:00
Corentin Le Molgat
d46ebfeabf integral_types.h to types.h 2023-08-18 16:14:58 +02:00
Corentin Le Molgat
5260ad432e Update set_cover_reader.cc 2023-07-31 18:12:26 +02:00
Corentin Le Molgat
45b5e1c917 export algorithms from google3/ 2023-07-28 11:27:44 +02:00
Laurent Perron
8dbcd49e1b reformat 2023-07-24 13:20:45 -07:00
Laurent Perron
38401203d2 Fix test with USE_SCIP=OFF 2023-07-21 09:20:17 -07:00
Corentin Le Molgat
ffe1a9caa5 Fix indent 2023-07-13 18:56:39 +02:00
Corentin Le Molgat
c368a4d9fa example: Fix python formating 2023-07-13 14:28:36 +02:00
Corentin Le Molgat
2ed2a6948d algorithms: sync with google3 2023-07-07 16:19:40 +02:00
Corentin Le Molgat
7e175070fd Fix windows build 2023-07-06 06:52:34 -07:00
Corentin Le Molgat
edefa5d8a7 fix benchmark.h include 2023-07-05 18:34:44 +02:00
Corentin Le Molgat
2950cfc30e algorithms: Export from google3 2023-07-05 13:10:41 +02:00
Laurent Perron
346642b871 remove the pywrap prefix from pybind11 modules; add _pybind to the cmake target of the same modules 2023-07-03 14:30:27 +02:00
Laurent Perron
32175c9c3b remove pywrap prefix for pybind11 generated modules 2023-07-03 12:46:51 +02:00
Laurent Perron
ffefb698e5 add pybind11 doc to knapsack_solver 2023-07-02 08:11:12 +02:00
Laurent Perron
4ebb72c5a4 fixes 2023-07-01 06:36:11 +02:00
Laurent Perron
91c1adc3e1 use snake case in knapsack_solver 2023-07-01 06:08:49 +02:00
Laurent Perron
c3fdb12908 Switch algorithms and scheduling python libraries from swig to pybind11; switch protobuf support from forced serialization to pybind11_protobuf -- with patch; [CP-SAT] rewrite cut management; reformat samples with black 2023-06-30 22:49:35 +02:00
Laurent Perron
a743431365 start reformating with black 2023-06-27 14:21:34 +02:00
Corentin Le Molgat
bd3bafbd07 export algorithms/ 2023-06-21 08:42:31 +02:00
Laurent Perron
ff8c4fb682 rewrite weighted_set_covering 2023-06-17 12:06:11 +02:00
Corentin Le Molgat
e822f9dd16 algorithms: sync with google3 2023-06-02 08:53:08 +02:00
Laurent Perron
dfc36c7d7b typos, missing includes, automatic lint fixes 2023-05-30 23:23:26 +02:00
Mizux Seiha
53c1e40969 swig: Fix define definition
need to set ABSL_MUST_USE_RESULT to empty string so '=' is mandatory
2023-05-30 14:49:13 +02:00
Corentin Le Molgat
192e690204 cmake: cleanup 2023-05-24 15:39:37 +02:00
Laurent Perron
1ddb664de1 better fix 2023-05-04 18:47:02 +02:00
Laurent Perron
3d495ba896 better fix 2023-05-04 18:19:40 +02:00
Laurent Perron
dd72f26928 disable faulty static assert 2023-05-04 00:38:16 +02:00
Corentin Le Molgat
b52afae4a0 fixup 2023-05-03 14:20:07 +02:00
Laurent Perron
c84cf907b4 fix 2023-05-03 12:08:33 +02:00
Corentin Le Molgat
28c908f392 export from google3
* Add base/callback.h
* Add algorithms/duplicate_remover.h
* Add algorithms/weighted_set_covering.h

* export algorithms unit tests (not running them yet)
* Few cleanup here and there
2023-04-27 13:11:47 +02:00
Corentin Le Molgat
7665b677e5 Update CMakeLists.txt 2023-04-05 10:36:55 +02:00
Laurent Perron
1bf61aea43 [CP-SAT] highly experimental feasibility jump implementation 2023-03-31 16:01:15 +02:00
Laurent Perron
a6d004cf72 add ortools/algorithms/binary_search.h 2023-03-22 19:25:11 +01:00
Corentin Le Molgat
1e0f4027e2 bazel: Fix java tests/samples run
* remove: code_samples_java_test
* Fix jvm library path on windows
2023-03-06 15:45:23 +01:00
Corentin Le Molgat
6c6c7d1902 bazel: Rework java support
Fix swig_java.bzl
2023-03-02 17:41:10 +01:00
Laurent Perron
fd64b1b474 minor tweaks 2023-02-20 18:10:22 +01:00
Corentin Le Molgat
41d60ad520 cmake: Fix SWIG build
Still need to define ABSL_MUST_USE_RESULT= even with swig 4.1.1
2023-02-06 08:47:46 +01:00
Corentin Le Molgat
9054f13f95 cmake: remove ABSL_MUST_USE_RESULT for swig
should be fixed with absl upstream + swig 4.1 now support attibute
2023-02-06 08:47:46 +01:00
Laurent Perron
e9f9404923 Remove logging code; use absl one 2023-01-31 20:46:43 +01:00