Commit Graph

1612 Commits

Author SHA1 Message Date
Laurent Perron
f52e878633 rewrite the arc flow cutting stock example 2019-06-05 13:31:43 +02:00
Laurent Perron
a31bbd5577 Speed up linear expression scanning for large arrays in CP-SAT C# 2019-06-01 23:49:57 +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
Corentin Le Molgat
39fb384686 Fixup test_cp_api.py 2019-05-17 14:46:21 +02:00
Corentin Le Molgat
3c60fc290a Rework test_cp_api.py 2019-05-17 14:41:43 +02:00
Laurent Perron
67d9f2a1ca add from future... 2019-05-17 14:19:37 +02:00
Laurent Perron
21f91816dd use unittest in cp and lp tests 2019-05-17 14:02:20 +02:00
Laurent Perron
8572f97c28 reindent cp_model.py; fix Domain swig; rename test 2019-05-17 10:27:41 +02:00
Laurent Perron
078b809010 export more methods on the Domain class in non C++ languages; add test for python; use unittest in python tests; add deprecation tag for some C# CP-SAT methods 2019-05-16 23:37:43 +02:00
Laurent Perron
2dbdfdcc30 add time limit to ShiftSchedulingSat.cs example 2019-05-16 15:27:07 +02:00
Laurent Perron
ae4cb47fd9 patch example 2019-05-16 13:33:46 +02:00
Laurent Perron
b886f1ddbc fix ShiftSchedulingSat.cs; improve linear code in CP-SAT C# to make it more robust 2019-05-16 11:45:46 +02:00
Laurent Perron
71da4da480 fix NetworkRoutingSat example 2019-05-16 08:05:05 +02:00
Laurent Perron
82d234dab4 real fix 2019-05-15 21:42:58 +02:00
Laurent Perron
8d5f34d2d4 fix another C# example 2019-05-15 21:30:18 +02:00
Laurent Perron
caf0b3f94a fix CP-SAT C# CpSolver.Value() 2019-05-15 21:15:21 +02:00
Laurent Perron
b78002be05 remove CP-SAT SolveWithModel, keep the equivalent SolveCpModel; optimize internal model 2019-05-15 20:19:00 +02:00
Laurent Perron
138ff3bad1 reindent 2019-05-15 09:05:01 +02:00
Laurent Perron
ff28ad2f63 rewrite C# CP-SAT linear layer; still one bug 2019-05-13 10:59:04 +02:00
Laurent Perron
e02c1a7436 add log_search_true; increase size 2019-05-13 10:52:36 +02:00
Laurent Perron
dd377eaf84 rename LinearInequality to BoundedIntegerExpression in cp_model.py 2019-05-13 10:52:10 +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
bf7e915664 fix C# example 2019-05-08 15:24:06 +02:00
Corentin Le Molgat
dc7899783e .Net: fix few contrib samples 2019-05-07 17:55:49 +02:00
Corentin Le Molgat
bef0cd9d17 .Net: fixup csproj generator 2019-05-07 12:59:44 +02:00
Corentin Le Molgat
a446f45176 Bump Version 7.0 -> 7.1 2019-05-07 11:37:58 +02:00
Laurent Perron
3c5cd313d5 Polish new CP-SAT Java API 2019-05-06 22:21:53 +02:00
Laurent Perron
d519679a74 fix 2019-05-06 17:21:21 +02:00
Laurent Perron
cd6bf20fe5 mostly reindent of examples 2019-05-06 10:31:03 +02:00
Laurent Perron
9b8a26beee fix test 2019-05-06 10:20:18 +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
2554d90e87 Wrap the C++ Domain class in Python, Java, C#; use it in IntVar and in AddXXXInDomain methods; change examples 2019-05-03 22:41:25 +02:00