Commit Graph

17 Commits

Author SHA1 Message Date
Muhammad Musa
e3f500947b Register dimension callback as unary (#2020)
cvrptw_plot.py: Demand callback should use RegisterUnaryTransitCallback().
2020-05-15 11:37:44 +02:00
Muhammad Musa
e9c76490a4 Update cvrptw_ployt.py
Fix np.size(capacity) check in Vehicle class constructor to compare it with self.number (not itself)
2020-05-02 18:45:08 +02:00
Marcelo
5cdde8db2c changed deprecated method ramdon_integer for randint
Forward port of #1425
2020-01-16 13:49:49 +01:00
Akarsh Jain
72731ca8db Typo fixes
edit: backport of PR #1688 to master
2020-01-16 11:41:09 +01:00
Nikos Koutsovasilis
be4f992ab9 Typo fixes on cvrptw python example 2020-01-02 19:01:46 +01:00
Corentin Le Molgat
c4aaa4321d Fix cvrptw_plot.py 2019-03-15 18:24:15 +01:00
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
Laurent Perron
72db1d9ef2 run pyformat on python examples 2018-06-11 11:51:18 +02:00
Gourav Chawla
8f15d9b154 Corrects a word in docstring
Corrects word 'Too' which should be To.
2017-09-14 13:34:21 +05:30
dlahlou
8f080d4e68 Merge pull request #238 from mjfwest/mybranch
corrected use of local search operators.
2016-09-02 08:25:56 -07:00
Martin West
457c0cacf4 corrected use of local search operators. 2016-08-29 01:22:40 +02:00
Adrian Rangel
3fc21ae08e don't use deprecated method 2016-08-25 23:27:23 -05:00
Vincent Furnon
799ae30ce8 Fix cvrptw_plot.py example: fix usage of variable indices. 2016-08-11 20:46:04 -04:00
Driss Lahlou
bd19bd4128 add a cvrptw.py example without plot 2016-07-29 13:53:30 +02:00