Commit Graph

13820 Commits

Author SHA1 Message Date
Corentin Le Molgat
62bf1f278a pdlp: Fix test when using pytest 8.4.0
note: test_lp was considered as a test leading to the error
```sh
(cd build && ctest -C Release -R "python_pdlp_")
Test project .../build
    Start 175: python_pdlp_pdlp_test
1/2 Test #175: python_pdlp_pdlp_test .............***Failed    1.94 sec
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.4.0, pluggy-1.6.0
...
../../../ortools/pdlp/python/pdlp_test.py .....F....                     [100%]
=================================== FAILURES ===================================
___________________________________ test_lp ____________________________________
Expected None, but test returned <ortools.pdlp.python.pdlp.QuadraticProgram object at 0x7fd4b600b170>. Did you mean to use `assert` instead of `return`?
=========================== short test summary info ============================
FAILED ../../../ortools/pdlp/python/pdlp_test.py::test_lp - Failed: Expected ...
========================= 1 failed, 9 passed in 1.40s ==========================
```
2025-06-03 17:25:28 +02:00
Corentin Le Molgat
888479c8f1 tools/docker: fix images 2025-06-03 17:25:06 +02:00
Corentin Le Molgat
6275619174 dotnet: Remove EOL .Net Core 3.1 in release artifacts
Please target .Net 8.0 or above...

ref: https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
2025-06-02 17:53:48 +02:00
Corentin Le Molgat
b912ebf94b dotnet: get rid of last remaining .Net 6.0 2025-06-02 17:22:12 +02:00
Corentin Le Molgat
77c21707ad ci/tools: Simplify alpine .Net 8.0 SDK install 2025-06-02 17:18:38 +02:00
Corentin Le Molgat
1b6cb6134e java: update private key used by release scripts
note: previous key is expired since 2025-03
2025-06-02 17:17:48 +02:00
Corentin Le Molgat
658775eb13 tools/docker: Fix alpine dotnet build 2025-06-02 16:02:55 +02:00
Laurent Perron
cd30fe7ebc fix 2025-06-02 15:41:19 +02:00
Laurent Perron
a8440891c5 [CP-SAT] stronger no_overlap_2d variation 2025-06-02 14:54:08 +02:00
Laurent Perron
7f463e1a68 sync with main 2025-06-02 14:25:50 +02:00
Corentin Le Molgat
6a10e3a7c7 tools/docker: target and fix dotnet 8.0 support 2025-06-02 11:10:58 +02:00
Corentin Le Molgat
66014c7ed3 tools/docker: Add Fedora-42 2025-06-02 11:10:26 +02:00
Corentin Le Molgat
ff9e92d10a make: fix archive_python target 2025-06-02 10:11:38 +02:00
Corentin Le Molgat
27e1061e22 cmake: log Python executable path at configure 2025-06-02 09:51:09 +02:00
Corentin Le Molgat
d3247845f7 make: Fix archive_cpp target 2025-06-02 09:50:18 +02:00
Corentin Le Molgat
2dca624414 lp_data: Fix compilation (#4662) 2025-05-27 16:46:51 +02:00
Laurent Perron
33c22be870 inprove code 2025-05-27 14:34:50 +02:00
Laurent Perron
188cfcbde5 [CP-SAT] work on precedences; improve scheduling cuts 2025-05-27 14:34:42 +02:00
Laurent Perron
b5ca2d2905 Use Fractional everywhere 2025-05-27 14:34:37 +02:00
Corentin Le Molgat
d724c857d9 bazel: cleanup cc_binary load 2025-05-27 14:33:48 +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
292ded31a2 sat: Formatting CpSolver.cs 2025-05-27 13:18:42 +02:00
Corentin Le Molgat
cd1891aa11 cmake: Fix host tools build when using a toolchain 2025-05-27 13:08:00 +02:00
Corentin Le Molgat
3774165534 math_opt: Fix elemental python on windows
ssize_t is not part of the STL, python provides `Py_ssize_t`
ref: https://peps.python.org/pep-0353/
2025-05-27 10:11:58 +02:00
Corentin Le Molgat
0de1006bde tools/docker: remove python 3.8 support 2025-05-26 17:03:10 +02:00
Corentin Le Molgat
2b2a5f69e1 tools/release: remove Python 3.8 support
note: BTW Protobuf v31.0 do not support Python 3.8
2025-05-26 16:00:20 +02:00
Corentin Le Molgat
9b7ba5b8e3 scheduling: export from google3 2025-05-26 15:33:46 +02:00
Corentin Le Molgat
109e9615fb base: export from google3 2025-05-26 15:33:42 +02:00
Corentin Le Molgat
569bb0baff bazel: cleanup BUILD.bazel 2025-05-26 15:33:21 +02:00
Mizux Seiha
3a640d05f5 bazel: bump GLPK to 5.0.bcr.4 (#4656) 2025-05-22 17:44:52 +02:00
Mizux Seiha
ec2e8c68c9 deps: add missing absl::random_internal_entropy_pool 2025-05-22 14:43:02 +02:00
Mizux Seiha
1a913c57f9 cmake: fixup abseil-cpp bump
`absl::bad_any_cast_impl` has been removed
ref: 8ce0c88d6a
2025-05-22 14:42:57 +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
Mizux Seiha
7fc67a4468 bazel: update deps
* don't use repo name
* Bump abseil-cpp to 20250512.0
* Bump Protobuf to 31.0
* Bump benchmark to 1.9.2
* Bump googletest to 1.17.0
2025-05-22 14:42:28 +02:00
Corentin Le Molgat
dfbba11e58 cmake: use GLPK 5.0.1 (#4656) 2025-05-22 14:36:02 +02:00
Laurent Perron
a4d26537d5 fix #4654 2025-05-21 12:38:03 +02:00
Laurent Perron
9fdce892bd bump go protobuf to 1.36.5 2025-05-20 14:46:40 +02:00
Mizux Seiha
5d32f2f87a cmake: disable shortest_paths_test (timeout) 2025-05-20 14:45:08 +02:00
Laurent Perron
24f63f3a4a add gurobi 12.0.2 2025-05-20 14:37:59 +02:00
Corentin Le Molgat
37aba7a826 bazel: use eigen 3.4.0.bcr.3
note: eigen 4.0.0-20241125.bcr.1 is not an official release
ref: https://gitlab.com/libeigen/eigen/-/issues/2907#note_2417354006
2025-05-19 14:59:49 +02:00
Corentin Le Molgat
773bbed336 constraint_solver: update internal docs 2025-05-19 13:50:05 +02:00
Corentin Le Molgat
bedfee83cb replace some const string by string_view 2025-05-19 13:49:04 +02:00
Corentin Le Molgat
6f9fba2d24 fix indent 2025-05-19 13:48:59 +02:00
Corentin Le Molgat
6b668685ab sat: update internal docs 2025-05-19 13:48:52 +02:00
Corentin Le Molgat
5e91781f7f python: target typing-extensions >= 4.12 2025-05-19 09:58:15 +02:00
Corentin Le Molgat
fd2059dd96 cleanup
* remove swig_python.bzl
* sync cmake/README.md
2025-05-19 09:58:04 +02:00
Corentin Le Molgat
fdfc6af03e rework ortools samples (#4590) 2025-05-16 18:02:19 +02:00
Corentin Le Molgat
17498776bf algorithms: export from google3 2025-05-16 18:02:19 +02:00
Laurent Perron
b28b0625f9 [CP-SAT] use precedences in completion time cuts; improve glue clause sharing 2025-05-16 16:48:11 +02:00
Laurent Perron
0e0194eb52 [CP-SAT] fix dtime reporting for lns 2025-05-14 17:08:38 +02:00