Corentin Le Molgat
e0f74bd698
sat: fix probing.cc implem against stdc++17
...
note: Invented public ctor `A(a, b, v)` not defined in c++17
ref: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0960r2.html
2026-01-09 10:34:14 +01:00
Corentin Le Molgat
1ed9a17980
sat: fix probing.cc compilation on windows
2026-01-08 09:04:19 -08:00
Corentin Le Molgat
87e8e340d8
sat: disable deprecated warnings in cp_model.py
...
User can reenable them using:
```py
from ortools.sat.python import cp_model
cp_model.enable_warnings = True
```
2026-01-08 15:52:28 +01:00
Guillaume Chatelet
204b31a748
Refactor MPSolver interface registration to include runtime readiness checks. ( #4973 )
...
This PR is removing the need for `linear_solver` to depend on `GurobiIsCorrectlyInstalled` and `XpressIsCorrectlyInstalled`.
2026-01-08 15:02:48 +01:00
Laurent Perron
6a603cc183
[CP-SAT] fix rare crash
2026-01-08 13:09:17 +01:00
Corentin Le Molgat
708262c716
sat: fix compilation error
2026-01-07 17:46:34 +01:00
Corentin Le Molgat
f72f9eea98
sat: backport README from main
2026-01-07 16:19:03 +01:00
Laurent Perron
8d3645a6cd
[CP-SAT] fix vivification bug; more work on encodings
2026-01-07 16:18:00 +01:00
Guillaume Chatelet
74a9ed242d
Move course_scheduling from examples to ortools/scheduling ( #4972 )
...
Also export tests for Bazel
2026-01-07 16:16:08 +01:00
Corentin Le Molgat
a7ffad1950
fixup remove of examples/tests ( #4971 )
2026-01-07 16:16:00 +01:00
Guillaume Chatelet
caab346d4d
Remove examples/tests folder ( #4971 )
...
This folder was mostly used to store reproducers for issues but were never proper tests.
2026-01-07 15:58:19 +01:00
Guillaume Chatelet
30a7baee6d
Add vector reserve to examples/cpp
2026-01-07 15:57:38 +01:00
Laurent Perron
c8d7710fd7
[CP-SAT] more work on lrat, regroup linear1 presolve methods
2026-01-07 15:57:21 +01:00
Guillaume Chatelet
b28edf1d04
Fix warning 'control reaches end of non-void function' ( #4964 )
2026-01-07 15:56:33 +01:00
Laurent Perron
0782d13065
[CP-SAT] work on lrat, clause congruence, inprocess ; bug fixes
2026-01-07 15:51:36 +01:00
Guillaume Chatelet
9190a5d819
[bazel] Fix remaining licence directive
2026-01-07 15:51:22 +01:00
Guillaume Chatelet
40ff9caa88
Propagate nullability ( #4959 )
2026-01-07 15:50:13 +01:00
Guillaume Chatelet
5a867fd457
Add nullability to SolveInterrupter in linear solver ( #4958 )
2026-01-07 15:50:08 +01:00
Guillaume Chatelet
a05ea60fd5
Prevents presubmit runs on different branches from canceling each other.
2026-01-07 15:49:16 +01:00
Laurent Perron
0fe7cb5dbd
fixes
2026-01-07 15:48:58 +01:00
Guillaume Chatelet
f4fdf9466f
Update Bazel linear solver build ( #4956 )
2026-01-07 15:48:46 +01:00
Guillaume Chatelet
b8b9a5170a
Small fixes ( #4957 )
2026-01-07 15:47:30 +01:00
Corentin Le Molgat
29a2cbf0a7
julia: add first version of ORToolsBinaries.jl
2026-01-07 15:06:35 +01:00
Mizux Seiha
642c19b38a
tools/release: workaround stubgen timeout on macos M1
2026-01-06 17:49:20 +01:00
Mizux Seiha
91afd9da75
tools/release: fix macos protoc-gen-mypy check
2026-01-06 17:49:20 +01:00
Corentin Le Molgat
4f5557884f
cmake: fix soplex boost check in a super build
2026-01-05 18:19:20 +01:00
Corentin Le Molgat
a790483ba1
cmake: Fix windows LNK1189 error ( #4627 )
2026-01-05 03:46:42 -08:00
Mizux Seiha
5ed34077c7
tools/docker: fix cmake install
...
while debian-12 provide cmake 3.25.1 this one still not support SYSTEM option in FetchContent
2025-12-22 14:10:33 +01:00
Mizux Seiha
c3164316fb
examples: regenerate notebook
2025-12-19 15:01:21 +01:00
Corentin Le Molgat
2f299d5d51
tools/release: Fix maven install
...
note: dlcdn have uploaded 3.9.12 on December 16th and removed the previous one...
2025-12-17 13:05:07 +01:00
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
Mizux Seiha
447ab9bfbb
algorithms: disable knapsack_solver_test.py if SCIP no unavailable
2025-12-16 20:56:30 +01:00
Corentin Le Molgat
b0391683a6
cmake: fix python build when BUILD_TESTING=OFF
2025-12-16 14:55:18 +01:00
Mizux Seiha
e066455f29
algorithms: fix windows build when SCIP support is off
2025-12-16 12:26:43 +01:00
corentinl
784c4fecb4
git: renormalize some files
...
wrong clrf
2025-12-15 17:06:07 +01:00
Corentin Le Molgat
17fc2ae92b
tools/docker: fix dockerfile warning
2025-12-15 15:47:36 +01:00
Corentin Le Molgat
c44eb1859f
bazel(ci): fix fedora build by forcing the java_runtime_version
2025-12-15 15:44:51 +01:00
Guillaume Chatelet
8802f29059
Disable range-loop-construct warnings ( #4951 )
2025-12-15 15:44:46 +01:00
Guillaume Chatelet
7f22b7208c
Create a presubmit CI ( #4934 )
2025-12-15 15:28:50 +01:00
Laurent Perron
39b915c763
fix
2025-12-15 15:27:43 +01:00
Guillaume Chatelet
ae82a37616
Fix various warnings ( #4950 )
2025-12-15 13:59:54 +01:00
Guillaume Chatelet
b6883f0efc
Update Bazel Python ( #4949 )
2025-12-15 13:59:46 +01:00
Laurent Perron
4dab47eaa6
[CP-SAT] bugfixes
2025-12-15 13:59:08 +01:00
Corentin Le Molgat
c0b5917c07
math_opt: fix xpress_solver build on windows
2025-12-15 13:08:16 +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
b6c198050d
misc
2025-12-15 13:07:23 +01:00
Guillaume Chatelet
e55172a5d2
Make fetched library SYSTEM to reduce warning clutter ( #4947 )
2025-12-15 13:07:12 +01:00
Guillaume Chatelet
69dc22f35d
Update linear solver build ( #4945 )
2025-12-15 13:06:58 +01:00
Guillaume Chatelet
6d76575f3d
Format xpress files
2025-12-15 13:06:04 +01:00