Commit Graph

225 Commits

Author SHA1 Message Date
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
Corentin Le Molgat
cd4a66c425 Fix python test unit. 2019-03-22 09:42:20 +01:00
Laurent Perron
0c1d9a65e2 re-enable cp_model_test.py; throw an exception when using abs() on a linear expression; add test 2019-03-12 13:04:04 +01:00
Corentin Le Molgat
8e94ba5186 Update ConstraintSolverTest.cs 2019-03-07 17:44:09 +01:00
Corentin Le Molgat
efa9e9bb7b Merge LsApi.java to TestConstraintSolver.java 2019-03-04 00:05:12 +01:00
Corentin Le Molgat
6696c3014a Fix dotnet examples/tests 2019-02-20 16:25:36 +01:00
Corentin Le Molgat
a1b9437714 dotnet: ugly fixup
TODO(mizux)
- Solver::MakeIntVar(), solver should keep IntVar alive !
- Solver::MakeMinimize(), solver should keep objective var alive !
- Solver::MakeSearchlog(), searchlog should keep solver alive !
2019-02-20 15:17:15 +01:00
Corentin Le Molgat
43fb0716fa Update .csproj 2019-02-19 11:56:59 +01:00
Corentin Le Molgat
d054c53c74 Java: Use lambda in Constraint Solver 2019-02-12 11:06:27 +01:00
Corentin Le Molgat
4ffa33bf0c Fix TestRouting.java
- a lambda cannot specify its output type (contrary to C++)
2019-02-06 09:00:23 +01:00
Corentin Le Molgat
0f4c907108 Java: disable SearchLog with GC tests until code is fixed 2019-02-06 08:58:56 +01:00
Corentin Le Molgat
483dacbc28 Java: Routing [Unary]Transit callback use @FunctionalInterface
- fix the java WeakGlobalRef leak...
- Now samples use lambda when possible for transit callback
  - keep class in Tsp.java to see how it works
2019-02-05 12:05:57 +01:00