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
Laurent Perron
4d8249fcaa
fix
2023-07-09 15:07:54 +02:00
Corentin Le Molgat
2b376f84af
python: Add doxygen python doc
...
Signed-off-by: Corentin Le Molgat <corentinl@google.com >
2023-07-05 10:28:25 +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
32175c9c3b
remove pywrap prefix for pybind11 generated modules
2023-07-03 12:46:51 +02:00
Laurent Perron
7a6567b7c1
fix python config
2023-07-02 08:12:30 +02:00
Laurent Perron
c3fdb12908
Switch algorithms and scheduling python libraries from swig to pybind11; switch protobuf support from forced serialization to pybind11_protobuf -- with patch; [CP-SAT] rewrite cut management; reformat samples with black
2023-06-30 22:49:35 +02:00
Laurent Perron
9635b925f6
reformat linear_solver python code to BLACK; support pybind11_protobuf
2023-06-28 15:57:32 +02:00
Laurent Perron
cfe3034b60
fix #3818
2023-06-19 11:29:20 +02:00
Corentin Le Molgat
b6425df8e4
Revert "cmake: Move test macros after package build"
...
This reverts commit 2118b9f52d .
2023-02-22 09:26:36 +01:00
Corentin Le Molgat
2118b9f52d
cmake: Move test macros after package build
2023-02-17 18:23:06 +01:00
Corentin Le Molgat
d50d085e71
cmake: Fix python doc OR Tools logo
2023-02-07 10:31:14 +01:00
Corentin Le Molgat
d045441876
cmake: Add ortools_python_doc target to ALL
2023-02-06 08:48:45 +01:00
Mizux Seiha
f5ff63ffe1
cmake: Add Python documentation
2023-02-02 11:40:42 +01:00
Mizux Seiha
ecf41fd428
cmake: improve python pdoc title page
2023-02-02 11:40:42 +01:00
Laurent Perron
a06d0ed7a0
more absl::string_view in the c++ code; sync examples/python, remove jniutils.h; move sat/python/visualization.py to sat/colab
2023-01-29 21:20:58 +01:00
Corentin Le Molgat
c853dfafff
export pdlp/python
2023-01-20 18:08:14 +01:00
Corentin Le Molgat
4619af0e90
python: Rework README.pypi.txt
2022-11-30 11:24:40 +01:00
Corentin Le Molgat
ecd2afe4bb
swig: Fix python build when using swig 4.1.0
2022-11-07 15:31:47 +01:00
Mizux Seiha
0dd8a8756e
cmake(python): Add BUILD_VENV option
2022-10-27 10:56:20 +02:00
Corentin Le Molgat
1f83018326
cmake(python): cleanup
2022-10-24 08:07:35 +02:00
Corentin Le Molgat
86321f2025
cmake: prepare HiGHS support
2022-10-06 14:45:07 +02:00
Corentin Le Molgat
aad0e67975
export from google3
2022-10-05 15:56:33 +02:00
Corentin Le Molgat
edd1544375
cmake: make ortools install in venv more robuste ( #3260 )
2022-09-30 14:39:16 +02:00
Corentin Le Molgat
40c87e6203
remove test.py.in
2022-09-30 14:25:20 +02:00
Mizux Seiha
02e6ba83fe
add version_test.py.in
2022-09-30 14:24:43 +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
dbcb6772c8
cmake: use of pytest in add_python_test() macro
2022-09-19 15:41:11 +02:00
Corentin Le Molgat
1cb33b1806
cmake: fix python iterative build
2022-09-19 15:41:11 +02:00
Laurent Perron
81b31ff24b
Move model_builder under linear_solver
2022-09-12 11:28:52 +02:00
Corentin Le Molgat
045a5d93b7
Sync google3 github
2022-06-17 14:23:23 +02:00
StefanBruens
61b2a08faa
Set SWIGWORDSIZE dependent on architecture bitness ( #3313 )
...
* Set SWIGWORDSIZE dependent on architecture bitness
Setting SWIGWORDSIZE to 64bit on 32bit archs breaks build on
32 bit archs, e.g. i586 or armv7.
See #3271 .
Co-authored-by: Red Daly <reddaly@gmail.com >
2022-05-30 11:58:51 +02:00
Laurent Perron
8ef66920d9
use pybind11 for ortools/graph
2022-03-31 18:21:20 +02:00