Commit Graph

347 Commits

Author SHA1 Message Date
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
Laurent Perron
5f9a56b8aa 7.2 -> 7.3 2019-08-05 09:39:01 -07:00
Laurent Perron
663f9c00de Init logging 2019-07-09 20:15:31 -07:00
Laurent Perron
7115cf570f reorganize SIGINT catching 2019-06-27 17:28:56 +02:00
Laurent Perron
fe22bf057a minor polish of examples 2019-05-28 15:28:01 +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
cd6bf20fe5 mostly reindent of examples 2019-05-06 10:31:03 +02:00
Laurent Perron
0ef6121de1 fix one more example 2019-04-18 19:24:37 +02:00
Laurent Perron
f7188c82b4 fix example 2019-04-18 19:20:39 +02:00
Corentin Le Molgat
a49b9143a4 Rework CMake dependencies management (Fix #1116)
- By default don't build dependencies simply call find_package()
- By default only build C++ library
- IF building Python, Java or .Net wrapper then force build dependencies
  - Build dependencies as STATIC
  - Build and Install (in CMAKE_BINARY_DIR) dependencies at configure time
2019-04-11 13:47:05 +02:00
Laurent Perron
752bcbfb93 default parameters for multi_knapsack_sat 2019-04-05 17:01:00 +02:00