Commit Graph

94 Commits

Author SHA1 Message Date
Corentin Le Molgat
88c57dd1f0 rework ortools samples (#4590) 2025-05-16 14:51:23 +02:00
Laurent Perron
ee23527569 big includes cleanup 2025-02-24 22:59:21 +01:00
Laurent Perron
4efd54f5f0 move set_cover code in its own directory 2025-02-17 12:52:36 +01:00
Corentin Le Molgat
c34026b101 Bump copyright to 2025
note: done using
```sh
git grep -l "2010-2024 Google" | xargs sed -i 's/2010-2024 Google/2010-2025 Google/'
```
2025-01-10 11:33:35 +01:00
Laurent Perron
3e34fb7559 update code and tests 2024-12-19 15:26:49 +01:00
Corentin Le Molgat
4d2dfae43e bazel: don't use native rules for samples 2024-09-30 15:45:05 +02:00
Corentin Le Molgat
6feb7c8575 algorithms: export from google3 2024-09-25 17:17:15 +02:00
Corentin Le Molgat
f3395736dc cleanup 2024-08-14 15:58:29 +02:00
Corentin Le Molgat
ff36413b94 bazel: cleanup code_samples.bzl 2024-07-08 13:53:09 +02:00
Corentin Le Molgat
aa17039ac4 algorithms: Export from google3
* use rules_python for samples
2024-07-08 11:58:39 +02:00
Corentin Le Molgat
7050ad3fc9 cmake: rework java helper functions 2024-01-18 11:22:38 +01:00
Corentin Le Molgat
dd6da5bf0f cmake: rework dotnet helper functions 2024-01-18 11:22:38 +01:00
Corentin Le Molgat
21fd586d32 cmake: rework add_python_sample() 2024-01-16 15:14:34 +01:00
Corentin Le Molgat
835d93025f cmake: Rework add_cxx_sample()
* Add mandatory FILE_NAME option
* Add COMPONENT_NAME option
2024-01-16 11:27:01 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Corentin Le Molgat
778f90ee9d bazel: remove jvm_flags hack 2023-12-18 13:59:59 +01:00
Corentin Le Molgat
ffe1a9caa5 Fix indent 2023-07-13 18:56:39 +02:00
Corentin Le Molgat
c368a4d9fa example: Fix python formating 2023-07-13 14:28:36 +02:00
Laurent Perron
32175c9c3b remove pywrap prefix for pybind11 generated modules 2023-07-03 12:46:51 +02:00
Laurent Perron
ffefb698e5 add pybind11 doc to knapsack_solver 2023-07-02 08:11:12 +02:00
Laurent Perron
4ebb72c5a4 fixes 2023-07-01 06:36:11 +02:00
Laurent Perron
91c1adc3e1 use snake case in knapsack_solver 2023-07-01 06:08:49 +02:00
Laurent Perron
c3fdb12908 Switch algorithms and scheduling python libraries from swig to pybind11; switch protobuf support from forced serialization to pybind11_protobuf -- with patch; [CP-SAT] rewrite cut management; reformat samples with black 2023-06-30 22:49:35 +02:00
Laurent Perron
a743431365 start reformating with black 2023-06-27 14:21:34 +02:00
Corentin Le Molgat
1e0f4027e2 bazel: Fix java tests/samples run
* remove: code_samples_java_test
* Fix jvm library path on windows
2023-03-06 15:45:23 +01:00
Corentin Le Molgat
6c6c7d1902 bazel: Rework java support
Fix swig_java.bzl
2023-03-02 17:41:10 +01:00
Laurent Perron
cf53ee3c9f reformat bazel java code; CP-SAT: fix corner case in presolve, zero very small coefficients in translate from math model, more parameter validation 2023-01-05 13:38:42 +01:00
Laurent Perron
cbdd1a5ba1 add java bazel tests 2022-12-30 12:13:29 +01:00
Laurent Perron
2746b48c5c add bazel java POC; works with algorithms and graph 2022-12-29 19:56:02 +01:00
Corentin Le Molgat
1c95a2c00e bazel: rework tests 2022-07-27 16:47:32 +02:00
Corentin Le Molgat
f98afa8e42 Add missing STL include 2022-07-22 16:25:40 +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
a7cd09b680 google3: sync 2022-05-04 08:26:48 +02:00
Laurent Perron
49e47a336d mostly reformat 2022-01-24 12:46:54 +01:00
Corentin Le Molgat
a40295d79c Sync from google 2022-01-21 17:51:38 +01:00
Laurent Perron
560826496b BUILD -> BUILD.bazel 2021-12-06 14:36:13 +01:00
Corentin Le Molgat
e41b99a930 remove deprecated .csprog 2021-12-03 17:22:45 +01:00
Mizux Seiha
d15847ec36 Bump csproj to 9.2 2021-11-30 18:13:26 +01:00
Laurent Perron
1941d1a5af update csproj and generator to use netcoreapp3.1 2021-09-21 09:55:14 +02:00
Laurent Perron
83007b4c00 bump version to 9.1; regenerate doc 2021-09-20 15:57:27 +02:00
Corentin Le Molgat
013bb65405 Fix dotnet samples 2021-07-26 12:47:10 +02:00
Mizux Seiha
6ae19c9b5b Bump version: 8.2 -> 9.0 2021-04-27 10:56:39 +02:00
Corentin Le Molgat
7531dd9625 python: Add shebang to programs 2021-04-16 00:23:35 +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
Laurent Perron
bad5c2032b int64 -> int64_t 2021-03-04 18:26:01 +01:00
Mizux Seiha
817914d94a Bump version 8.1 -> 8.2 2021-01-26 11:34:47 +01:00
Corentin Le Molgat
7cd948e9ea Export indent from Google 2020-12-22 10:43:28 +01:00
Corentin Le Molgat
c9caf3d914 bazel: Update sample build 2020-12-21 16:24:32 +01:00
Corentin Le Molgat
4cd85e08c4 Export Google update 2020-11-18 16:11:32 +01:00