36 Commits

Author SHA1 Message Date
Corentin Le Molgat
b294ff6de2 bazel: backport java rework from main 2025-10-16 13:02:37 +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
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
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
Laurent Perron
4cbd27dae9 sync with main 2024-05-30 10:52:42 +02:00
Corentin Le Molgat
7050ad3fc9 cmake: rework java helper functions 2024-01-18 11:22:38 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Corentin Le Molgat
778f90ee9d bazel: remove jvm_flags hack 2023-12-18 13:59:59 +01: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
7665b677e5 Update CMakeLists.txt 2023-04-05 10:36:55 +02:00
Corentin Le Molgat
8d6c172e5c cleanup 2023-03-06 18:28:57 +01:00
Corentin Le Molgat
1e0f4027e2 bazel: Fix java tests/samples run
* remove: code_samples_java_test
* Fix jvm library path on windows
2023-03-06 15:45:23 +01:00
Corentin Le Molgat
6c6c7d1902 bazel: Rework java support
Fix swig_java.bzl
2023-03-02 17:41:10 +01:00
Mizux Seiha
15d7f26727 bazel: Add FlowTest.java 2023-02-17 18:23:48 +01: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
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
Mizux Seiha
b65c86da8b cmake: Fix java
* fix cmake/java.cmake
* fix <cmp>/java/CMakeLists.txt
* fix examples/tests/CMakeLists.txt
2022-09-23 13:15:36 +02:00
Mizux Seiha
ddbbd50228 move examples/test/*.java to ortools/<component>/java 2022-09-22 22:40:10 +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
Mizux Seiha
976f227b67 cmake: rework java 2021-12-03 14:20:19 +01:00
Mizux Seiha
8bb54b04ef Bump Copyright to 2021
FYI:
find ortools \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/\(Copyright 2010\)-2018/\1-2021/g'
2021-04-01 21:00:53 +02:00
Mizux Seiha
00387c133f cmake(java): Add Maven Package (#202) 2020-05-18 14:15:47 +02:00
Mizux Seiha
3223b97649 cmake: Work on Java
* Add SWIG generation CMakeLists.txt
* Fix jni.h include dir
2020-04-16 11:25:06 +02:00
Corentin Le Molgat
2f0680127d Backport from g3 to github 2019-03-13 13:51:31 +01:00
Corentin Le Molgat
a96399ad43 Java: remove Get(Source|Sink)SideMinCut in MaxFlow
no typemap for argument INOUT of type vector<T>* ...
2019-03-04 00:05:12 +01:00
Laurent Perron
fedf3d4ff4 revamp and simplify swig support, force typed enums for C# and Java for all except the constraint_solver/routing module; port examples; Fix SAT on very large problems 2018-12-11 17:03:03 +01:00
Laurent Perron
a60c3291cd java support int64 -> int64_t 2018-12-10 13:35:51 +01:00
Laurent Perron
87b9d55b21 update license headers 2018-11-10 18:00:53 +01:00
Laurent Perron
fa09d4949a add SimpleMaxFlow::SetArcCapacity; change to the base library 2018-03-07 11:30:39 +01:00
Laurent Perron
03fccb4032 improve incrementality of glop when used in the sat solver; change more copyright dates; more documentation on the gate scheduling problem 2017-10-18 11:09:13 +02:00
Laurent Perron
66b8d23079 move src to ortools; simplified python generation; remove some namespaces in the ortools/base helper files 2017-04-26 17:30:25 +02:00