Commit Graph

6609 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Corentin Le Molgat
5aa3a9317c routing: Remove unused model_ member from Resource. 2025-12-11 11:16:15 +01:00
Mizux Seiha
dfcec1fde6 routing: backport from main 2025-12-09 23:46:23 +01:00
Mizux Seiha
210bfe0cac xpress: backport from main 2025-12-09 22:50:01 +01:00
Mizux Seiha
26b01437f4 math_opt: backport from main 2025-12-09 22:49:43 +01:00
Laurent Perron
1666cf41ab routing improvements 2025-12-09 20:29:51 +01:00
Laurent Perron
97b64b49f2 support copy, deepcopy in python for sorted interval lists 2025-12-09 19:09:42 +01:00
Laurent Perron
4a2de332ce [CP-SAT] bug fixes, memory utilization reduction; more work on lrat 2025-12-09 19:09:37 +01:00
Mizux Seiha
469d83a2ef java: update publishing url for package
* tools/release: update maven central token
2025-12-09 18:28:41 +01:00
Corentin Le Molgat
d7e1a1ed76 algorithms: format fix from google3 2025-12-08 17:40:21 +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
d41e49724a reformat 2025-12-05 08:27:14 +01:00
Laurent Perron
3b18bdd58b [CP-SAT] morework on lrat 2025-12-05 08:27:10 +01:00
Laurent Perron
69a94a445e more julia 2025-12-05 08:27:05 +01:00
Corentin Le Molgat
4f9d32fd6a cmake: dotnet build samples,examples,tests fixup 2025-12-03 14:43:59 +01:00
Mizux Seiha
94dceb5957 cmake: fix .net release candidate support 2025-12-03 14:43:03 +01:00
Mizux Seiha
1adba4f3e7 cmake: fix java pre release support 2025-12-03 14:42:58 +01:00
Mizux Seiha
9845ee219b cmake: fix python pre release support 2025-12-03 14:42:53 +01:00
Corentin Le Molgat
78ea1566e6 fix routing/parser build 2025-12-03 14:42:23 +01:00
Guillaume Chatelet
b880e0fb64 Use new bintest framework (#4928) 2025-12-02 15:33:12 +01:00