27 Commits

Author SHA1 Message Date
Guillaume Chatelet
30a7baee6d Add vector reserve to examples/cpp 2026-01-07 15:57:38 +01:00
Mizux Seiha
cf72696d00 examples/cpp: backport from main 2025-03-04 21:10:09 +01:00
Mizux Seiha
c96c824034 backport examples from main 2025-02-25 16:03:40 +01:00
Corentin Le Molgat
a66a6daac7 Bump Copyright to 2025 2025-01-10 11:35:44 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
5b911b1169 [CP-SAT] add ~operator for the logical negation in C++ and Python; fix a bug in C# 2023-12-15 14:10:44 +01:00
Laurent Perron
dbd5a69471 use new logging flags 2023-02-17 15:17:12 +01:00
Laurent Perron
9321ab2096 update and fix examples 2022-09-09 16:49:24 +02:00
Corentin Le Molgat
c7120439d4 Bump license date 2022-06-17 14:23:23 +02:00
Laurent Perron
4c8570a57c use init_google.h in c++ examples 2022-02-25 09:47:52 +01:00
Laurent Perron
0c22a715b2 [CP-SAT] improve doc on C++ builder API; rewrite python API to remove the DoubleLinearExpr class 2021-12-14 17:15:17 +01:00
Laurent Perron
6ae332569b natural API for Cp_SAT C++ 2021-12-09 15:29:49 +01:00
Laurent Perron
2d22667f30 [CP-SAT] deprecate BooleanSum and BooleanScalProd in favor of Sum and ScalProd 2021-12-08 16:29:40 +01:00
Laurent Perron
bb31174265 fix display 2021-08-27 13:56:37 +02:00
Mizux Seiha
c0f6978f3b Update copyright 2021-04-02 10:08:51 +02:00
Laurent Perron
805b733f98 sync most c++ examples 2021-01-14 10:48:19 +01:00
Laurent Perron
6d135679ee fix 2021-01-06 18:01:03 +01:00
Laurent Perron
425901d7d0 new course scheduling example; sync c++ examples with internal code 2021-01-05 22:13:51 +01:00
Corentin Le Molgat
e4caaf96bc format file forcing the left alignment 2020-10-29 14:25:39 +01:00
Mizux Seiha
66bc68192f Fix examples 2020-10-24 00:50:28 +02:00
Mizux Seiha
20d0496bfb reapply google format 2020-10-23 00:45:17 +02:00
Laurent Perron
a4258f2bdf switch flags setters and getters to the absl format 2020-10-21 00:21:54 +02:00
Mizux Seiha
ea95fb1c40 Format all examples/cpp 2020-09-23 11:45:03 +02:00
Laurent Perron
b78002be05 remove CP-SAT SolveWithModel, keep the equivalent SolveCpModel; optimize internal model 2019-05-15 20:19:00 +02:00
Laurent Perron
17b9b597a1 change CP-SAT C++ Api to call Build() on the model before solving; use log_search_progress parameters to display all log; enable this parameter in non C++ language; call InitGoogleLogging() automatically in non C++ languages 2019-04-05 14:58:33 +02:00
Laurent Perron
798b9e73e2 fix the rest of the C++ examples 2018-11-30 14:48:55 +01:00
Laurent Perron
78d31daf0f remove model_util example; port slitherlink to CP-SAT; port sports_scheduling to CP-SAT; fix test_cc 2018-11-22 01:30:28 -08:00