AliReZa Sabouri
ad91b2ddd3
Remove sealed modifier and implement standard dispose pattern for CpSolver
...
The sealed modifier was unnecessarily breaking inheritance for users who need
to extend CpSolver. The standard IDisposable pattern with protected virtual
Dispose(bool) allows safe inheritance while maintaining proper resource cleanup.
This change:
- Removes the sealed modifier from CpSolver class
- Implements the standard dispose pattern with protected virtual Dispose(bool)
- Allows derived classes to override disposal behavior safely
- Maintains backward compatibility for existing non-inheriting code
2025-12-17 11:42:05 +01:00
Laurent Perron
39b915c763
fix
2025-12-15 15:27:43 +01:00
Laurent Perron
4dab47eaa6
[CP-SAT] bugfixes
2025-12-15 13:59:08 +01:00
Corentin Le Molgat
146566e2be
sat: increase time limit in test_issue4376_minimize_model ( fix #4941 )
2025-12-15 13:07:57 +01:00
Laurent Perron
562ffd7eed
[CP-SAT] more work on lrat; cleanup memory management in scheduling clauses; improve encoded only variable expansion; fix a few bugs
2025-12-15 13:07:29 +01:00
Laurent Perron
4a2de332ce
[CP-SAT] bug fixes, memory utilization reduction; more work on lrat
2025-12-09 19:09:37 +01:00
Guillaume Chatelet
7345481dfe
Remove fuzztest support from OR-Tools ( #4938 )
...
* Remove fuzztest support from OR-Tools
2025-12-08 11:31:29 +01:00
Laurent Perron
b7d1dc65dc
[CP-SAT] more work on lrat; canonicalize Boolean variables in a few more places
2025-12-08 11:24:06 +01:00
Laurent Perron
3b18bdd58b
[CP-SAT] morework on lrat
2025-12-05 08:27:10 +01:00
Guillaume Chatelet
b880e0fb64
Use new bintest framework ( #4928 )
2025-12-02 15:33:12 +01:00
Laurent Perron
cfdbc48ad2
fix
2025-12-01 17:48:20 +01:00
Laurent Perron
1623b1cb18
[CP-SAT] add soft constraint examples
2025-12-01 17:48:15 +01:00
Laurent Perron
993ac168d6
[Python] improve support for gil-less python 3.14
2025-12-01 17:48:09 +01:00
Laurent Perron
56613156ce
[CP-SAT] work on lrat; work in inprocessing; fix bug with reduced variables domains and hints
2025-12-01 17:44:18 +01:00
Laurent Perron
fce013c63e
tentative fix for #4929
2025-12-01 17:44:11 +01:00
Laurent Perron
cd37bacd2a
backport sat from main
2025-11-24 16:26:34 +01:00
Laurent Perron
7adffccc0d
[CP-SAT] more work on encodings, lrat
2025-11-21 11:21:34 +01:00
Laurent Perron
6b518a65e5
[CP-SAT] fix bugs in lrat, inner clause handling, variable expansion
2025-11-18 23:24:48 +01:00
Laurent Perron
44dd600b9e
fix
2025-11-18 16:24:25 +01:00
Laurent Perron
72d75ca109
[CP-SAT] work on lrat; better expansion of variables only appearing in encoding constraints
2025-11-18 16:24:18 +01:00
Laurent Perron
b67dc02476
fix #4907
2025-11-12 17:21:11 +01:00
Laurent Perron
29ffc72cf3
[CP-SAT] work on lrat; probing; variable encoding
2025-11-12 17:21:04 +01:00
Laurent Perron
a7fc26854a
[CP-SAT] Work on linear1 encodings; more work on lrat; cleanup linear2 code; work on probing
2025-11-05 15:17:38 +01:00
Laurent Perron
dadaff8ca3
fix #4746
2025-11-05 15:17:34 +01:00
Corentin Le Molgat
1b4d75ceb3
sat: backport from main
2025-11-05 13:55:12 +01:00
Corentin Le Molgat
c8935fcfdf
backport from main
2025-11-05 12:05:41 +01:00
Corentin Le Molgat
b4b226801b
update include guards
2025-11-05 11:54:02 +01:00
Guillaume Chatelet
d8d50bae68
Update thread_pool code ( #4890 )
2025-11-05 11:29:40 +01:00
Corentin Le Molgat
159110560a
sat: backport from main
2025-10-16 13:07:26 +02:00
Corentin Le Molgat
b294ff6de2
bazel: backport java rework from main
2025-10-16 13:02:37 +02:00
Guillaume Chatelet
8710e86e8a
Test export
2025-10-16 11:43:45 +02:00
ChenHaoHSU
53f70212f8
Add constant term in DoubleLinearExpr::AddExpression
2025-10-16 11:43:09 +02:00
Guillaume Chatelet
57a820fc59
[bazel] Update the samples folders
2025-10-02 08:48:00 +02:00
Guillaume Chatelet
e1f2e3f0d7
Remove unneeded string_view_migration
2025-10-01 08:08:36 +02:00
Guillaume Chatelet
3d96b9a6ac
[bazel] mark a few more tests as manual
2025-10-01 08:08:16 +02:00
Corentin Le Molgat
1fb6be30b5
sat: backport presolve update from main
2025-09-29 16:59:15 +02:00
Laurent Perron
0cbdbb78f1
[CP-SAT] little cleanups
2025-09-29 16:35:28 +02:00
Laurent Perron
5d85f840b5
[CP-SAT] fix #4839 ; experimental code for lrat checker; experimental code to control the boolean expansion of small linear2 equations
2025-09-29 16:35:16 +02:00
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