Commit Graph

1490 Commits

Author SHA1 Message Date
Laurent Perron
33fd1f910d [CP-SAT] better presolve when an at_most_one/exactly_one appears a linear constraint 2022-05-12 14:09:18 +02:00
Laurent Perron
ba15d312ba [CP-SAT] improve cuts diversity; fix infinite loop in the ttef constraint; improve var domination; remove wrong DCHECK 2022-05-11 17:23:59 +02:00
Laurent Perron
71336d84b8 [CP-SAT] always display the number of Boolean variables in the model summary 2022-05-09 15:56:18 +02:00
Laurent Perron
3ed32f3dd3 [CP-SAT] Add new scheduling lns; improve cover cuts; improve the propagation of the timetable constraint; speed-up domination detection (abort early if possible); remove deprecated knapsack cut code 2022-05-09 14:44:50 +02:00
Laurent Perron
7a46833a12 fix #3283: implement clear objective method in CP-SAT 2022-05-07 10:37:29 +02:00
Laurent Perron
d99e3c679c fix #3253 2022-04-25 15:35:31 +02:00
Laurent Perron
a1e6a11876 fix #3257 2022-04-25 15:08:10 +02:00
Laurent Perron
5b87373be5 [CP-SAT] work on scheduling cuts 2022-04-21 17:29:56 +02:00
Laurent Perron
e3eb35132b [CP-SAT] add more CpModel C++ methods; fix #3248; fix #3251; specify restrictions in cp_model.proto 2022-04-21 16:28:13 +02:00
Laurent Perron
20b1c7eeab [CP-SAT] Speedup timetable, fix bug in base SAT engine, improve scheduling cuts 2022-04-20 17:38:59 +02:00
Laurent Perron
3ba6968b67 [CP-SAT] improve scheduling cuts and explanations 2022-04-14 16:42:13 +02:00
Laurent Perron
0f99350f64 [CP-SAT] improve scheduling code (propagator, cuts) 2022-04-13 17:29:48 +02:00
Laurent Perron
7de828681c [CP-SAT] better fix for presolve crash when interrupted 2022-04-08 11:58:54 +02:00
Laurent Perron
74d5a10f50 minor sync 2022-04-08 11:01:13 +02:00
Laurent Perron
06bee0db52 [CP-SAT] bugfixes; more work on cuts on graphs 2022-04-07 18:21:56 +02:00
Laurent Perron
9d1803cee2 [CP-SAT] bugfixes; more work on cuts on graphs 2022-04-07 17:59:22 +02:00
Laurent Perron
f85534c694 polish scheduling cuts 2022-04-06 18:33:49 +02:00
Laurent Perron
2a5a2b7069 remove types warnings; add stronger scheduling cuts 2022-04-06 17:33:00 +02:00
Laurent Perron
f698ff22a0 const -> constexpr 2022-04-02 19:43:19 +02:00
Laurent Perron
270bd53958 cleanup 2022-03-31 18:21:53 +02:00
Laurent Perron
81d110eed5 reformat 2022-03-31 11:36:33 +02:00
Laurent Perron
6ce0856c85 better fix 2022-03-30 17:31:22 +02:00
Laurent Perron
afa881ae69 fix 2022-03-30 15:45:25 +02:00
Laurent Perron
18d3f72160 run python sat samples with bazel 2022-03-30 13:12:32 +02:00
Laurent Perron
236da8e968 fix display of lb_tree_search 2022-03-29 18:00:01 +02:00
Laurent Perron
2df403eff8 fix fuzzer bugs 2022-03-26 16:40:53 +01:00
Laurent Perron
1605046dba remove diffn energetic propagator, use the cumulative_energy overload checker 2022-03-21 17:37:47 +01:00
Laurent Perron
fa4f0fe482 fix #3168 2022-03-15 13:57:28 +01:00
Laurent Perron
13dbe6a387 [CP-SAT] fix crash in core search and in presolve; add more needed stl includes 2022-03-14 15:06:11 +01:00
Laurent Perron
525162feaa remove wrong presolve message 2022-03-11 19:31:21 +01:00
Laurent Perron
a6a49b0772 remove wrong presolve message 2022-03-11 19:31:06 +01:00
Laurent Perron
1752f06c6e remove wrong presolve message 2022-03-11 19:26:22 +01:00
Laurent Perron
c82cfdc9ad remove map_util from most of the code; absl::make_unique and absl::optional -> stl version 2022-03-09 09:08:40 +01:00
Corentin Le Molgat
0466c9f6bf python: remove __init__.py
now you'll need to always use a wheel package
avoid some issue when trying to run venv from root dir
e.g. `./build/python/venv/bin/python -c "from ortools.pdlp import solve_log_pb2"`
2022-02-28 08:52:31 +01:00
Laurent Perron
19667205a2 std::set/map -> absl::btree_set/map 2022-02-25 09:47:39 +01:00
Laurent Perron
57a84edf47 backtrack last PR 2022-02-24 17:58:22 +01:00
Laurent Perron
f1191a0e8f maintenance on the CP-SAT core 2022-02-24 17:41:17 +01:00
Laurent Perron
5e41f40c2f remove range-loop warnings from the sat code 2022-02-24 14:17:43 +01:00
Laurent Perron
cf4e676058 fix bug in var domination 2022-02-24 11:59:10 +01:00
Laurent Perron
f7889e9dbc fix bug in var domination 2022-02-24 11:55:51 +01:00
Laurent Perron
929c88315a fix presolve bug 2022-02-24 11:28:40 +01:00
Corentin Le Molgat
3ec462f647 sat: Update doc toc generation 2022-02-23 17:42:27 +01:00
Laurent Perron
6d7ea81ae7 few bugfixes in CP-SAT 2022-02-23 17:10:23 +01:00
Corentin Le Molgat
8a83e4265b doc: mv doc/ to docs/ 2022-02-23 16:19:26 +01:00
Laurent Perron
f812debc11 fix python test 2022-02-23 15:43:04 +01:00
Laurent Perron
d95e0a0f0c fix CP-SAT python samples not stopping 2022-02-23 13:04:03 +01:00
Laurent Perron
2e7d046b94 fix 2022-02-23 11:33:14 +01:00
Laurent Perron
db9c8237d0 remove debug print 2022-02-22 23:13:37 +01:00
Laurent Perron
d0aec755ad release lock 2022-02-22 22:52:11 +01:00
Laurent Perron
833ae17e99 Use pybind11 instead for swig for sorted_interval_list and cp_sat swig_helper; speed up CP-SAT presolve; add missing std includes 2022-02-22 18:33:45 +01:00