Corentin Le Molgat
211b624cde
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 14:06:01 +02:00
Corentin Le Molgat
98d2b003ff
cmake: cleanup
2025-03-26 11:42:18 +01:00
Corentin Le Molgat
0d035168ea
deps: bump abseil-cpp to 20250127.0
2025-03-13 15:56:35 +01:00
Corentin Le Molgat
77a28070b9
deps: bump scip to v9.2.1
...
* use libscip shared library
* enable soplex
2025-03-13 15:56:35 +01:00
Mizux Seiha
56fde74a11
move set_cover
2025-03-04 21:06:53 +01:00
Corentin Le Molgat
da058cd01b
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 14:28:08 +01:00
Corentin Le Molgat
09be9a9815
cmake: fix model_build_helper.pyi on windows ( #4512 )
2025-01-24 02:22:30 -08:00
Laurent Perron
54b8c24839
big graph cleaning; rewrite CP-SAT python layer; rewrite model_builder python layer; reorganize CP-SAT scheduling and packing code
2025-01-15 13:51:40 +01:00
Corentin Le Molgat
a66a6daac7
Bump Copyright to 2025
2025-01-10 11:35:44 +01:00
Corentin Le Molgat
e670dccdb0
cmake: Bump Protobuf to v28.3 and use shared libraries
2024-11-15 14:42:08 +01:00
Corentin Le Molgat
1273928df0
cmake: backport update from main
2024-11-15 10:27:20 +01:00
Corentin Le Molgat
8a996d7e68
backport main/
2024-10-14 16:47:46 +02:00
Corentin Le Molgat
b093e98046
algorithms: Add python.set_cover
2024-09-02 19:04:39 +02:00
Mizux Seiha
a66e4dad3d
cmake: fix math_opt python
2024-07-30 16:31:17 +02:00
Ron @ SWGY
2384738a95
Update Python CMake file for OpenBSD ( #4266 )
...
This commit ensures the `SWIGWORDSIZENN` defines are not set when
building on OpenBSD.
2024-06-10 17:25:35 +02:00
Corentin Le Molgat
34de189f40
backport cmake and bazel update from main
2024-05-30 10:52:45 +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
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