Commit Graph

1137 Commits

Author SHA1 Message Date
stuarthillary
180212154e Port the C++ example network_routing_sat to C# 2019-03-12 15:28:48 +01:00
Corentin Le Molgat
4376c8ca4c Backport roadef_challenge_2011 from g3 2019-03-12 14:51:30 +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
stuarthillary
98680ba490 Remove references to tsp and vrp projects from examples solution file 2019-03-11 14:50:58 +01:00
Corentin Le Molgat
8e94ba5186 Update ConstraintSolverTest.cs 2019-03-07 17:44:09 +01:00
Corentin Le Molgat
76f902ecf8 Fix contrib/contiguity_transition.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
8fbf82332c Fix cscvrptw.cs 2019-02-21 08:37:37 +01:00
Corentin Le Molgat
1b76065bc4 Fix csls_api.cs 2019-02-21 08:37:24 +01:00
Corentin Le Molgat
781e3790f5 Fix cstsp.cs 2019-02-21 08:37:11 +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
stuarthillary
9a35fa6e7a Ported the Python example balance_group_sat.py to C# 2019-02-14 23:13:16 +00:00
Corentin Le Molgat
6e41a22a9b Fix RandomTsp.java 2019-02-12 11:06:27 +01:00
Corentin Le Molgat
d054c53c74 Java: Use lambda in Constraint Solver 2019-02-12 11:06:27 +01:00
Laurent Perron
8257b081db examples compiles with bazel 2019-02-10 19:00:47 +01:00
Laurent Perron
43c3649bf3 add more data sets 2019-02-06 17:57:23 +01:00
Corentin Le Molgat
4fa74e5654 Fix RandomTsp.java 2019-02-06 09:37:26 +01:00
Corentin Le Molgat
f9c48ead3e Fix CapacitatedVehicleRoutingProblemWithTimeWindows 2019-02-06 09:05:00 +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
Corentin Le Molgat
3ad89c61d2 Add Java tests for Constraint Solver & Routing Solver 2019-02-05 12:05:57 +01:00
Laurent Perron
3494afff17 solver.infinity() -> java.lang.Double.POSITIVE_INFINITY 2019-02-02 17:40:11 +01:00
Laurent Perron
02283cffb2 fix #1037 2019-01-31 17:02:59 +01:00
Corentin Le Molgat
14875ce073 .Net: Rework SatSolverTest.cs 2019-01-31 09:10:48 +01:00
Corentin Le Molgat
fe29e18fdb .net: remove dead code testlp.cs* 2019-01-30 16:42:55 +01:00
Corentin Le Molgat
f9689d4132 .Net: fixup for ConstraintSolverTests 2019-01-30 16:08:36 +01:00
Corentin Le Molgat
dbef712477 .Net: Add LinearSolverTests.cs
- remove duplicate testlp.cs and Google.OrTools.Tests
2019-01-30 16:08:36 +01:00
Corentin Le Molgat
2a551945ae Update dotnet Xunit test 2019-01-30 14:29:50 +01:00
Corentin Le Molgat
1044ccbca4 dotnet: Add RoutingSolver test. 2019-01-30 14:29:50 +01:00
Corentin Le Molgat
fddd1b9a8d dotnet: Add delegate support for display_callback
- Add Xunit Tests to check DisplayCallback delegates are working.
2019-01-30 14:29:50 +01:00
Laurent Perron
15ee386f5f add test for #1015 2019-01-19 18:58:32 +01:00
Corentin Le Molgat
8abb0548f4 Fix test_java 2019-01-16 15:36:36 +01:00
Laurent Perron
84a5bc7c3b add crashing example from issue #1014 2019-01-14 14:38:11 +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
Corentin Le Molgat
38c03c4df6 Add Java samples 2019-01-09 11:30:30 +01:00
Laurent Perron
dcfb59bced fix pylint 2019-01-06 11:42:18 +01:00
Laurent Perron
6dbdc416f2 fix 2019-01-05 18:26:35 +01:00
Laurent Perron
a27deb3468 fix 2019-01-05 12:34:50 +01:00
Laurent Perron
b88a499b6c remove obsolete files from ortools/base; port code accordingly; add new sat sample 2019-01-05 11:30:35 +01:00
Laurent Perron
1c290f078a remove traces of callback.h 2019-01-05 08:52:41 +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
Corentin Le Molgat
af29f63730 Fix dotnet build 2019-01-02 13:35:23 +01:00
Laurent Perron
4d0ec663e0 minor improvement 2018-12-30 23:08:34 +01:00
Laurent Perron
98abcc8595 simplify example 2018-12-30 22:54:56 +01:00
Laurent Perron
e68c3be1af use DP to generate valid slabs 2018-12-30 21:17:38 +01:00
Laurent Perron
f0f65fee9a small polish 2018-12-30 18:12:26 +01:00
Laurent Perron
7bdbbe09e1 polish output 2018-12-30 12:32:20 +01:00