Commit Graph

236 Commits

Author SHA1 Message Date
Corentin Le Molgat
22356ff523 Sync g3 -> gh part_2 2020-03-09 18:34:21 +01:00
Corentin Le Molgat
49eeeb073c Fix LinearSolverTests.cs 2020-02-17 13:37:48 +01:00
Corentin Le Molgat
9ad19233cc dotnet: Bump all csproj 7.4 -> 7.5 2020-01-27 09:38:53 +01:00
Laurent Perron
6d61ac1cb0 query the domain from an IntVar in Python/Java/C# + tests; small speedup of sat reversible data structures 2020-01-24 12:20:08 -08:00
Corentin Le Molgat
bc904f83bd Add subTest to ex/tests/lp_test.py
see: https://docs.python.org/3.8/library/unittest.html#distinguishing-test-iterations-using-subtests
2020-01-23 16:48:29 +01:00
Mizux Seiha
90c54ef30e Update .csproj of all samples
Allow to rollforward
2020-01-09 18:22:18 +01:00
Laurent Perron
63ee76e981 partial fix of the random generator 2019-11-22 16:31:26 +01:00
Laurent Perron
fa406f3ae4 remove empty line 2019-11-15 14:20:10 -08:00
Laurent Perron
dc40d05a5b fix double test 2019-11-14 14:57:03 -08:00
Laurent Perron
6a14013250 fix 2019-09-07 16:37:27 +02:00
Laurent Perron
8ffe6e6649 bump versions in .csproj 2019-09-07 16:20:27 +02:00
Laurent Perron
24e21cb7cf update examples 2019-08-06 15:57:08 -07:00
Laurent Perron
5f9a56b8aa 7.2 -> 7.3 2019-08-05 09:39:01 -07:00
Laurent Perron
798b280d1f fix epsilon in test 2019-07-30 17:19:24 -07:00
Laurent Perron
d4c088a367 test linear solver constraints(), variables(), and SetHint in Python/Java/C# 2019-07-01 13:41:17 +02:00
Laurent Perron
0c9b6d44d9 update csproj 2019-06-30 11:06:28 +02:00
Laurent Perron
fd885c7aef add test for version 2019-06-29 18:03:53 +02:00
Laurent Perron
63cb7b3945 fix #1303 2019-06-29 17:40:48 +02:00
Laurent Perron
92891ceb01 implement #506 2019-06-29 17:20:42 +02:00
Laurent Perron
8d492a7dfc fix and test SetHint for linear_solver/Python 2019-06-29 15:54:26 +02:00
Laurent Perron
62e976958d add test for #1361 2019-06-24 15:17:00 +02:00
Laurent Perron
ae295d18fc add more python cp-sat tests 2019-06-20 14:41:12 +02:00
Laurent Perron
bc2c45db33 polish cp-sat python doc 2019-06-06 07:56:37 +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
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
caf0b3f94a fix CP-SAT C# CpSolver.Value() 2019-05-15 21:15:21 +02:00
Laurent Perron
ff28ad2f63 rewrite C# CP-SAT linear layer; still one bug 2019-05-13 10:59:04 +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
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
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
Laurent Perron
263d040142 fix 2019-05-03 18:18:05 +02:00
Laurent Perron
4a38fcfa4a Add cp_model.DomainFromValues/DomainFromIntervals to the CP-SAT python API 2019-05-01 23:17:57 +02:00
Laurent Perron
042aa71db8 fix CP-SAT python test 2019-04-24 11:56:53 +02:00
Laurent Perron
a96a9eb641 fix java tests 2019-04-24 11:10:21 +02:00
Corentin Le Molgat
be0fbf9bee Update LP test 2019-04-23 16:08:58 +02: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
Corentin Le Molgat
c75dd6a0d6 Update Test in java 2019-03-29 17:35:30 +01:00
Laurent Perron
868da26b49 fix python test 2019-03-25 14:21:12 +01:00
Laurent Perron
2d2b216269 add test from or-tools issue 2019-03-22 13:32:48 +01:00