15817 Commits

Author SHA1 Message Date
Corentin Le Molgat
79e340fd50 bazel: update requirements 2026-03-31 09:58:46 +02:00
Thibaut Cuvelier
c75586ff7d Merge pull request #5108 from google/julia/bins
Update ORToolsBinaries to 0.1.0
2026-03-30 15:11:57 +02:00
Thibaut Cuvelier
f03ab69be8 Tag 0.1.0.
Apparently, the changes were breaking.
2026-03-30 14:43:10 +02:00
Thibaut Cuvelier
29eaa90fff Tag ORToolsBinaries.jl 0.0.2 2026-03-30 14:38:34 +02:00
Thibaut Cuvelier
5093ac07b7 Finish syncing 2026-03-30 14:13:32 +02:00
Guillaume Chatelet
d30f5b4e31 Update dependabot so it patches main instead of stable
dependabot uses the default branch (stable) for its configuration.
2026-03-19 13:10:38 +01:00
dependabot[bot]
e4f2c78666 build(deps): bump jidicula/clang-format-action (#5093)
Bumps the github-actions group with 1 update: [jidicula/clang-format-action](https://github.com/jidicula/clang-format-action).


Updates `jidicula/clang-format-action` from 4.16.0 to 4.18.0
- [Release notes](https://github.com/jidicula/clang-format-action/releases)
- [Commits](https://github.com/jidicula/clang-format-action/compare/v4.16.0...v4.18.0)

---
updated-dependencies:
- dependency-name: jidicula/clang-format-action
  dependency-version: 4.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 13:05:57 +01:00
Thibaut Cuvelier
656383654f Fix extraction logic on non-Windows (the file name doesn't start with the package name). Have clearer logs. Have 80-character lines.
Having an 80-character commit description: failed.
2026-03-02 22:57:40 +01:00
dependabot[bot]
4336f9f3ae build(deps): bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [actions/cache](https://github.com/actions/cache) and [bazel-contrib/setup-bazel](https://github.com/bazel-contrib/setup-bazel).


Updates `actions/cache` from 4 to 5
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

Updates `bazel-contrib/setup-bazel` from 0.15.0 to 0.18.0
- [Release notes](https://github.com/bazel-contrib/setup-bazel/releases)
- [Commits](https://github.com/bazel-contrib/setup-bazel/compare/0.15.0...0.18.0)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: bazel-contrib/setup-bazel
  dependency-version: 0.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-20 07:50:43 +01:00
Corentin Le Molgat
b21a132690 Merge remote-tracking branch 'origin/mizux/rc' into stable 2026-01-12 16:44:39 +01:00
Guillaume Chatelet
551ad10d94 Update Python dependencies and remove black. (#4979)
- Updated jupyter-server to 2.17.0 in notebook_requirements.in.
- Updated virtualenv to 20.35.4 in ortools_requirements.in.
- Removed black from both ortools_requirements.in and notebook_requirements.in.
- Updated filelock>=3.20.1 to mitigate CVE-2025-68146.
- Regenerated notebook_requirements.txt and ortools_requirements.txt with updated hashes and versions for various packages including debugpy, jupyter-client, platformdirs, tzdata, and urllib3.
- Added comments in bazel/BUILD regarding the compile_pip_requirements rules and instructions for updating the requirements files.
2026-01-09 13:10:50 +01:00
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
Laurent Perron
789b01f7c9 Merge pull request #4962 from yoonghm/patch-1
Rename CPSolver to CpSolver
2025-12-21 09:45:00 +01:00
Yoong Hor Meng
cc8ee317d7 Rename CPSolver to CpSolver 2025-12-21 06:52:47 +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