Commit Graph

562 Commits

Author SHA1 Message Date
Corentin Le Molgat
9b0825d58c routing: fix indent 2022-10-26 16:22:32 +02: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
13c13048d5 routing(python): Fix format in test 2022-10-24 08:41:37 +02:00
Corentin Le Molgat
44335a1a34 routing(java): Clean tests 2022-10-24 08:41:37 +02:00
Corentin Le Molgat
38b86138fc routing(csharp): Clean tests
Signed-off-by: Corentin Le Molgat <corentinl@google.com>
2022-10-24 08:41:37 +02:00
Mizux Seiha
b34912eb8a constraint_solver: merge pywraprouting_test.py and routing_api_test.py 2022-10-21 11:32:00 +02:00
Corentin Le Molgat
87ebc3726d routing: Fix export 2022-10-21 11:31:42 +02:00
Corentin Le Molgat
0012569aa4 routing: export from google3
some performance increase:
* lazy initialization
* filter dynamic sorting
* better lifo management
* use_node_pair_swap_active: BOOL_FALSE
2022-10-21 11:31:42 +02:00
Corentin Le Molgat
3aafb0a2c4 routing: VrpSolutionCallback cleanup 2022-10-21 09:14:40 +02:00
Corentin Le Molgat
2e97e4319b routing: Add VRP Solution Callback (#3300) 2022-10-19 17:54:12 +02:00
watchdogs132
eb41252897 Made comment consistent with documentation 2022-10-15 22:56:07 +05:30
Corentin Le Molgat
1b011d076c export from google3 2022-10-10 13:44:12 +02:00
Corentin Le Molgat
aad0e67975 export from google3 2022-10-05 15:56:33 +02:00
Corentin Le Molgat
5528f58e8f Fix ConstraintSolverTests.cs 2022-10-05 12:33:32 +02:00
Corentin Le Molgat
80ec5d11d4 fix format 2022-09-30 10:42:54 +02:00
Corentin Le Molgat
e8a854d131 bazel: Fix windows build 2022-09-28 13:14:49 +02:00
Corentin Le Molgat
2fea50c07f export from google3 2022-09-28 10:21:55 +02:00
Laurent Perron
f39efd5ac8 fix, reindent, add tests 2022-09-27 18:00:48 +02:00
Corentin Le Molgat
c1f0a9e903 indent fixup 2022-09-23 15:53:49 +02:00
Mizux Seiha
baaf1ca82a cmake: Fix dotnet build
* fix cmake/dotnet.cmake
* fix <cmp>/dotnet/CMakeLists.txt
* fix examples/tests/CMakeLists.txt
2022-09-23 13:15:36 +02:00
Mizux Seiha
224ebed399 move examples/test/*.cs to ortools/<component>/csharp 2022-09-23 13:15:36 +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
899e30d88b cmake: Fix python build
* fix cmake/python.cmake
* fix <cmp>/python/CMakeLists.txt
* fix examples/tests/CMakeLists.txt
2022-09-22 22:39:55 +02:00
Corentin Le Molgat
7a401969c0 move examples/test/*.py to ortools/<component>/python 2022-09-22 13:54:16 +02:00
Mizux Seiha
e956acee92 cmake: Fix C++17 Unix / C++20 MSVC management 2022-09-20 22:33:30 +02:00
Corentin Le Molgat
78b8d894a6 cleanup constraint_solver/ includes 2022-09-20 13:07:16 +02:00
Corentin Le Molgat
0a5f73c2f7 python: bring back missing api to IntVarLocalSearchOperator
* add few unit tests to check api
2022-09-19 15:41:11 +02:00
Corentin Le Molgat
656a5bb244 google3: export routing 2022-09-19 15:41:11 +02:00
Laurent Perron
81b31ff24b Move model_builder under linear_solver 2022-09-12 11:28:52 +02:00
Corentin Le Molgat
25f74e892b fix mips64 cross build
* Bump to 2020 codespace toolchain
* Fix SYSROOT_DIR
* Fix convertion using _MIPS_SZPTR

dev note:
cd /build_cross/archives/mips-mti-linux-gnu/2020.06-01/bin
./mips-mti-linux-gnu-g++ -EB -mips64r6 -mabi=64 -std=c++17 -dM -E -x c++ /dev/null | grepc -i mips
2022-08-24 11:51:12 +02:00
Corentin Le Molgat
65ed3339e0 export form google3 2022-08-04 16:24:13 +02:00
Corentin Le Molgat
1c95a2c00e bazel: rework tests 2022-07-27 16:47:32 +02:00
Corentin Le Molgat
f98afa8e42 Add missing STL include 2022-07-22 16:25:40 +02:00
Corentin Le Molgat
c78f83e4d4 constraint_solver: add execute bit flag to all python samples 2022-07-20 17:21:55 +02:00
Corentin Le Molgat
5863a63d19 export from google3 2022-06-22 18:09:44 +02:00
Mizux Seiha
c1c5739e94 bazel: testing_utils fixup 2022-06-22 14:50:04 +02:00
Corentin Le Molgat
e88481eeec constraint_solver: fixup 2022-06-22 14:49:59 +02:00
Mizux Seiha
ec506600dc routing: Fix few DCHECK_NE(*, nullptr) 2022-06-22 08:28:59 +02:00
Mizux Seiha
ebf0581841 Sync from google3 2022-06-22 08:28:59 +02:00
Mizux Seiha
a6ace348d5 Add base/helpers.h 2022-06-22 08:28:30 +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
d23b95eebc routing: Fix few DCHECK_NE(*, nullptr) 2022-06-02 18:09:54 +02:00
Corentin Le Molgat
1a04b6bfa3 python: Expose RoutingDimension:GetBreakDistanceDurationOfVehicle() (#3165) 2022-05-23 17:38:34 +02:00
Corentin Le Molgat
c9c7c69428 sync from googl3 2022-05-23 09:28:20 +02:00
Corentin Le Molgat
226e1cea9c constraint_solver: Sync python 2022-05-23 09:28:20 +02:00