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
1da3f348d9
cmake: Fix macos 15 python build
2024-12-18 09:08:15 +01:00
Mizux Seiha
269380997f
python: Fix python 3.13 build
2024-10-22 11:44:24 +02:00
Corentin Le Molgat
921842f010
format fix
2024-07-15 10:56:56 +02:00
Laurent Perron
2b59327394
reindent
2024-07-10 17:41:39 +02:00
Corentin Le Molgat
6d507bab08
constraint_solver: export from google3
2024-07-08 11:58:40 +02:00
Mizux Seiha
c869dd1d82
routing: Improve pybind11 binding
2024-06-26 23:51:10 +02:00
Corentin Le Molgat
312959af70
routing: mv routing stuff from constraint_solver/ to routing/
...
* remove routing_ prefix to file
* now have a pywrapcp and a pywraprouting binding.
2024-06-21 16:35:46 +02:00
Corentin Le Molgat
96ddef27d9
cmake: add constraint_solver_pybind11 support
2024-04-19 10:41:28 +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
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
3bf56cd48c
routing(python): use absltest instead of unitest
2024-01-18 14:19:15 +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
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
Laurent Perron
d7b7240058
remove ortools/base/cleanup.h; use the abseil version
2023-12-07 19:18:30 +01:00
Laurent Perron
2528fefb5d
fix
2023-12-06 18:35:04 +01:00
Corentin Le Molgat
d94a6a8984
python: Fix pywrapcp_test
2023-10-13 13:39:04 +02:00
Corentin Le Molgat
69874c9b26
fixup from google3
2023-10-09 15:07:30 +02:00
Corentin Le Molgat
753a7ab874
update constraint_solver from google3
2023-10-09 15:07:30 +02:00
Corentin Le Molgat
912a257773
pywrapcp_test fixup
2023-10-06 18:12:45 +02:00
Corentin Le Molgat
c60a2d03d6
constraint_solver: export from google3
2023-10-04 15:58:45 +02:00
Laurent Perron
844a5395cf
nit
2023-07-17 14:43:19 -07:00
Corentin Le Molgat
4ba6ce4e49
constraint_solver: Start Black formating
2023-07-05 18:34:44 +02:00
Laurent Perron
556eeb7480
Merge pull request #3831 from bertuccellimatteo/feat-python-progress
...
feat(python): unignore Solver::TopProgressPercent and SearchMonitor::…
2023-06-23 07:05:01 +02:00
bertuccellimatteo
afa0b9f5a9
feat(python): unignore Solver::TopProgressPercent and SearchMonitor::Progress
2023-06-22 20:35:32 +02:00
Corentin Le Molgat
85fc6ef2d4
cp: Fix python
2023-06-02 14:40:18 +02:00
Corentin Le Molgat
f25897b566
constraint_solver: sync with google3
2023-06-02 08:53:08 +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
8d6c172e5c
cleanup
2023-03-06 18:28:57 +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
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
9270aa0d59
routing(python): test fixup
2022-10-28 17:23:46 +02:00
Mizux Seiha
2756e316e9
routing(python): Add FirstSolutionStrategy and LocalSearchMetaheuristic ( #3364 )
2022-10-28 16:42:48 +02:00
Corentin Le Molgat
49d3c1ecbf
Fix pywraprouting_test.py
2022-10-28 11:50:36 +02:00
Corentin Le Molgat
2f3db48ce5
constraint_solver: export from google3
2022-10-26 15:27:06 +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
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
1b011d076c
export from google3
2022-10-10 13:44:12 +02:00
Corentin Le Molgat
80ec5d11d4
fix format
2022-09-30 10:42:54 +02:00
Corentin Le Molgat
c1f0a9e903
indent fixup
2022-09-23 15:53:49 +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
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