Corentin Le Molgat
a66a6daac7
Bump Copyright to 2025
2025-01-10 11:35:44 +01:00
Corentin Le Molgat
5eff2b6513
backport algorithms from main
2024-05-30 10:52:45 +02:00
Corentin Le Molgat
dd6da5bf0f
cmake: rework dotnet helper functions
2024-01-18 11:22:38 +01:00
Mizux Seiha
a76bf1c5dd
bump license boilerplate
2024-01-04 13:43:15 +01:00
Laurent Perron
afbca7604d
cleanup c# swig: move vector calling to client .i, import vector.i instead of include; begin support for c# model_builder
2023-10-30 21:51:08 +01:00
Mizux Seiha
53c1e40969
swig: Fix define definition
...
need to set ABSL_MUST_USE_RESULT to empty string so '=' is mandatory
2023-05-30 14:49:13 +02:00
Corentin Le Molgat
192e690204
cmake: cleanup
2023-05-24 15:39:37 +02:00
Corentin Le Molgat
41d60ad520
cmake: Fix SWIG build
...
Still need to define ABSL_MUST_USE_RESULT= even with swig 4.1.1
2023-02-06 08:47:46 +01:00
Corentin Le Molgat
9054f13f95
cmake: remove ABSL_MUST_USE_RESULT for swig
...
should be fixed with absl upstream + swig 4.1 now support attibute
2023-02-06 08:47:46 +01:00
Corentin Le Molgat
1e8423c44f
swig: Fix dotnet build when using swig 4.1.0
2022-11-07 15:31:47 +01:00
Corentin Le Molgat
fbc5b13dba
Add KnapsackSolverTests.cs ( Fix #3481 )
2022-10-05 12:33:32 +02:00
Mizux Seiha
baaf1ca82a
cmake: Fix dotnet build
...
* fix cmake/dotnet.cmake
* fix <cmp>/dotnet/CMakeLists.txt
* fix examples/tests/CMakeLists.txt
2022-09-23 13:15:36 +02:00
Corentin Le Molgat
045a5d93b7
Sync google3 github
2022-06-17 14:23:23 +02:00
Corentin Le Molgat
c7120439d4
Bump license date
2022-06-17 14:23:23 +02:00
Corentin Le Molgat
5f567735d7
cmake: Fix dotnet.cmake and path
2021-12-03 14:20:19 +01:00
Mizux Seiha
72ebd8b748
cmake: rework .Net support
2021-12-03 14:20:19 +01:00
Mizux Seiha
8bb54b04ef
Bump Copyright to 2021
...
FYI:
find ortools \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/\(Copyright 2010\)-2018/\1-2021/g'
2021-04-01 21:00:53 +02:00
Corentin Le Molgat
a40143cdd2
cpp: Migrate int64 to int64_t
2021-04-01 20:20:43 +02:00
Mizux Seiha
a4a5f64801
cmake: Add dotnet samples
2020-09-22 19:09:22 +02:00
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
Corentin Le Molgat
ed9136bb48
.Net swig refactor
2020-02-17 10:51:57 +01:00
Corentin Le Molgat
d7a33542a2
Sync g3 -> github
2019-05-14 09:44:13 +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
Corentin Le Molgat
2f0680127d
Backport from g3 to github
2019-03-13 13:51:31 +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
Laurent Perron
87b9d55b21
update license headers
2018-11-10 18:00:53 +01: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
03fccb4032
improve incrementality of glop when used in the sat solver; change more copyright dates; more documentation on the gate scheduling problem
2017-10-18 11:09:13 +02:00
Laurent Perron
66b8d23079
move src to ortools; simplified python generation; remove some namespaces in the ortools/base helper files
2017-04-26 17:30:25 +02:00