Commit Graph

2270 Commits

Author SHA1 Message Date
Corentin Le Molgat
b05315de21 sat: backport from main 2025-09-22 17:24:20 +02:00
Laurent Perron
a841258da7 [CP-SAT] misc improvements to the internals; more work on general constraints with enforcements 2025-09-17 07:47:03 +02:00
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
Corentin Le Molgat
e53a7fa6f9 cleanup from google3 2025-08-25 10:15:34 +02:00
Laurent Perron
e02b6a013c [CP-SAT] update code, mostly small bug fixes 2025-08-22 16:06:35 -07:00
Corentin Le Molgat
56882dd719 sat: remove license boilerplate in MD 2025-08-20 11:31:36 +02:00
Corentin Le Molgat
d206973ced bazel: fix sat loads 2025-08-08 09:07:52 +02:00
Laurent Perron
32bd8e0209 [CP-SAT] small cleanup, more work on linear2 2025-07-31 13:57:50 -07:00
Laurent Perron
9fa9bd4da4 [CP-SAT] better dtime for scheduling constraints; connect the time limit in the repair_hint mode; fix #4743 2025-07-29 09:07:13 -07:00
Laurent Perron
99ede3bbde [CP-SAT] more polishing on the python API; fix #4733; improve linear2 processing 2025-07-28 10:34:04 -07:00
Laurent Perron
374cc3e596 polish code 2025-07-27 15:29:20 -07:00
Laurent Perron
a0e25debc5 [CP-SAT] extend support for enforcement literals in constraints 2025-07-26 21:29:40 +02:00
Laurent Perron
8b4c79dd75 [CP-SAT] Python: rewrite support for variable numbers of arguments 2025-07-26 21:29:09 +02:00
Laurent Perron
f2cf147e79 [CP-SAT] rewrite and speed up the python layer; extend support for enforcement literals to more constraints 2025-07-24 23:51:00 +02:00
Guillaume Chatelet
6759325e87 Fix load statements 2025-07-24 16:37:06 +00:00
Guillaume Chatelet
447ce0b3e2 Fix bazel load rules 2025-07-23 09:05:10 +00:00
Guillaume Chatelet
8098080ff3 Merge pull request #4735 from google/backport_string_view_migration
Backport string_view_migration.h
2025-07-21 10:01:20 +02:00
Guillaume Chatelet
924ba73402 Fix
* Re-introduce it in base/ BUILD.bazel
* Add explicit deps in every target using it
2025-07-18 16:18:11 +00:00
Guillaume Chatelet
7db9c0e956 Backport string_view_migration.h 2025-07-18 11:59:34 +00:00
Guillaume Chatelet
d869a1fd4c Backport trivial changes 2025-07-18 08:11:03 +00:00
Laurent Perron
04d0dbc606 [CP-SAT] optimize the python layer 2025-07-17 17:51:53 +02:00
Laurent Perron
0720713896 [CP-SAT] simplify python proto generation workflow 2025-07-17 12:55:17 +02:00
Laurent Perron
ed8f74273c fix python cp-sat under bazel 2025-07-16 17:41:50 +02:00
Laurent Perron
a42647f9cf improve 2d packing 2025-07-16 17:41:33 +02:00
Laurent Perron
d14aa7a85a cleanups 2025-07-16 17:41:16 +02:00
Laurent Perron
e5dc796ef6 [CP-SAT] remove the use of python protobufs; use proxies to C++ protobufs instead; this changes slightly the API of these proto for parameters 2025-07-16 16:55:49 +02:00
Corentin Le Molgat
7acf422f66 sat: Fix routes_support_graph.proto namespace 2025-07-07 10:37:10 +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
8ed3f8d995 [CP-SAT] more tuning on shared tree workers; add parameter to limit linear2 efforts on restarts 2025-06-24 21:08:27 +02:00
Laurent Perron
0ac20dfcd7 [CP-SAT] improve precedences; fix #4693; tweak shared tree workers 2025-06-23 17:33:30 +02:00
Laurent Perron
c14e54cf82 [CP-SAT] print a solution after a SIGTERM; improve precedences 2025-06-20 15:11:37 +02:00
Laurent Perron
9888ce3da1 polish third_party_solvers; speed up cp-sat on no_ovrlap_2d 2025-06-19 14:08:49 +02:00
Laurent Perron
e3d4f349fe [CP-SAT] more work on precedences; and no_overlap_2d 2025-06-17 12:48:24 +02:00
Laurent Perron
63b9ecdfd7 [CP-SAT] tweak and improve code 2025-06-13 13:14:13 +02:00
Laurent Perron
8ff5dbee6a [CP-SAT] split intervals in disjoint sets for scheduling cuts 2025-06-13 13:13:51 +02:00
Laurent Perron
8abc6da4dd cleanup python expression code for cp-sat and model-builder 2025-06-13 13:13:26 +02:00
Laurent Perron
4953c79d18 [CP-SAT] more work on precedences 2025-06-12 14:05:23 +02:00
Laurent Perron
b1d5100c3b improve python exprs 2025-06-12 14:04:51 +02:00
Laurent Perron
7d58c118f6 improve python exprs 2025-06-12 11:52:00 +02:00
Laurent Perron
43c874a733 fix 2025-06-12 11:18:26 +02:00
Laurent Perron
d1c3c7f84b [CP-SAT] more work on precedences 2025-06-12 11:11:26 +02:00
Laurent Perron
c229e9facd [CP-SAT] improve python layer for += and -= operators 2025-06-12 11:11:12 +02:00
Laurent Perron
9ca57ad2cd [CP-SAT] more precedence handling; minor python improvements 2025-06-11 15:03:52 +02:00
Laurent Perron
d3617d58b2 proper fix 2025-06-11 12:44:21 +02:00
Laurent Perron
64fcba4be7 [CP-SAT] work on precedences; fix bug in scheduling cuts 2025-06-10 17:25:55 +02:00
Laurent Perron
b448993cae fix 2025-06-05 11:33:19 +02:00
Laurent Perron
55fbc3d2df fix 2025-06-02 15:41:00 +02:00
Laurent Perron
29fabd91f7 [CP-SAT] stronger no_overlap_2d variation 2025-06-02 14:53:51 +02:00