Commit Graph

76 Commits

Author SHA1 Message Date
Corentin Le Molgat
809c2540a1 util: backport from main 2025-11-05 12:05:41 +01: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
bd641e14b9 ortools: export from google3 2025-08-11 10:38:33 +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
1f617d41be fix init 2025-04-02 19:13:42 +02:00
Corentin Le Molgat
a66a6daac7 Bump Copyright to 2025 2025-01-10 11:35:44 +01:00
Corentin Le Molgat
c9b1ad998a backport linear_solver, math_opt, pdlp and util from main 2024-05-30 10:51:54 +02:00
Corentin Le Molgat
d0f6fcc7fd constraint_solver: rework java wrapper to support absl::string_view 2024-01-10 14:23:02 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
af879c6d17 big cleanup of includes 2023-08-24 17:14:58 +02:00
Laurent Perron
fa6883d544 mostly cleaning: remove integral_types.h and basictypes.h 2023-08-24 14:52:54 +02:00
Laurent Perron
5264ba2412 fix bug in Domain::FromValues 2023-05-30 23:24:52 +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
Laurent Perron
779cea7b58 update ortools/util code 2023-03-22 19:24:50 +01:00
Mizux Seiha
76b72ce5fa util: Fix java wrapper 2023-03-06 15:45:23 +01:00
Corentin Le Molgat
b3920b4452 cmake: fixup 2023-02-10 08:59:08 +01:00
Laurent Perron
7277ccc140 reindent cmake files 2023-02-09 16:18:59 -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
d1fc863202 simplify swig java for sat 2023-01-27 16:09:00 +01:00
Laurent Perron
6e44979271 sync after export tool change 2023-01-20 14:09:34 +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
2e213ea167 fix bazel java on linux 2022-12-30 18:22:09 +01:00
Laurent Perron
71b52a38ad java bazel support for sat 2022-12-30 11:40:33 +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
2fea50c07f export from google3 2022-09-28 10:21:55 +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
Corentin Le Molgat
06bc318331 constraint_solver: sync with google3 2022-05-20 18:05:14 +02:00
Mizux Seiha
976f227b67 cmake: rework java 2021-12-03 14:20:19 +01:00
Laurent Perron
dc6506b32c remove useless comment 2021-09-14 17:33:59 +02:00
Mizux Seiha
89d8d77c2a Fix build 2021-04-12 09:21:20 +02: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
Corentin Le Molgat
a40143cdd2 cpp: Migrate int64 to int64_t 2021-04-01 20:20:43 +02:00
Mizux Seiha
f1d65afd44 java: Add support for vector<vector<CType>> 2021-02-19 16:02:52 +01:00
Laurent Perron
022593a93e cleanup 2020-06-05 16:12:05 +02:00
Mizux Seiha
00387c133f cmake(java): Add Maven Package (#202) 2020-05-18 14:15:47 +02:00
Laurent Perron
189c568fa7 remove java warning 2020-05-06 18:55:46 +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
Laurent Perron
702791f2e3 experimental parallel interleaved search; speed up sorted interval lists; misc cleaning of swig files 2020-03-24 18:51:13 +01:00
Corentin Le Molgat
0d6f6dddd9 Export g3 -> gh 2020-03-12 18:20:13 +01:00
Corentin Le Molgat
bbd00fcf52 Java: remove s/long long/long/ swig hack 2020-02-14 17:02:47 +01:00
Laurent Perron
dd6fbc32b1 move MakeCleanup from gtl:: to absl::; CP-SAT improvements 2020-02-05 11:27:02 +01:00
Laurent Perron
6d61ac1cb0 query the domain from an IntVar in Python/Java/C# + tests; small speedup of sat reversible data structures 2020-01-24 12:20:08 -08:00
Andrew Teirney
69b5b2f581 fix: update the java out type mapping of std::vector<CType*>& to prevent segfaults 2020-01-22 18:11:12 +13:00
Laurent Perron
251856141d unignore java method on SortedDisjointIntervalList 2020-01-21 11:00:44 +01:00
Corentin Le Molgat
ff9b82d42d Java: Ignore broken methods (Fix #1276)
Usually missing typemap for return type or argument type
2020-01-17 11:21:46 +01:00
Andrew Teirney
747ea98db8 fix: correct the java swig type mapping for std::vector<CType*> 2020-01-13 13:51:38 +01:00
Laurent Perron
2ff000ab9a bump abseil to the latest version, adapt the code all around 2019-11-20 14:28:11 -08:00