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
bf70b788ab
math_opt: Fix cmake python install
2024-11-14 18:47:29 +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
Corentin Le Molgat
ddc6e27111
cmake: python.cmake windows test 1
2024-10-25 16:17:39 +02:00
Mizux Seiha
eaeb85a539
cmake: Fix utf8_validity
2024-10-24 14:36:57 +02:00
Mizux Seiha
5736c71fb0
cmake: Fix python and java copy
2024-10-22 21:15:46 +02:00
Corentin Le Molgat
80087b8860
cmake: Fix configure when solver are disable
2024-10-18 16:11:47 +02:00
Mizux Seiha
6bd3ebcf3d
cmake: Fix libz.so inside packages
2024-10-16 01:16:29 +02:00
Mizux Seiha
7c9adf2cd3
cmake: .Net and Java absl fixup
2024-10-15 14:32:33 +02:00
Mizux Seiha
3c7936e859
cmake: add missing absl deps in python
2024-10-15 13:44:06 +02:00
Corentin Le Molgat
ad39cf7c93
cmake: Fix python.cmake
2024-10-14 10:26:59 +02:00
Corentin Le Molgat
d3178b3e57
python.cmake: cleanup math_opt
2024-10-11 14:35:04 +02:00
Corentin Le Molgat
001c515dde
cmake: Fixing python wheel on linux
2024-10-11 14:07:48 +02:00
Corentin Le Molgat
21d767b3b5
algorithms: Add python.set_cover
2024-09-06 07:54:46 +02:00
Mizux Seiha
219deefe97
cmake: fix math_opt python
2024-07-30 16:32:00 +02:00
Mizux Seiha
c869dd1d82
routing: Improve pybind11 binding
2024-06-26 23:51:10 +02:00
Corentin Le Molgat
312959af70
routing: mv routing stuff from constraint_solver/ to routing/
...
* remove routing_ prefix to file
* now have a pywrapcp and a pywraprouting binding.
2024-06-21 16:35:46 +02:00
Ron @ SWGY
846eea754b
Update Python CMake file for OpenBSD ( #4266 )
...
This commit ensures the `SWIGWORDSIZENN` defines are not set when
building on OpenBSD.
2024-06-11 08:26:04 +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
caed37b93b
python: add ortools/routing/python to CMake
2024-04-12 17:17:40 +02:00
Corentin Le Molgat
dae0ec2219
math_opt: export from google3
2024-02-23 10:59:51 +01:00
Corentin Le Molgat
3c58533f2b
cmake: Add service and math_opt.ipc to wheel package
2024-02-16 14:27:15 +01:00
Mizux Seiha
be8c675bdd
cmake: cleanup python.cmake
2024-02-09 08:51:25 +01:00
Corentin Le Molgat
a34f79daaf
math_opt: few fix
...
* Enable and fix most python tests
* export from google3
* export python/testing/
2024-01-22 17:19:12 +01:00
Corentin Le Molgat
1c7f210c98
cmake: cleanup python.cmake
2024-01-18 10:19:14 +01:00
Mizux Seiha
1a5a6a1d80
cmake: rework add_python_example
2024-01-17 16:56:26 +01:00
Corentin Le Molgat
21fd586d32
cmake: rework add_python_sample()
2024-01-16 15:14:34 +01:00
Corentin Le Molgat
5d7234ac8d
cmake: Cleanup add_python_test()
2024-01-16 11:29:15 +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
4ee8195586
math_opt: cleanup
...
python still not working...
2024-01-15 16:22:30 +01:00
Corentin Le Molgat
2c81040044
cmake: math_opt python fix
2024-01-15 15:09:45 +01:00
Mizux Seiha
ad0c74d8c2
cmake: Add MathOpt python support
2024-01-15 13:33:50 +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
chrisjbremner
9ee468a09d
Include LICENSE file in Python distribution ( #4048 )
...
* Include LICENSE file in Python distribution
* Remove spaces
* Remove license_files
2024-01-13 10:36:17 +01:00
Mizux Seiha
a76bf1c5dd
bump license boilerplate
2024-01-04 13:43:15 +01:00
Corentin Le Molgat
a87803a881
cmake: find proto in algorithms/
2023-12-08 14:32:20 +01:00
Corentin Le Molgat
7836876930
cmake(python): add stubgen path message
2023-11-27 16:26:15 +01:00
Mizux Seiha
5c5dc07cf7
cmake(python): fix stubgen
...
note: stubgen need libortools to be able to load native module.
2023-11-22 20:21:54 +01:00
Mizux Seiha
745594a0b8
cmake(python): run stub command AFTER pybind11 are copied
2023-11-22 15:36:43 +01:00
Laurent Perron
e0b7582637
improve python typing
2023-11-22 14:47:35 +01:00
Corentin Le Molgat
e1f9febd8e
cmake(python): Add GENERATE_PYTHON_STUB option ( Fix #3944 )
2023-10-23 11:01:26 +02:00
Laurent Perron
250302964e
tweak export to notebook; add flags stubs code to allow them to work in a notebook
2023-09-05 17:06:29 +02:00
Laurent Perron
fa6883d544
mostly cleaning: remove integral_types.h and basictypes.h
2023-08-24 14:52:54 +02:00
Corentin Le Molgat
1e4770cead
cmake: make any pip install error to be fatal
2023-07-24 18:22:59 +02:00
Corentin Le Molgat
b98044950f
cmake: Rework mypy management
2023-07-21 18:21:59 +02:00
Laurent Perron
ca6f7afdcf
move pywrap_pdlp to pdlp
2023-07-11 10:33:55 -07:00