Corentin Le Molgat
b294ff6de2
bazel: backport java rework from main
2025-10-16 13:02:37 +02:00
Corentin Le Molgat
b2e33c1b94
bazel: backport from main
2025-10-16 12:58:00 +02:00
Corentin Le Molgat
149121a5ff
bazel: cleanup from main
2025-09-22 17:28:02 +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
2fd586595b
bazel: fix more load statements
2025-08-06 10:57:31 +02:00
Guillaume Chatelet
5ffb66cdce
Fix bazel load rules
2025-07-24 10:10:29 +02:00
Corentin Le Molgat
a7f49a2585
backport from main
...
* rename swig files .i in .swig
* update constraint_solver and routing
* backport math_opt changes
* move dynamic loading to ortools/third_party_solvers
2025-07-23 23:12:34 +02:00
Corentin Le Molgat
fdfc6af03e
rework ortools samples ( #4590 )
2025-05-16 18:02:19 +02:00
Laurent Perron
1f617d41be
fix init
2025-04-02 19:13:42 +02:00
Mizux Seiha
3046cb089e
init: Fix .Net and java binding
2025-04-01 15:37:23 +02:00
Laurent Perron
4af14d7d4f
sync: cp-sat bug fixes, stringview, fix strong int missing stl code, update graph
2025-04-01 06:29:45 +02:00
Corentin Le Molgat
f17646132c
bazel: rename com_google_absl as abseil-cpp
2025-03-26 11:42:18 +01:00
Mizux Seiha
80686581f4
backport from main
2025-02-25 16:04:20 +01:00
Laurent Perron
7e98e7b4d4
[CP-SAT] improve no_overlap_2d cuts; more no_overlap_2d cuts; bugfixes; add sat/c_api subdirectory
2025-02-10 12:45:46 +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
a66a6daac7
Bump Copyright to 2025
2025-01-10 11:35:44 +01:00
Corentin Le Molgat
5252c00007
cmake cleanup
2024-12-16 15:45:02 +01:00
Corentin Le Molgat
d5c3764d77
cmake: Fix macOS 15 python build
2024-12-16 15:45:02 +01:00
Laurent Perron
21a75638c2
partial sync with main (without the routing part)
2024-07-12 13:56:11 +02:00
Laurent Perron
4cbd27dae9
sync with main
2024-05-30 10:52:42 +02:00
Laurent Perron
91fe48478d
reformat
2024-05-30 10:51:55 +02:00
Corentin Le Molgat
7050ad3fc9
cmake: rework java helper functions
2024-01-18 11:22:38 +01:00
Corentin Le Molgat
dd6da5bf0f
cmake: rework dotnet helper functions
2024-01-18 11:22:38 +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
Corentin Le Molgat
15ec692a45
init: Fix include header guard
2023-12-20 17:31:55 +01:00
Corentin Le Molgat
f17d044065
Fix python3.8 stubgen doc parsing
2023-11-27 16:26:15 +01:00
Mizux Seiha
d8634ab0f2
cmake: Split math_opt into sub library
...
XCode do not support object library with several file with the same name
since it use a flat directory, Xcode "fix" using a UID but CMake can't catch it.
math_opt also use a parameters.proto which conflict with the
glop/parameters.proto -> need to split the proto to .cc generation in
two libraries
2023-09-25 10:46:02 +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
1b9c7bf0b2
swith python init to pybind11
2023-07-02 08:12:09 +02:00
Laurent Perron
a743431365
start reformating with black
2023-06-27 14:21:34 +02:00
Mizux Seiha
53c1e40969
swig: Fix define definition
...
need to set ABSL_MUST_USE_RESULT to empty string so '=' is mandatory
2023-05-30 14:49:13 +02:00
Corentin Le Molgat
192e690204
cmake: cleanup
2023-05-24 15:39:37 +02:00
Corentin Le Molgat
7665b677e5
Update CMakeLists.txt
2023-04-05 10:36:55 +02:00
Laurent Perron
55385841c4
reindent
2023-02-17 13:56:09 +01:00
Laurent Perron
1ecebe64d3
add stderrthreshold to init
2023-02-17 13:13:13 +01:00
Laurent Perron
064b3efd74
cleanup code; move solve.cc to ortools/linear_solver
2023-02-10 15:45:53 -08:00
Corentin Le Molgat
41d60ad520
cmake: Fix SWIG build
...
Still need to define ABSL_MUST_USE_RESULT= even with swig 4.1.1
2023-02-06 08:47:46 +01: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
Laurent Perron
7d6261ceb7
fix dotnet init
2023-02-01 14:23:14 +01:00
Laurent Perron
e9f9404923
Remove logging code; use absl one
2023-01-31 20:46:43 +01:00
Laurent Perron
cf53ee3c9f
reformat bazel java code; CP-SAT: fix corner case in presolve, zero very small coefficients in translate from math model, more parameter validation
2023-01-05 13:38:42 +01:00
Laurent Perron
2746b48c5c
add bazel java POC; works with algorithms and graph
2022-12-29 19:56:02 +01:00
Corentin Le Molgat
1e8423c44f
swig: Fix dotnet build when using swig 4.1.0
2022-11-07 15:31:47 +01:00
Corentin Le Molgat
d1aed89a26
swig: Fix java build when using swig 4.1.0
2022-11-07 15:31:47 +01:00
Corentin Le Molgat
ecd2afe4bb
swig: Fix python build when using swig 4.1.0
2022-11-07 15:31:47 +01:00
Corentin Le Molgat
b8d8e44fd5
init: fixup
2022-10-14 18:04:32 +02:00
Mizux Seiha
02e6ba83fe
add version_test.py.in
2022-09-30 14:24:43 +02:00
Corentin Le Molgat
2fea50c07f
export from google3
2022-09-28 10:21:55 +02:00