131 Commits

Author SHA1 Message Date
Corentin Le Molgat
b0391683a6 cmake: fix python build when BUILD_TESTING=OFF 2025-12-16 14:55:18 +01:00
Mizux Seiha
9845ee219b cmake: fix python pre release support 2025-12-03 14:42:53 +01:00
Corentin Le Molgat
cf21748fdb cmake: Add Python 3.14 support 2025-11-21 16:27:05 +01:00
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
Mizux Seiha
4ca5464e48 cmake: fix ortools/util/python 2025-08-20 11:36:44 +02:00
Laurent Perron
0720713896 [CP-SAT] simplify python proto generation workflow 2025-07-17 12:55:17 +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
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
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
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
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
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
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
ad6ccd0a34 cmake: cleanup setup.py.in 2025-01-27 10:55:45 +01: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
Laurent Perron
bd2225832f fix cmake after CP-SAT python renaming 2025-01-09 16:33:47 +01:00
Mizux Seiha
49f1623661 deps: Bump Protobuf to v29.2 2024-12-19 21:35:55 +01:00
Mizux Seiha
a86127fec5 deps: Bump Protobuf to v29.2 2024-12-19 21:35:11 +01:00
Corentin Le Molgat
3543608705 dependency: Bump Protobuf to v29.1 2024-12-09 15:41:28 +01:00
Corentin Le Molgat
fced774079 dependency: Bump Protobuf to v29.1 2024-12-09 14:24:08 +01:00
Mizux Seiha
63f17fea0b deps: Bump Protobuf to v29.0 2024-12-03 18:07:47 +01:00
Mizux Seiha
423a99bb8f deps: Bump Protobuf to v29.0 2024-12-03 18:06:49 +01:00
Corentin Le Molgat
e670dccdb0 cmake: Bump Protobuf to v28.3 and use shared libraries 2024-11-15 14:42:08 +01:00
Corentin Le Molgat
28ff3d5b2e deps: Bump protobuf to v28.3 2024-11-08 11:39:01 +01:00
Corentin Le Molgat
aa8c01b3ec setup.py.in: remove tabs 2024-11-06 10:35:46 +01:00
Mizux Seiha
53fa48120f cmake: Fix windows python.cmake runtime issue
note: libprotobuf.dll depends on utf8_validity.dll
when tested it seems WinDLL() will load it so we may only
manually load highs.dll and libprotobuf.dll
which should implicitly load the three others:
abseil_dll.dll, zlib1.dll and utf8_validity.dll
2024-11-04 10:45:04 +01:00
Mizux Seiha
c7b05c942c dependency: Bump Protobuf to v28.2 2024-10-22 21:15:46 +02:00
Arnab Animesh Das
a4f196a67a Enable builds for Python 3.13 (#4414)
* Enable builds for Python 3.13
2024-10-18 15:05:01 +02:00
Arnab Animesh Das
dd03f0cbfa Enable builds for Python 3.13 (#4414)
* Enable builds for Python 3.13
2024-10-18 15:03:46 +02:00
Corentin Le Molgat
ef8716241a backport from main 2024-10-01 12:48:20 +02:00
Corentin Le Molgat
b34393660a Fix NetBSD build (Fix #4359 #4361) 2024-09-30 08:29:27 +02:00
Corentin Le Molgat
21d767b3b5 algorithms: Add python.set_cover 2024-09-06 07:54:46 +02:00
Corentin Le Molgat
37dd30cbe9 python: Fix protobuf supported range
note: using python 5.28 will lead to multiple segfault
2024-09-06 07:54:09 +02:00