Commit Graph

177 Commits

Author SHA1 Message Date
Corentin Le Molgat
2a36fb057b cmake: bump protobuf to v33.1 2025-11-19 09:39:56 +01: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
Mizux Seiha
805ef64029 Merge remote-tracking branch 'origin/main' into v99bugfix 2025-08-26 15:52:40 +02:00
Corentin Le Molgat
ba7e81f729 ortools: various export from google3 2025-08-22 14:24:48 +02:00
Mizux Seiha
4ca5464e48 cmake: fix ortools/util/python 2025-08-20 11:36:44 +02:00
Guillaume Chatelet
5ffb66cdce Fix bazel load rules 2025-07-24 10:10:29 +02:00
Corentin Le Molgat
a7f49a2585 backport from main
* rename swig files .i in .swig
* update constraint_solver and routing
* backport math_opt changes
* move dynamic loading to ortools/third_party_solvers
2025-07-23 23:12:34 +02:00
Guillaume Chatelet
447ce0b3e2 Fix bazel load rules 2025-07-23 09:05:10 +00:00
Laurent Perron
0720713896 [CP-SAT] simplify python proto generation workflow 2025-07-17 12:55:17 +02:00
Laurent Perron
442b71c829 sort 2025-07-16 17:42:09 +02:00
Laurent Perron
e5dc796ef6 [CP-SAT] remove the use of python protobufs; use proxies to C++ protobufs instead; this changes slightly the API of these proto for parameters 2025-07-16 16:55:49 +02:00
Corentin Le Molgat
1d0ff09af8 ortools: backport from main branch 2025-07-09 14:24:01 +02:00
Mizux Seiha
24eb888d2e doxygen: update docs 2025-07-09 14:13:52 +02:00
Mizux Seiha
e2a2295fb4 doxygen: update docs 2025-07-08 13:45:24 +02:00
Corentin Le Molgat
7f88299aa0 cmake: set numpy to 2.0.2 as minimum 2025-07-07 14:06:26 +02:00
Corentin Le Molgat
7c06c551e8 cmake: set numpy to 2.0.2 as minimum 2025-07-07 11:03:22 +02:00
Corentin Le Molgat
835b3b3b93 doxygen: force light-mode for doc 2025-06-30 15:20:19 +02:00
Corentin Le Molgat
94308a9fe6 doxygen: force light-mode for doc 2025-06-30 11:54:28 +02:00
Mizux Seiha
b56b4196a2 Update README.md 2025-06-24 17:47:02 +02:00
Mizux Seiha
3467396a74 dependencies: bump Protobuf from v31.0 to v31.1 2025-06-17 12:32:17 +02:00
Mizux Seiha
8e1e6b5e97 dependencies: bump Protobuf from v31.0 to v31.1 2025-06-17 11:08:04 +02:00
Corentin Le Molgat
4e2d73ae3f python: bump last remaining 3.8 to 3.9
note: Protobuf v31.0 has dropped support of Python 3.8
2025-05-27 13:27:58 +02:00
Corentin Le Molgat
3c96812728 python: bump last remaining 3.8 to 3.9
note: Protobuf v31.0 has dropped support of Python 3.8
2025-05-27 13:21:30 +02:00
Corentin Le Molgat
9cbf09afdf cmake: bump dependencies
* abseil-cpp 20250512.0
* protobuf v31.0
* re2 2024-07-02
* googletest 1.17.0
* benchmark 1.9.2

devNote: to fix a patch not working
```sh
cd ~/.../ortools_repo
cmake -S. -Bbuild -DBUILD_DEPS=ON -DBUILD_EXAMPLES=OFF -DBUILD_SAMPLES=OFF -DBUILD_TESTING=ON
pushd build/_deps/absl-src
git apply --3way ~/.../ortools_repo/patches/abseil-cpp-20250512.0.patch
git mergetool
git diff HEAD -u > ~/.../ortools_repo/patches/abseil-cpp-20250512.0.patch
cd ..
rm -rf absl-*
popd
<repeat>
```
2025-05-22 14:42:48 +02:00
Corentin Le Molgat
cfefe417a0 cmake: bump dependencies
* abseil-cpp 20250512.0
* protobuf v31.0
* re2 2024-07-02
* googletest 1.17.0
* benchmark 1.9.2

devNote: to fix a patch not working
```sh
cd ~/.../ortools_repo
cmake -S. -Bbuild -DBUILD_DEPS=ON -DBUILD_EXAMPLES=OFF -DBUILD_SAMPLES=OFF -DBUILD_TESTING=ON
pushd build/_deps/absl-src
git apply --3way ~/.../ortools_repo/patches/abseil-cpp-20250512.0.patch
git mergetool
git diff HEAD -u > ~/.../ortools_repo/patches/abseil-cpp-20250512.0.patch
cd ..
rm -rf absl-*
popd
<repeat>
```
2025-05-22 03:12:46 +02:00
Corentin Le Molgat
5e91781f7f python: target typing-extensions >= 4.12 2025-05-19 09:58:15 +02:00
Corentin Le Molgat
92e3c1e7d0 python: target typing-extensions >= 4.12 2025-05-19 09:57:25 +02:00
Corentin Le Molgat
8480ff4f3f dependency: Fix bzip2 support
* always enable it
* Fix CMake support
* fix windows support
2025-04-30 15:15:39 +02:00
Corentin Le Molgat
211b624cde math_opt: export from google3
* CMake has not been updated yet
* bazel was compiling at least last week

bazel: disable math opt facility_location.py

missing some dependencies...
2025-04-30 14:06:01 +02:00
Corentin Le Molgat
5bf70b691f math_opt: export from google3
* CMake has not been updated yet
* bazel was compiling at least last week

bazel: disable math opt facility_location.py

missing some dependencies...
2025-04-30 09:55:15 +02:00
Corentin Le Molgat
a5bbbcbcff cmake: BZip2 fixup 2025-04-07 17:46:43 +02:00
Corentin Le Molgat
36220e039d dependency: bump protobuf to v30.2 2025-03-28 09:38:56 +01:00
Corentin Le Molgat
520ec2e026 dependency: bump protobuf to v30.2 2025-03-28 09:38:15 +01:00
Corentin Le Molgat
a5a605c665 python: backport logging fix of dll load 2025-03-26 11:42:18 +01:00
Corentin Le Molgat
6258871db6 dependency: bump protobuf to v30.1 2025-03-26 11:42:18 +01:00
Corentin Le Molgat
8f6258861d dependency: Bump Protobuf to v30.1 2025-03-24 16:19:09 +01:00
Corentin Le Molgat
60e490aee3 python: rework dll load logging on windows (Fix #4579)
DevNote:
to enable trace you can use

```py
import logging
logging.basicConfig(level=logging.DEBUG)

from ortools...
```
2025-03-19 15:51:51 +01:00
Corentin Le Molgat
77a28070b9 deps: bump scip to v9.2.1
* use libscip shared library
* enable soplex
2025-03-13 15:56:35 +01:00
Mizux Seiha
51e348357d cmake: Enable soplex when building SCIP
* use SCIP::libscip
  note: While scip provide ALIAS,
  they forget to use it when `install(export ...)`
* update internal docs/
* build boost as static libraries
2025-03-12 14:12:54 +01:00
Mizux Seiha
56fde74a11 move set_cover 2025-03-04 21:06:53 +01:00
Laurent Perron
4efd54f5f0 move set_cover code in its own directory 2025-02-17 12:52:36 +01:00
Mizux Seiha
7b71c4b140 dependencies: Bump protobuf to v29.3 2025-02-11 14:47:27 +01:00
Mizux Seiha
20a88024f5 dependencies: Bump protobuf to v29.3 2025-02-11 12:05:28 +01:00
Mizux Seiha
d3af4d76c9 cmake: Fix and enabled shared lib support with MSVC
* Add decldll to proto
* rework init to make it working for MSVC
* fix test_xprs_interface build
dotnet: Fix MSVC shared libs support
  * Fix csproj to include libortools.dll
java: Fix MSVC shared_libs support
  * Fix runtime jar to include libortools.dll
python: Fix MSVC shared_libs support
  * fix __init__.py.in loading for MSVC
2025-02-04 19:42:22 +01:00
Corentin Le Molgat
da058cd01b cmake: Fix and enabled shared lib support with MSVC
* Add decldll to proto
* rework init to make it working for MSVC
* fix test_xprs_interface build
dotnet: Fix MSVC shared libs support
  * Fix csproj to include libortools.dll
java: Fix MSVC shared_libs support
  * Fix runtime jar to include libortools.dll
python: Fix MSVC shared_libs support
  * fix __init__.py.in loading for MSVC
2025-02-04 14:28:08 +01:00
Corentin Le Molgat
ad6ccd0a34 cmake: cleanup setup.py.in 2025-01-27 10:55:45 +01:00
Corentin Le Molgat
09be9a9815 cmake: fix model_build_helper.pyi on windows (#4512) 2025-01-24 02:22:30 -08:00
Laurent Perron
54b8c24839 big graph cleaning; rewrite CP-SAT python layer; rewrite model_builder python layer; reorganize CP-SAT scheduling and packing code 2025-01-15 13:51:40 +01:00
Corentin Le Molgat
a66a6daac7 Bump Copyright to 2025 2025-01-10 11:35:44 +01:00
Corentin Le Molgat
c34026b101 Bump copyright to 2025
note: done using
```sh
git grep -l "2010-2024 Google" | xargs sed -i 's/2010-2024 Google/2010-2025 Google/'
```
2025-01-10 11:33:35 +01:00