Commit Graph

109 Commits

Author SHA1 Message Date
Guillaume Chatelet
d869a1fd4c Backport trivial changes 2025-07-18 08:11:03 +00:00
Guillaume Chatelet
6af8bd54b4 Turn some .i files into .swig
This helps with the import / export process.
2025-07-02 19:11:40 +00:00
Corentin Le Molgat
c34026b101 Bump copyright to 2025
note: done using
```sh
git grep -l "2010-2024 Google" | xargs sed -i 's/2010-2024 Google/2010-2025 Google/'
```
2025-01-10 11:33:35 +01:00
Corentin Le Molgat
2846d6a234 java: move routing.i to com.google.ortools.routing packages 2024-04-12 18:12:47 +02:00
Corentin Le Molgat
88d94984ca constraint_solver: export refactor from google3
* Add pybind11 wrapper
* Move routing proto to routing/
2024-04-12 17:17:40 +02:00
Corentin Le Molgat
dbd7b64656 routing: Fix Java enum proto 2024-03-15 15:40:08 +01:00
Corentin Le Molgat
cf23877119 constraint_solver: export from google3
* Add a proto RoutingSearchStatus::Value
* Add RoutingModel::status()
* replace std::vector by absl::Span
* Rework energy cost (add a threshold)
* Add a PARALLEL_SAVING First Solution Strategy
2024-03-15 15:40:08 +01:00
Corentin Le Molgat
7050ad3fc9 cmake: rework java helper functions 2024-01-18 11:22:38 +01:00
Corentin Le Molgat
d0f6fcc7fd constraint_solver: rework java wrapper to support absl::string_view 2024-01-10 14:23:02 +01:00
Corentin Le Molgat
b1f07cadb0 constraint_solver: Add java failing test
SWIG is broken since absl::string_view can't be converted to Java String
note: swig 4.2.0 may have the builtin support for std::string_view
2024-01-08 18:03:08 +01:00
Corentin Le Molgat
bda5b4e632 constraint_solver: Export from google3
* Add an Iterated Local Search (ILS) approach.
* Replace some std::string by absl::string_view
* Add RoutingResourceClassIndex
2024-01-08 18:03:08 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Corentin Le Molgat
c60a2d03d6 constraint_solver: export from google3 2023-10-04 15:58:45 +02: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
Corentin Le Molgat
1dd922c321 constraint_solver: Export from google3 2023-07-10 15:18:20 +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
9167a849ae Export constraint_solver/ from google3 2023-05-24 15:34:57 +02:00
Corentin Le Molgat
7665b677e5 Update CMakeLists.txt 2023-04-05 10:36:55 +02: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
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
2f3db48ce5 constraint_solver: export from google3 2022-10-26 15:27:06 +02:00
Corentin Le Molgat
e1b28ccb8d routing: fix lint in samples/ 2022-10-24 11:56:09 +02:00
Mizux Seiha
36a29b2ddf routing(swig): Expose SimpleBoundCost related methods (Fix #1815)
* Extract BoundCost from SimpleBoundCost since SWIG do not support
nested class
* Wrap it in all languages
* Expose new API
  * SoftSpanUpperBoundForVehicle
  * QuadraticCostSoftSpanUpperBoundForVehicle
* Add tests
2022-10-24 08:58:10 +02:00
Corentin Le Molgat
44335a1a34 routing(java): Clean tests 2022-10-24 08:41:37 +02: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
656a5bb244 google3: export routing 2022-09-19 15:41:11 +02:00
Mizux Seiha
7a823314eb export from google3 2022-06-21 11:35:03 +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
Laurent Perron
9dd7ed7fd1 bump constraint_solver code; remove unused files 2022-02-22 19:25:31 +01:00
Laurent Perron
529849e58a add missing swig deps 2021-12-05 12:55:50 +01:00
Laurent Perron
edb66aaed5 [ROUTING] major improvement on filters/first solution heuristics/time,break placements 2021-12-05 12:36:59 +01:00
Mizux Seiha
976f227b67 cmake: rework java 2021-12-03 14:20:19 +01:00
Corentin Le Molgat
52c9b0b77f constraint_solver: Sync 2021-11-03 12:57:26 +01:00
Corentin Le Molgat
eb0f319cd6 Sync github with google 2021-10-22 00:50:21 +02:00
Laurent Perron
062b113f03 fix #2817 2021-10-19 09:36:59 +02:00
Corentin Le Molgat
c45cd04d1c Fix java wrappers 2021-09-10 16:25:35 +02:00
Corentin Le Molgat
3327838e5a java: Fix constraint_solver build 2021-09-03 17:01:37 +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
Corentin Le Molgat
241d79d698 routing: Export from Google to GitHub 2021-02-19 10:34:31 +01:00
Mizux Seiha
48303577e8 java: cleanup routing index manager 2021-02-18 17:46:23 +01:00
Mizux Seiha
6747f7dfb3 java: Fix RoutingModel::add[Matrix|Vector]Dimension() 2021-02-16 16:05:20 +01:00
Corentin Le Molgat
850968c9f1 routing: Rework Vector/Matrix transit management (#2315) 2021-02-16 13:43:52 +01:00