72 Commits

Author SHA1 Message Date
Corentin Le Molgat
809c2540a1 util: backport from main 2025-11-05 12:05:41 +01:00
Corentin Le Molgat
a66a6daac7 Bump Copyright to 2025 2025-01-10 11:35:44 +01:00
Corentin Le Molgat
8931e50f31 backport math_opt from main 2024-05-30 10:52:45 +02:00
Corentin Le Molgat
c9b1ad998a backport linear_solver, math_opt, pdlp and util from main 2024-05-30 10:51:54 +02:00
Laurent Perron
929af52c38 missing licence 2024-01-12 16:31:29 +01:00
Corentin Le Molgat
4aab26abc8 dotnet: Fix absl::string_view SWIG 2024-01-10 18:21:27 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
d229e48c88 polish model_builder code and samples; tweak C# wrapping code 2023-11-03 15:09:13 +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
Laurent Perron
af879c6d17 big cleanup of includes 2023-08-24 17:14:58 +02:00
Laurent Perron
fa6883d544 mostly cleaning: remove integral_types.h and basictypes.h 2023-08-24 14:52:54 +02: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
b3920b4452 cmake: fixup 2023-02-10 08:59:08 +01:00
Laurent Perron
7277ccc140 reindent cmake files 2023-02-09 16:18:59 -08: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
1af55b2be3 Add license boilerplate 2022-06-21 11:25:29 +02:00
Corentin Le Molgat
c7120439d4 Bump license date 2022-06-17 14:23:23 +02:00
Laurent Perron
ce36b4bb6d fix 2022-01-23 21:46:13 +01:00
bollhals
8e742dca52 allow unsafe code and use it to avoid copying to temp array 2022-01-23 20:47:07 +01:00
Laurent Perron
8644ffa1ea reformat 2022-01-21 12:00:35 +01:00
Laurent Perron
58659bd77e [CP-SAT] fix memory leak in C# 2022-01-20 13:30:34 +01:00
bollhals
ca050c0c50 simplify reading from returned buffer
use arraypool for copy to buffer
avoid calling CalculateSize twice
2022-01-19 01:23:27 +01:00
bollhals
e2054b3cb5 - only use domain object if really needed
- upgrade to C# 9
- replace some null checks with "is (not) null"
2022-01-12 21:54:53 +01:00
Corentin Le Molgat
354e350004 Sync C# indent 2022-01-03 09:49:47 +01: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
Laurent Perron
6c6e9d3979 remove .NET warning 2021-10-03 11:52:13 +02:00
Mizux Seiha
89d8d77c2a Fix build 2021-04-12 09:21:20 +02: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
d874be2562 dotnet: Add support for vector<vector<CType>> 2021-02-19 16:02:51 +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
a4a5f64801 cmake: Add dotnet samples 2020-09-22 19:09:22 +02:00
Corentin Le Molgat
22356ff523 Sync g3 -> gh part_2 2020-03-09 18:34:21 +01: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
Laurent Perron
2abc2b6786 remove warning in .NET 2020-03-02 15:15:50 +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
Laurent Perron
8572f97c28 reindent cp_model.py; fix Domain swig; rename test 2019-05-17 10:27:41 +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
1d9463f9cb remove duplicate typedef 2019-05-13 15:29:25 +02:00
Laurent Perron
f111661e92 remove comment 2019-05-08 16:28:34 +02:00