Commit Graph

72 Commits

Author SHA1 Message Date
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
Laurent Perron
f0584f1c12 start porting int64 by int64_t 2021-03-01 11:45:21 +01:00
Mizux Seiha
d874be2562 dotnet: Add support for vector<vector<CType>> 2021-02-19 16:02:51 +01:00
Corentin Le Molgat
241d79d698 routing: Export from Google to GitHub 2021-02-19 10:34:31 +01:00
Mizux Seiha
676827bf70 dotnet: cleanup routing index manager 2021-02-18 17:46:13 +01:00
Mizux Seiha
2f88488cf6 dotnet: Fix RoutingModel::add[Matrix|Vector]Dimension() 2021-02-16 17:28:13 +01:00
Corentin Le Molgat
850968c9f1 routing: Rework Vector/Matrix transit management (#2315) 2021-02-16 13:43:52 +01:00
Mizux Seiha
930e7fb0d6 dotnet: Update routing wrapper
note: should be in sync with the Java exposed API
2020-12-03 18:07:06 +01:00
Corentin Le Molgat
a9385fc3d2 Format all .Net using Microsoft style 2020-11-03 10:15:53 +01:00
Corentin Le Molgat
b5e70663c7 Format using clang-format 11 2020-10-29 14:26:41 +01:00
Mizux Seiha
335cf3df3d format all C# files 2020-10-26 18:41:49 +01:00
Mizux Seiha
88af9aea73 dotnet: Fix SearchLog wrapper 2020-10-19 17:42:51 +02:00
Mizux Seiha
a4a5f64801 cmake: Add dotnet samples 2020-09-22 19:09:22 +02:00
Mizux Seiha
807d559e9a cp: fix .Net type in maximize/minimize methods 2020-08-25 23:51:59 +02:00
Mizux Seiha
d4d88e1f64 constraint_solver: Fix LocalSearchFilter samples 2020-08-14 14:07:58 +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
d7b67ee2eb CMake: fix constraint_solver dotnet swig 2020-03-02 17:23:34 +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
061f5da1f2 .Net: Ignore broken methods (Fix #1276)
Usually no typemap available for return type or arguments
2020-01-17 11:22:29 +01:00
Corentin Le Molgat
089e4ebfa1 Expose GetStartIndex and GetEndIndex to .Net
Follow #1843
2020-01-16 13:41:44 +01:00
Laurent Perron
2ff000ab9a bump abseil to the latest version, adapt the code all around 2019-11-20 14:28:11 -08:00
Laurent Perron
0805c35356 fix 2019-07-22 15:05:30 -07:00
Corentin Le Molgat
6cc1df06d7 Sync g3->github 2019-05-13 16:51:33 +02:00
Corentin Le Molgat
d8ca1d48d3 .Net: Fix IntTupleSet.cs 2019-05-07 11:30:43 +02:00
Laurent Perron
70574490ba more cleanup in routing/CP C# 2019-05-06 13:20:58 +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
4a8346f084 Wrappers: Bind few RoutingIndexManager methods. 2019-04-19 18:47:55 +02:00
Laurent Perron
a33585e6aa mostly indent; internal improvements to the Routing library; change API with SearchLimit to RegularLimit 2019-04-11 09:46:06 -07:00
Laurent Perron
814935dab7 large routing update; rewrite PDP options; Fix examples of LS API after API change; minor sync on the rest of or-tools 2019-03-15 17:17:02 +01:00
Corentin Le Molgat
2f0680127d Backport from g3 to github 2019-03-13 13:51:31 +01:00
Corentin Le Molgat
afa5e15156 .Net: Rework routing.i
- Add missing DEFINE_INDEX_TYPE_TYPEDEF()
2019-03-07 17:44:09 +01:00
Corentin Le Molgat
1e398fabad .Net: routing_type.i cleanup 2019-03-07 17:44:09 +01:00
Corentin Le Molgat
90249a37cb .Net: Rework constraint_solver.i
- Add support for more std::function<>
- Remove all remaining SWIGTYPE_p
- comment out code in IntArrayHelper.cs
2019-03-07 17:44:09 +01:00
Corentin Le Molgat
b92d396fd7 .Net: Add support for long[][] -> CpInt64VectorVector 2019-03-04 11:25:21 +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
fc1a12e85a Export g3 to github 2019-02-18 15:44:06 +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
9aed182dcf add comments, reindent 2019-02-11 13:12:04 +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
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
Corentin Le Molgat
ec4a7d6e0d Rework C# Callback to use delegates 2019-01-30 14:29:50 +01:00
Corentin Le Molgat
f562e3a4ae Expose PickupAndDeliveryPolicy APIs (#961) 2019-01-17 14:56:50 +01:00
Corentin Le Molgat
263ab653b4 csharp: rename RoutingModel::status() to GetStatus().
- to avoid conflict with enum RoutingModel::Status since methods
need to be in UpperCamelCase in .Net
2019-01-17 13:13:32 +01:00