Commit Graph

6375 Commits

Author SHA1 Message Date
Laurent Perron
828d7df7f3 polish presolve code 2019-02-13 16:49:02 +01:00
Laurent Perron
f0de80e2d3 [CP-SAT] fix bug in precedences, fix bug in cuts; improve presolve on element and automaton 2019-02-13 11:02:24 +01:00
Corentin Le Molgat
cd97e8e877 Travis CI: use Java JDK 11 2019-02-12 17:17:44 +01:00
Corentin Le Molgat
18d21667e1 Sync java SWIG with g3 2019-02-12 17:16:25 +01:00
Corentin Le Molgat
04ef816be7 .Net use auto-implemented property with initialization.
see https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/auto-implemented-properties
2019-02-12 14:48:58 +01:00
Corentin Le Molgat
1a0cfd1980 Update dotnet makefile target doc 2019-02-12 11:44:08 +01:00
Corentin Le Molgat
6e41a22a9b Fix RandomTsp.java 2019-02-12 11:06:27 +01:00
Corentin Le Molgat
807ce59344 Fixup Java constraint solver. 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
0d8f523978 tweak CP-SAT log; fix presolve bugs; expand element constraints with fixed targets 2019-02-11 13:12:04 +01:00
Laurent Perron
bd2dc1454f tame complexity in sorted interval lists 2019-02-11 13:12:04 +01:00
Laurent Perron
ecba45db62 Speed up glop in CP-SAT 2019-02-11 13:12:04 +01:00
Laurent Perron
722f36a843 remove more dependencies 2019-02-11 13:12:04 +01:00
Laurent Perron
9aed182dcf add comments, reindent 2019-02-11 13:12:04 +01:00
Jan Marcinkowski
eefd732edc Sets up bazel in Travis. 2019-02-11 09:31:35 +01:00
Jan Marcinkowski
2c470e8675 Everything under ortools/ builds now. 2019-02-11 09:29:56 +01:00
eliempje
6321ba4207 Additional guidelines using windows paths added
To avoid make errors due to bad path definitions on windows additional guideline added.
E.g. Adding a \ to an absolute path WINDOWS_SCIP_DIR will result in bad path for SCIP_INC (with space). See tools\make.exe detect_third_party
2019-02-11 08:29:41 +01:00
Laurent Perron
59ce741ab9 disable automaton expansion 2019-02-11 07:29:32 +01:00
Laurent Perron
af8839e7e8 simplify flatzinc bazel BUILD file and dependencies 2019-02-10 23:05:13 +01:00
Laurent Perron
b72b98c013 bump gflags to 2.2.2; use latest commit on glog to benefit from included build file before v0.4.0 2019-02-10 21:43:09 +01:00
Laurent Perron
8257b081db examples compiles with bazel 2019-02-10 19:00:47 +01:00
Laurent Perron
a0d2853258 all libraries compiles under bazel 2019-02-10 18:51:36 +01:00
Corentin Le Molgat
f0581e5475 Travis: Try to fix test_java by running tests with one jobs 2019-02-08 18:46:49 +01:00
Corentin Le Molgat
07e1cd9dea Travis: run java tests sequentially... 2019-02-08 17:01:55 +01:00
Corentin Le Molgat
0452c5027d dotnet: fix sample with SDK > 2.2.101
CallbackIndex can't be const since value is not know at compile time
see: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/const
2019-02-08 15:09:11 +01:00
Corentin Le Molgat
95c290bc59 Fix dotnet install on travis 2019-02-08 13:32:43 +01:00
Corentin Le Molgat
c034056580 Java: Routing use GlobalRef instead of GlobalWeakRef
now the C++ lambda own the Java callback ownership
so we don't have to store it in the Java RoutingModel anymore.
2019-02-08 11:58:23 +01:00
Jon Orwant
d5445dc953 Remove CODE_OF_CONDUCT.md template 2019-02-07 15:16:36 -05:00
Laurent Perron
dfc84fadeb work on sat presolve, model loading 2019-02-06 17:57:45 +01:00
Laurent Perron
43c3649bf3 add more data sets 2019-02-06 17:57:23 +01:00
Corentin Le Molgat
4aa6605f9a Sync constraint solver java SWIG with g3 2019-02-06 16:14:52 +01:00
Corentin Le Molgat
9a1da95817 travis: bump to dotnet-sdk-2.2
see: https://dotnet.microsoft.com/download/linux-package-manager/ubuntu14-04/sdk-current
2019-02-06 11:34:37 +01:00
Corentin Le Molgat
d35436355a Remove installmono() form travis script
dead code
2019-02-06 11:33:56 +01:00
Corentin Le Molgat
64110b2dc0 .Net: don't use function_swig_helper anymore 2019-02-06 11:03:31 +01:00
Corentin Le Molgat
36d61a73b5 Now make.rb formula doesn't have --with-default-names
see: dce96029d3
2019-02-06 10:37:38 +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
49790d3f59 Java Routing sample, remove unneeded import(s) 2019-02-05 18:19:55 +01:00
Corentin Le Molgat
97535178ee Sync with g3 2019-02-05 18:19:55 +01:00
Laurent Perron
19c630393e make Java CP-SAT exceptions public 2019-02-05 15:31:21 +01:00
Laurent Perron
f6496dbf65 make Java CP-SAT exceptions public 2019-02-05 15:28:08 +01:00
Corentin Le Molgat
26c8b7064f Sync routing sample with g3 2019-02-05 15:10:38 +01:00
Laurent Perron
087868bcc2 maintenance on swig files; merge presolve context and expand context; minor fixes in the code 2019-02-05 15:06:47 +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
Corentin Le Molgat
ce71eee236 Update .Net samples 2019-02-05 12:05:57 +01:00
Corentin Le Molgat
b4377c6ad3 Java: Add TestSat.java to test_java_tests 2019-02-05 10:34:21 +01:00
Corentin Le Molgat
7ee8a047bf Fix todo user name 2019-02-05 09:30:11 +01:00