Commit Graph

141 Commits

Author SHA1 Message Date
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
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
Mizux Seiha
e2a2295fb4 doxygen: update docs 2025-07-08 13:45:24 +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
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
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
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
92e3c1e7d0 python: target typing-extensions >= 4.12 2025-05-19 09:57:25 +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
520ec2e026 dependency: bump protobuf to v30.2 2025-03-28 09:38:15 +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
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
Laurent Perron
4efd54f5f0 move set_cover code in its own directory 2025-02-17 12:52:36 +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
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
Laurent Perron
bd2225832f fix cmake after CP-SAT python renaming 2025-01-09 16:33:47 +01:00
Mizux Seiha
a86127fec5 deps: Bump Protobuf to v29.2 2024-12-19 21:35:11 +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
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
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
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
Mizux Seiha
753b2c8f1a dependencies: Bump protobuf to v27.3 2024-08-06 17:26:28 +02:00
Mizux Seiha
bf61daee14 dependency: Bump protobuf from 26.1 to 27.2 2024-07-08 11:58:39 +02:00
Corentin Le Molgat
e7a1d8ab44 routing: fix python build 2024-06-24 13:29:44 +02:00
Ronald E. Dahlgren
73914c474d OpenBSD build support
OpenBSD does not have a /proc filesystem
OpenBSD also defines `getrusage` in sys/resource.h
Add OpenBSD classifier to python package
Include OpenBSD in machine/endian.h check
2024-06-05 10:27:30 +02:00
Corentin Le Molgat
96ddef27d9 cmake: add constraint_solver_pybind11 support 2024-04-19 10:41:28 +02:00
Corentin Le Molgat
4cad8a7756 cmake: fix routing_pybind11 support 2024-04-19 10:41:28 +02:00
Corentin Le Molgat
88d94984ca constraint_solver: export refactor from google3
* Add pybind11 wrapper
* Move routing proto to routing/
2024-04-12 17:17:40 +02:00
Corentin Le Molgat
2f5e3fdb41 dependency: bump protobuf v26.1 2024-03-29 09:08:40 +01:00
Mizux Seiha
5d771cc919 dependency: bump Protobuf to v25.3 2024-02-22 11:44:59 +01:00
Corentin Le Molgat
3c58533f2b cmake: Add service and math_opt.ipc to wheel package 2024-02-16 14:27:15 +01:00
Corentin Le Molgat
ab64c92906 fixup after deps bump 2024-01-31 17:01:05 +01:00
Corentin Le Molgat
6011852ee9 cmake: Add stub to pybind11_abseil.status 2024-01-16 08:13:23 +01:00
Corentin Le Molgat
baad73ae20 cmake: integrate pybind11_abseil module in ortools module
needed for math_opt
2024-01-15 17:54:52 +01:00
Corentin Le Molgat
2c81040044 cmake: math_opt python fix 2024-01-15 15:09:45 +01:00