Commit Graph

357 Commits

Author SHA1 Message Date
Laurent Perron
072938b720 rewrite rcpsp_sat example 2021-06-29 17:20:38 +02:00
Laurent Perron
47520a3fb6 polish examples 2021-04-26 11:06:34 +02:00
Laurent Perron
29791a179f reindent, add #include <cstding> 2021-04-23 14:55:51 +02:00
Laurent Perron
856e3502a8 fix example 2021-04-23 14:55:27 +02:00
Mizux Seiha
dd800999d1 Replace int64 to int64_t in example 2021-04-06 11:34:34 +02:00
Mizux Seiha
e9704f55df examples: [u]int32 -> [u]int32_t
note: sed -i 's/\b\([u]\?int32\)\b/\1_t/g' *.h *.cc
2021-04-05 17:27:21 +02:00
Corentin Le Molgat
baf02eca7e update examples 2021-04-02 16:05:40 +02:00
Corentin Le Molgat
fb519c51d1 Sync google <=> github 2021-04-02 10:13:40 +02:00
Mizux Seiha
c0f6978f3b Update copyright 2021-04-02 10:08:51 +02:00
Mizux Seiha
55acb1c5ee Update integer_programming to get trace 2021-03-31 12:24:34 +02:00
Laurent Perron
9de99d789e improve logging facilities, use it in the CP-SAT solver 2021-03-10 11:40:28 +01:00
Laurent Perron
61a2837782 update sat_runner 2021-01-15 09:47:18 +01: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
Laurent Perron
f14694250b fix 2020-11-19 00:23:00 +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
Mizux Seiha
cbc3aaee80 Revert broken auto format 2020-10-21 09:03:08 +02:00
Laurent Perron
288d3f5ed4 fix examples 2020-10-21 00:28:40 +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
54bda4bd42 fix examples after FEASIBLE -> OPTIMAL CP-SAT change; improve display of the sudoku problem 2020-09-20 09:04:28 +02:00
Mizux Seiha
fff7b6ad8b cmake: update samples and examples management 2020-09-13 00:04:50 +02:00
Mizux Seiha
70326e59b1 remove duplicated examples/cpp/knapsack.cc 2020-08-25 01:51:19 +02:00
Laurent Perron
55cedb4b4b remove name from MPSolver.CreateSolver API; simplify underlying code 2020-08-18 17:16:10 +02:00
Laurent Perron
950c5ae9e9 add init logging 2020-08-14 23:50:37 +02:00
Mizux Seiha
f992206a9a Force use of C++17
Routing use c++17 features (e.g. structured binding)
ref: https://en.cppreference.com/w/cpp/language/structured_binding
2020-08-14 14:07:58 +02:00
Mizux Seiha
d4d88e1f64 constraint_solver: Fix LocalSearchFilter samples 2020-08-14 14:07:58 +02:00
Corentin Le Molgat
a7262b6ec7 cmake: Fix example cpp rpath 2020-07-31 14:18:15 +02:00
Laurent Perron
937b96c01c add make based support for xpress on MAC OS X 2020-07-22 17:08:17 +02:00
Mizux Seiha
cda6cc5da3 Fix uncapacited_facility_location example
note: calling setNumThreads() when SCIP is compiled without
parallel support make the solver returning error.
2020-07-15 15:52:33 +02:00
Mizux Seiha
a3f8f7f206 cmake: Add missing cpp examples 2020-07-15 15:52:29 +02:00
Mizux Seiha
7003d8cbd7 example: Remove uneeded test 2020-07-06 15:16:26 +02:00
Mizux Seiha
cb21f8b8aa example: Add SCIP to linear_programming 2020-07-06 12:33:28 +02:00
Mizux Seiha
d5c599e4ec example: Add SAT to linear_programming 2020-07-06 12:04:40 +02:00
Laurent Perron
5c7e66d998 improve linear examples 2020-06-25 10:33:13 +02:00
Laurent Perron
86057e169b fix example 2020-06-24 19:04:13 +02:00
Ytai Ben-Tsvi
eddf9c482b Update constraint_programming_cp.cc 2020-06-23 23:14:05 +02:00
Rob Springer
bfb3f418cf Updating all targets to depend on com_google_protobuf instead of com_google_protobuf_cc.
This matches the declared Bazel workspace name in the main protobuf
repo, and thus the name used by other projects (for projects depending
on both OR-Tools and protobuf).
2020-06-16 08:23:02 -07:00
Mizux Seiha
85c05a555b cmake(cpp): Fix example RPATH 2020-05-25 11:27:08 +02:00
Laurent Perron
2e2993ab96 fix examples and makefiles 2020-05-06 18:35:18 +02:00
Laurent Perron
e92e466ed0 fix windows compilation, add CP-SAT backend 2020-03-31 05:21:30 -07:00
Daniel Espinoza
39e525fb24 Add uncapacitated facility location example 2020-03-26 15:18:46 -04:00
Laurent Perron
ce116160aa fix 2019-11-22 17:46:22 +01:00
Laurent Perron
60908cf671 sync examples 2019-11-22 15:17:10 +01:00
Laurent Perron
24e21cb7cf update examples 2019-08-06 15:57:08 -07:00
Laurent Perron
26d5fc7cb9 update routing/local search internal API 2019-08-06 15:54:57 -07:00
Manuel Ruiz
f50fc893a8 xpress integration in or-tools 2019-08-06 18:21:29 +02:00