Commit Graph

324 Commits

Author SHA1 Message Date
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
Laurent Perron
e685805fc8 improve multi_knapsack_sat.cc 2019-04-05 16:43:23 +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
d1d1c01df4 add multi bin knapsack sat example 2019-04-04 23:07:06 +02:00
Laurent Perron
814935dab7 large routing update; rewrite PDP options; Fix examples of LS API after API change; minor sync on the rest of or-tools 2019-03-15 17:17:02 +01:00
stuarthillary
43a1eb5020 Fix check when computing all paths in https://github.com/google/or-tools/blob/master/examples/cpp/network_routing_sat.cc example 2019-03-12 15:20:49 +00:00
Laurent Perron
8257b081db examples compiles with bazel 2019-02-10 19:00:47 +01:00
Laurent Perron
6dbdc416f2 fix 2019-01-05 18:26:35 +01:00
Laurent Perron
a27deb3468 fix 2019-01-05 12:34:50 +01:00
Laurent Perron
b88a499b6c remove obsolete files from ortools/base; port code accordingly; add new sat sample 2019-01-05 11:30:35 +01:00
Laurent Perron
1c290f078a remove traces of callback.h 2019-01-05 08:52:41 +01:00
Corentin Le Molgat
affbc1e0c0 Fix CMake test list 2018-12-28 17:09:08 +01:00
Corentin Le Molgat
ea8d8195da Fix CMake compilation
- tsp.cc and vrp.cc have move to ortools/cp/samples
2018-12-28 16:00:40 +01:00
Corentin Le Molgat
58b8386e96 Move tsp.cc & vrp.cc to cp/samples 2018-12-27 11:02:35 +01:00
Laurent Perron
1d04b1738d move routing code around; cleanup examples 2018-12-18 15:45:34 +01:00
Laurent Perron
37776ddc6f cleanup routing API and examples on transits 2018-12-17 09:10:37 +01:00
Laurent Perron
a510e8e19b tentative variable bound sharing between threads 2018-12-16 23:18:40 +01:00
Laurent Perron
39f30fb178 revert last change on the routing API; report new best bound of the SAT solver in the log 2018-12-14 14:25:52 +01:00
Laurent Perron
2861b24ddb change routing disjunction API to use list of int instead of int64 for nodes 2018-12-12 11:02:24 +01:00
Laurent Perron
c36ac046f7 prepare c++ code for int64 = int64_t 2018-12-07 19:43:46 +01:00
Laurent Perron
8b6da37ed5 revert last commit 2018-12-01 16:06:18 +01:00
Laurent Perron
7ca7fc393a remove template specialization in min/max after int64 revamp 2018-12-01 15:20:35 +01:00
Laurent Perron
0b034b6e30 fix cmakefile 2018-11-30 14:48:55 +01:00
Laurent Perron
798b9e73e2 fix the rest of the C++ examples 2018-11-30 14:48:55 +01:00