Commit Graph

372 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
Laurent Perron
8ffe6e6649 bump versions in .csproj 2019-09-07 16:20:27 +02:00
Laurent Perron
5f9a56b8aa 7.2 -> 7.3 2019-08-05 09:39:01 -07:00
Laurent Perron
8a0ba73240 fix 2019-07-04 13:13:19 +02:00
Laurent Perron
4a0e9b1860 fix 2019-07-04 11:43:51 +02:00
Laurent Perron
0dded8f12b fix example #1399 2019-07-04 11:10:47 +02:00
Laurent Perron
1a2f3ef98e fix doc #1354 2019-06-19 13:29:14 +02:00
Laurent Perron
277792fa64 different model for the bus allocation, work in progress 2019-06-14 23:01:58 +02:00
Laurent Perron
f6b68e92dd fix 2019-06-14 11:06:16 +02:00
Laurent Perron
c898417a57 add medium and large data set to bus scheduling 2019-06-14 10:58:03 +02:00
Laurent Perron
f52e878633 rewrite the arc flow cutting stock example 2019-06-05 13:31:43 +02:00
Laurent Perron
9e5a83ae05 add arc_flow version of cutting stock problem with different capacities 2019-05-31 21:42:45 +02:00
Laurent Perron
c0cef73c1f fix 2019-05-29 09:27:11 +02:00
Laurent Perron
c8a556258f add global constraint on incoming/outgoing literals 2019-05-29 09:18:30 +02:00
Laurent Perron
0c3be9a6d5 replace circuit on a dag (useless) by flow equations 2019-05-29 09:00:23 +02:00
Laurent Perron
fe22bf057a minor polish of examples 2019-05-28 15:28:01 +02:00
Laurent Perron
78f458fd99 add redundant constraint 2019-05-28 00:04:21 +02:00
Laurent Perron
d2723c9f97 polish bus driver scheduling example 2019-05-27 23:56:04 +02:00
Laurent Perron
a3ce68b41d fix comment; add a bit more propagation 2019-05-27 17:48:41 +02:00
Laurent Perron
49365c4f4b fix 2019-05-27 16:26:57 +02:00
Laurent Perron
2ee67f50d1 fix 2019-05-27 16:25:42 +02:00
Laurent Perron
8a48695ac8 fix 2019-05-27 16:15:18 +02:00
Laurent Perron
824acfcd1a bus driver scheduling example 2019-05-27 15:53:00 +02:00
Laurent Perron
138ff3bad1 reindent 2019-05-15 09:05:01 +02:00
Laurent Perron
35e0a9ce54 improve qubo sat model; fix test 2019-05-11 18:46:48 +02:00
Laurent Perron
fe334f05d0 improve qubo example 2019-05-11 15:20:08 +02:00
Laurent Perron
b82f781c1b add printing to the clustering problem 2019-05-11 14:05:00 +02:00
Laurent Perron
ce9aebd5f7 add printing to the clustering problem 2019-05-11 14:02:41 +02:00
Laurent Perron
75d36e55b8 fix clustering example 2019-05-11 13:51:10 +02:00
Laurent Perron
435caf7217 fix 2019-05-11 13:44:39 +02:00
Laurent Perron
4e4bde977e clustering example with CP-SAT 2019-05-11 13:39:01 +02:00
Corentin Le Molgat
4177135536 Add knapsack sample 2019-05-10 22:51:10 +02:00
Laurent Perron
cd6bf20fe5 mostly reindent of examples 2019-05-06 10:31:03 +02:00
Laurent Perron
dec8adb40d polish non C++ CP-SAT API, samples, examples and tests 2019-05-06 10:12:55 +02:00
Laurent Perron
7097fa4829 uniformize name of linear constraints in CP-SAT Python/Java/C# 2019-05-03 18:15:44 +02:00
Laurent Perron
2d3ef458a8 add log 2019-04-29 17:49:54 +02:00
Laurent Perron
685c63e7e6 change shift scheduling example to use 8 workers 2019-04-24 10:53:27 +02:00
Laurent Perron
0f24fe1e08 simple tsp_sat example 2019-04-10 10:50:49 -07:00
Laurent Perron
6dba5ea7f0 simple tsp_sat example 2019-04-10 10:46:10 -07:00
Laurent Perron
17b9b597a1 change CP-SAT C++ Api to call Build() on the model before solving; use log_search_progress parameters to display all log; enable this parameter in non C++ language; call InitGoogleLogging() automatically in non C++ languages 2019-04-05 14:58:33 +02:00
Laurent Perron
88a1ac6562 fix example 2019-03-25 14:38:24 +01:00
Corentin Le Molgat
c4aaa4321d Fix cvrptw_plot.py 2019-03-15 18:24:15 +01:00
Laurent Perron
43c3649bf3 add more data sets 2019-02-06 17:57:23 +01:00
Corentin Le Molgat
0465276e14 Fix wall time dimension in sat examples
WallTime is in second not millisecond...
2019-01-14 09:57:15 +01:00
Laurent Perron
dcfb59bced fix pylint 2019-01-06 11:42:18 +01:00
Corentin Le Molgat
a1f330e074 Fix compile with Python2.7
- list.copy() does not exist in 2.7+
2019-01-02 13:38:56 +01:00