Commit Graph

20 Commits

Author SHA1 Message Date
Corentin Le Molgat
bb33b95452 Fix CpSolver.cs 2018-10-10 08:06:30 +02:00
Laurent Perron
0cefdf40d1 reindent fix #877 2018-10-09 23:00:41 +02:00
Corentin Le Molgat
56c255d5b7 dotnet: Fix SolveWithSolutionCallback 2018-10-09 16:27:24 +02:00
Laurent Perron
ba31fa996b fix sat C# 2018-10-09 16:07:08 +02:00
Laurent Perron
6b7036832b add missing API on CP-SAT Java interface; polish doc 2018-09-25 13:23:27 +02:00
Laurent Perron
b4e8d89fe5 reformat code 2018-09-20 13:56:50 +02:00
Laurent Perron
b1da9320f9 enable objective lower bound (when minimizing) on the SAT solver in Python, Java, C#; change objective_value to be double (as in C++) for these languages. 2018-09-20 11:30:19 +02:00
Laurent Perron
c4c6cb6141 remove all optional integer variables from sat code; allow multiple enforcement literals for a few constraints 2018-09-12 16:58:19 +02:00
Laurent Perron
428e272ccc add ModelStats and CpSolverResponseStats for SAT/{Python|Java|C#}; enable multiple enforcement literals for a few constraints; small fixes, typo corrections 2018-09-12 15:07:23 +02:00
Laurent Perron
466b2ee0e7 fix circuit presolve; polish sat cookbook; fix bug with optional intervals sharing the same boolean 2018-09-05 11:54:28 +02:00
Laurent Perron
1719dc993a remove OptionalIntVar from sat C# API #836 2018-08-31 16:36:17 +02:00
Corentin Le Molgat
62cbe9a228 dotnet: Full Rework
- Create native project runtime.{rid}.Google.OrTools
  - follow the microsoft convention e.g.:
  https://www.nuget.org/packages/Microsoft.NETCore.App/
  https://www.nuget.org/packages/runtime.linux-x64.Microsoft.NETCore.App/
- Target `make_dotnet` targets local nupkg instead of dll.
- Use 4096 RSA key for or-tools.snk
- Clean nuget cache in `clean_dotnet` recipe

Refactor:
- Move cs files to ortools/*/csharp
- Move dotnet project to ortools/dotnet/Google.OrTools
- Move example generation to temp_dotnet
  - Avoid to mess the `BIN_DIR`
- Rework Google.OrTools.FSharp

Cleanup:
- Remove deps to netfx.props since we only support:
  netstandard2.0 TFM and netcoreapp2.1 Runtime TFM
- Remove OrTools.nuspec.in
  -> use newly added properties to .csproj format
- Remove of ortools/dotnet/OrTools project
  - replaced by ortools/dotnet/Google.OrTools
- Remove provided protobuf.dll.
  - Automatically retrieved from nuget.org

Misc:
- Add **/*.csproj to gitignore
- Add **/runtime.json to gitignore

- dotnet: Makefile windows fix
  - make.exe doesn't support `else ifeq`
2018-08-30 11:58:47 +02:00
Laurent Perron
039f5067e6 Add StopSearch on SAT solution callback in java, C# 2018-08-30 11:28:36 +02:00
Laurent Perron
d3bd654c28 export all SAT/C# API in swig_helper 2018-02-19 12:58:09 +01:00
Laurent Perron
7d599039f9 misc improvement on sat python API; enrich sat swig helper; rewrote CpSolver.cs to follow change in SWIG 2018-02-13 17:30:43 +01:00
Laurent Perron
f419e617fb more work on C# sat 2018-02-12 15:49:50 +01:00
Laurent Perron
b7cf1a453e Add BooleanValue getter on CPSolver and CpSolverSolutionCallback in C#; use it in nurses_sat.cs solution printer 2018-02-12 13:23:32 +01:00
Laurent Perron
57c12f834b improve sat/swig_helper to support director based callbacks; Implement solution callback in C# CpModel; fill in time in solution observer; use callbacks in nurses_sat.cs 2018-02-09 17:28:03 +01:00
Laurent Perron
6820d51741 more work on sat c# 2018-02-06 19:47:11 +01:00
Laurent Perron
930395c8f2 c# support for sat, + micro test using the cp_model proto in C# 2017-08-01 16:15:49 -07:00