Commit Graph

23 Commits

Author SHA1 Message Date
Corentin Le Molgat
c2ae098d34 Apply yapf on examples/python/*.py 2018-11-30 14:48:55 +01:00
Laurent Perron
f2573d33b1 Fix merge abseil - v6.10 2018-11-30 14:48:55 +01:00
Corentin Le Molgat
b027e57e95 dotnet: Remove reference to dotnet release command
- Currently not implemented...

Add abseil patch

- Add patches/absl-config.cmake

Makefile: Add abseil-cpp on unix

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

Makefile: Add abseil-cpp on windows

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

CMake: Add abseil-cpp

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

port to absl: C++ Part

- Fix warning with the use of ABSL_MUST_USE_RESULT
  > The macro must appear as the very first part of a function
    declaration or definition:
    ...
    Note: past advice was to place the macro after the argument list.
  src: dependencies/sources/abseil-cpp-master/absl/base/attributes.h:418
- Rename enum after windows clash
- Remove non compact table constraints
- Change index type from int64 to int in routing library
- Fix file_nonport compilation on windows
- Fix another naming conflict with windows (NO_ERROR is a macro)
- Cleanup hash containers; work on sat internals
- Add optional_boolean sub-proto

Sync cpp examples with internal code
- reenable issue173 after reducing number of loops

port to absl: Python Part

- Add back cp_model.INT32_MIN|MAX for examples

Update Python examples

- Add random_tsp.py
- Run words_square example
- Run magic_square in python tests

port to absl: Java Part

- Fix compilation of the new routing parameters in java
- Protect some code from SWIG parsing

Update Java Examples

port to absl: .Net Part

Update .Net examples

work on sat internals; Add C++ CP-SAT CpModelBuilder API; update sample code and recipes to use the new API; sync with internal code

Remove VS 2015 in Appveyor-CI

- abseil-cpp does not support VS 2015...

improve tables

upgrade C++ sat examples to use the new API; work on sat internals

update license dates

rewrite jobshop_ft06_distance.py to use the CP-SAT solver

rename last example

revert last commit

more work on SAT internals

fix
2018-11-30 14:48:55 +01:00
Laurent Perron
d99cf97acb reformat python files as tab length = 4 now 2018-11-11 09:39:59 +01:00
Corentin Le Molgat
023d437c17 Update python routing examples 2018-09-27 10:36:00 +02:00
Corentin Le Molgat
97832ba68e Update python routing examples 2018-07-03 09:57:41 +02:00
Laurent Perron
72db1d9ef2 run pyformat on python examples 2018-06-11 11:51:18 +02:00
Corentin Le Molgat
9b55324fd2 Fix cvrptw.py (Fix #708) 2018-05-31 10:45:00 +02:00
Corentin Le Molgat
786bfce05f Update routing python examples
- add vrp.py
- add vrpgs.py
- add cvrp.py
- update cvrptw.py
2018-04-27 16:47:49 +02:00
Corentin Le Molgat
fe9ddb78c8 Rework cvrptw.py
Try to use plausible data (e.g. currently, vehicles move at 36,000km/h...)
2018-04-27 14:17:05 +02:00
Gourav Chawla
391412267f Corrects a word in docstring
Corrects word 'Too' which should be To.
2017-09-14 13:50:28 +05:30
Driss Lahlou
fab96aa739 support for python3 in examples/python/cvrptw.py 2016-10-27 17:59:23 +02:00
Vincent Furnon
3fc41e8c31 Port routing examples to new depot API 2016-10-16 19:28:59 -04:00
Driss Lahlou
d2f051f1b4 fix PYTHONPATH for tests and examples 2016-09-07 15:55:11 +02:00
Driss Lahlou
bd19bd4128 add a cvrptw.py example without plot 2016-07-29 13:53:30 +02:00
Driss Lahlou
d133b15107 add log_search to RoutingSearchParameters 2016-07-20 15:49:09 +02:00
Driss Lahlou
51f30a1cc6 update cvrptw.py : accessing to solver parameters 2016-07-18 18:13:10 +02:00
Driss Lahlou
4505436ded fix cvrptw.py example 2016-07-05 13:17:16 +02:00
Laurent Perron
10c14caec7 improve cvrptw.py code 2016-06-13 11:31:55 +02:00
Laurent Perron
40f52674fc fix cvrptw.py 2016-06-13 11:29:54 +02:00
Laurent Perron
938372bc47 port cvrptw python example 2016-05-09 17:15:30 +02:00
Shrikrishna Holla
8f915ff18d Cast to float and avoid divide-by-zero errors in cvrptw.py 2016-02-03 11:19:34 +05:30
Martin West
9c994c411b Added Python3 example of capacitated vehicle routing problem with time windows and optional orders. 2015-12-31 02:12:47 +00:00