93 Commits

Author SHA1 Message Date
Guillaume Chatelet
5a867fd457 Add nullability to SolveInterrupter in linear solver (#4958) 2026-01-07 15:50:08 +01:00
Laurent Perron
97b64b49f2 support copy, deepcopy in python for sorted interval lists 2025-12-09 19:09:42 +01:00
Corentin Le Molgat
809c2540a1 util: backport from main 2025-11-05 12:05:41 +01:00
Corentin Le Molgat
b4b226801b update include guards 2025-11-05 11:54:02 +01:00
Guillaume Chatelet
54ae17fa91 [bazel] Update bazel files 2025-09-29 17:21:58 +02: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
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
Corentin Le Molgat
de5fbc46ab util/python: add solve interrupter 2025-08-20 11:36:43 +02:00
Guillaume Chatelet
447ce0b3e2 Fix bazel load rules 2025-07-23 09:05:10 +00:00
Guillaume Chatelet
6af8bd54b4 Turn some .i files into .swig
This helps with the import / export process.
2025-07-02 19:11:40 +00:00
Laurent Perron
ce7ad3abb0 remove useless comments 2025-03-27 08:28:58 -07:00
Corentin Le Molgat
05e3190929 bazel: rename com_google_absl to abseil-cpp 2025-03-24 18:21:42 +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
Corentin Le Molgat
1da3f348d9 cmake: Fix macos 15 python build 2024-12-18 09:08:15 +01:00
Laurent Perron
b681feb0ff add __repr__ to Domain: fix #4399 2024-10-05 10:54:51 +02:00
Laurent Perron
622483b682 mostly reformat 2024-04-08 11:34:45 +02:00
Corentin Le Molgat
4e52b0abe3 python: fix indent 2024-04-04 18:00:32 +02:00
Laurent Perron
d9b2908bfb reformat 2024-03-26 12:33:42 +01:00
Corentin Le Molgat
abc1584129 export from google3 2024-03-25 10:54:11 +01:00
Laurent Perron
8f2f56e2e8 mostly reindent 2024-03-21 14:02:18 +01:00
Corentin Le Molgat
3d08056540 sync from google3 2024-03-15 16:38:57 +01:00
Laurent Perron
f6518fcd2b python black reformat 2024-03-14 15:05:07 +01:00
Corentin Le Molgat
75f197409a cmake: rework add_python_test()
* Add FILE_NAME option
* add optional COMPONENT_NAME option
  note: needed if test.py is not in a ortools/<component>/python/ dir
2024-01-15 13:33:49 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
5b6c803db3 [CP-SAT] convert to PEP8 convention 2023-11-16 19:46:56 +01:00
Laurent Perron
af879c6d17 big cleanup of includes 2023-08-24 17:14:58 +02:00
Laurent Perron
fa6883d544 mostly cleaning: remove integral_types.h and basictypes.h 2023-08-24 14:52:54 +02:00
Laurent Perron
346642b871 remove the pywrap prefix from pybind11 modules; add _pybind to the cmake target of the same modules 2023-07-03 14:30:27 +02:00
Laurent Perron
4faf2e4794 add pybind11 doc to domains 2023-07-02 08:11:28 +02:00
Laurent Perron
a743431365 start reformating with black 2023-06-27 14:21:34 +02:00
Corentin Le Molgat
3be976f47b export from google3 2023-05-24 15:34:57 +02:00
Corentin Le Molgat
b3920b4452 cmake: fixup 2023-02-10 08:59:08 +01:00
Laurent Perron
7277ccc140 reindent cmake files 2023-02-09 16:18:59 -08:00
Corentin Le Molgat
9054f13f95 cmake: remove ABSL_MUST_USE_RESULT for swig
should be fixed with absl upstream + swig 4.1 now support attibute
2023-02-06 08:47:46 +01:00
Mizux Seiha
93c0c7f035 deps: bump swig to 4.1.1 2023-02-02 19:02:56 +01:00
Laurent Perron
e9f9404923 Remove logging code; use absl one 2023-01-31 20:46:43 +01:00
Laurent Perron
2a2775ec23 [UTIL] fix test; support qap problems with objective 2022-10-11 14:26:32 +02:00
Laurent Perron
f39efd5ac8 fix, reindent, add tests 2022-09-27 18:00:48 +02:00
Corentin Le Molgat
899e30d88b cmake: Fix python build
* fix cmake/python.cmake
* fix <cmp>/python/CMakeLists.txt
* fix examples/tests/CMakeLists.txt
2022-09-22 22:39:55 +02:00
Corentin Le Molgat
7a401969c0 move examples/test/*.py to ortools/<component>/python 2022-09-22 13:54:16 +02:00
Corentin Le Molgat
1af55b2be3 Add license boilerplate 2022-06-21 11:25:29 +02:00
Corentin Le Molgat
c7120439d4 Bump license date 2022-06-17 14:23:23 +02:00
Laurent Perron
18d3f72160 run python sat samples with bazel 2022-03-30 13:12:32 +02:00
Laurent Perron
9dd7ed7fd1 bump constraint_solver code; remove unused files 2022-02-22 19:25:31 +01:00
Laurent Perron
6246f8f63c still used by routing.i 2022-02-22 18:57:40 +01:00
Laurent Perron
833ae17e99 Use pybind11 instead for swig for sorted_interval_list and cp_sat swig_helper; speed up CP-SAT presolve; add missing std includes 2022-02-22 18:33:45 +01:00
Laurent Perron
951e8bbc1e bump pdlp; add log to linear_solver proto; fix bug in CP-SAT 2022-02-21 17:26:34 +01:00
Mizux Seiha
655eec5260 cmake: rework python 2021-12-03 14:20:19 +01:00
Laurent Perron
fdadc6aeb2 remove autodoc 2021-09-23 11:34:38 +02:00