Commit Graph

76 Commits

Author SHA1 Message Date
Corentin Le Molgat
8fee57d205 CMake: dotnet rework
.Net: update runtime csproj.in
2020-03-05 15:18:21 +01:00
Corentin Le Molgat
5b6079a6e5 CMake:dotnet: Fix -FPIC management 2020-03-05 15:18:20 +01:00
Corentin Le Molgat
c59444b07e CMake:dotnet Add definition for swig 2020-03-05 15:18:20 +01:00
Corentin Le Molgat
20c8ee05b8 CMake: fix dotnet_<targets> 2020-03-04 14:34:33 +01:00
Corentin Le Molgat
d67a1af2ea .Net: Fix SWIG compile option in CMake 2020-03-02 09:25:05 +01:00
Corentin Le Molgat
349f6b7681 CMake: Update .Net support
* Add define SWIGWORDSIZE64 on Linux
* Add -doxygen option
2020-02-28 08:21:27 +01:00
Laurent Perron
7e4d1f5e30 improve presolve; speed up diffn 2020-02-26 16:10:17 +01:00
Corentin Le Molgat
ed9136bb48 .Net swig refactor 2020-02-17 10:51:57 +01:00
Corentin Le Molgat
ef51a572f6 .Net fix compilation 2020-01-27 14:33:52 +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
Laurent Perron
bec1d01562 improve sat internals 2019-10-21 16:50:31 +02:00
Laurent Perron
f122c7429e fix typo 2019-10-16 20:50:39 +02:00
Laurent Perron
39f6793f1e fix #1601 2019-09-27 15:18:25 +02:00
Laurent Perron
2dbf3895f2 remove more usage of 0LL and 1LL; reformat code 2019-09-12 10:11:02 +02:00
Xiang Chen
7445311467 Add AddHint to cpp and csharp, port hinting samples 2019-09-09 01:56:19 +02:00
Laurent Perron
09655b81ea add LinearExpr.Term() API; improve internals 2019-08-22 13:15:49 +02:00
Laurent Perron
c2999dcdfa fix 2019-06-30 12:44:01 +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
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
83b19284ae fix C# 2019-05-16 20:29:03 +02:00
Laurent Perron
ed6dcb6d18 add LinearExpr.Sum(LinearExprArray) to CP-SAT C# API 2019-05-16 19:20:58 +02:00
Laurent Perron
a6720e159a rewrite CP-SAT C# Linear implementation 2019-05-16 15:26:44 +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
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
0f2fe9e578 better presolve of int_max, make extraction of size 2 table constraint deterministic; internal cleanup of CP-SAT search internals 2019-05-10 23:26:49 +02:00
Laurent Perron
0c7968388b split sorted_interval_list.i out of sat.i in C# CP-SAT swig wrapper 2019-05-08 13:40:42 +02:00
Laurent Perron
a70ed70563 remove the need for IntArrayHelper.cs; support conversion from type[][] and type[,] to std::vector<std::vector<type>> in C# 2019-05-06 12:55:30 +02:00
Laurent Perron
98ff9989c9 fix comment 2019-05-06 11:23:38 +02:00
Laurent Perron
76162bd501 fix, polish 2019-05-06 11:08:40 +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
5cd1175933 polish swig declarations 2019-05-05 20:04:25 +02:00
Laurent Perron
c1e61773b6 fix domains and swig 2019-05-05 15:18:52 +02:00
Laurent Perron
75aacc45f1 wrap C++ Domain class in CP-SAT Java/Python/C#; use it in NewIntVarFromDomain API, remove FromValues and FromIntervals API 2019-05-04 16:56:42 +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
7097fa4829 uniformize name of linear constraints in CP-SAT Python/Java/C# 2019-05-03 18:15:44 +02:00
Corentin Le Molgat
0770f22e2d C#: Fix compilation by adding few SWIG include 2019-05-03 17:44:11 +02:00
Laurent Perron
4b8b74dff9 missing file 2019-05-03 17:13:36 +02:00
Laurent Perron
5612eb19e1 output C# array in SWIG for CP-SAT 2019-05-03 17:02:54 +02:00
Laurent Perron
7f99c48698 revamp SAT domains, API with bounds on non C++ languages 2019-05-03 16:30:57 +02:00
Laurent Perron
80857633a7 fix #1238 2019-05-02 09:51:57 +02:00
Laurent Perron
c4f08e2bab enable public API to modify the CP-SAT model protobuf directly 2019-03-25 13:32:12 +01:00
Laurent Perron
180346c6f9 enable model modifications for CP-SAT 2019-03-25 12:49:04 +01:00
Laurent Perron
b9564540c8 allow modification of the CP-SAT model; add public setters and missing getters 2019-03-25 12:01:45 +01:00
Corentin Le Molgat
2f0680127d Backport from g3 to github 2019-03-13 13:51:31 +01:00
Laurent Perron
fec0768323 use Pseudo-cost in parallel search; change automata to automaton in cp_model.proto 2019-02-01 18:32:13 +01:00
Laurent Perron
916e3136ec add new error type in status/canonical_errors; savings improvement in the routing library; scip_interface rewrite; first steps in CP-SAT cuts management 2019-01-02 16:35:40 +01:00
Laurent Perron
cf73e298a2 move ObjectiveSolutionPrinter to new SearchHelpers.cs CP-SAT C# code 2018-12-28 18:17:41 +01:00
Laurent Perron
fedf3d4ff4 revamp and simplify swig support, force typed enums for C# and Java for all except the constraint_solver/routing module; port examples; Fix SAT on very large problems 2018-12-11 17:03:03 +01:00
Laurent Perron
27f9c4f95e support int64_t transition in c# 2018-12-10 12:57:27 +01:00