Commit Graph

416 Commits

Author SHA1 Message Date
Laurent Perron
36a094455a Enable PDLP in MPSolver 2022-02-25 19:30:02 +01:00
Laurent Perron
4c8570a57c use init_google.h in c++ examples 2022-02-25 09:47:52 +01:00
Corentin Le Molgat
985b6a9239 Fix clang-format in examples/ 2022-02-16 16:19:26 +01:00
Laurent Perron
0e11ae7986 fix example 2022-01-20 21:30:24 +01:00
Laurent Perron
daed848eba fix bazel/filelineiter 2022-01-19 10:32:55 +01:00
Laurent Perron
c8d5ab2df4 fix bazel/filelineiter 2022-01-19 10:31:35 +01:00
Laurent Perron
58a32b0510 improve binpacking_2d_sat.cc example 2022-01-08 14:45:54 +01:00
Laurent Perron
ceabca677c [CP-SAT] ScalProd -> WeightedSum 2022-01-04 19:35:22 +01:00
Laurent Perron
79f2c45c33 [CP-SAT] Use AddExactly/AtMostOne in examples/samples; add int_square presolve; add multiplication constraint with target = left * right 2022-01-01 19:26:39 +01:00
Laurent Perron
22398bfad2 format 2021-12-30 18:59:22 +01:00
Laurent Perron
0a822872ed fix binpacking_2d_sat model 2021-12-30 18:59:09 +01:00
Laurent Perron
32f8ce88dd fix 2021-12-29 17:41:57 +01:00
Laurent Perron
9d79484058 improve knapsack_2d_sat.cc and binpacking_2d_sat.cc code 2021-12-22 09:53:33 +01:00
Laurent Perron
b98b391102 fix cmake 2021-12-18 19:15:40 +01:00
Laurent Perron
c352c1c391 [Packing] Parser and protobuf for 2bp files; add example to solve then as a binpacking or as a knapsack example 2021-12-18 18:16: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
6f5052f668 simplify sat runner 2021-12-13 10:45:53 +01:00
Laurent Perron
bd51fa48c4 implement #2699 2021-12-12 08:11:11 +01:00
Laurent Perron
a7a4d84f42 [CP-SAT] improve cp_model.h; improve examples with arithmetic operators 2021-12-11 12:24:04 +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
560826496b BUILD -> BUILD.bazel 2021-12-06 14:36:13 +01:00
Laurent Perron
18d001912d remove ortools/base/random.h|cc; adapt code everywhere; increase robustness of glop preprocessor 2021-12-06 14:03:19 +01:00
Laurent Perron
025e91973c fix 2021-12-02 14:37:14 +01:00
Laurent Perron
a2cf757003 remove unused return type 2021-12-02 14:34:25 +01:00
Laurent Perron
39b642c3e2 re-fix example 2021-12-02 11:15:21 +01:00
Laurent Perron
95853b77c3 improve example 2021-12-02 10:37:22 +01:00
Laurent Perron
6c3425bd04 [PACKING] use absl::btree_map instead of std::map; reindent code 2021-11-28 12:55:20 +01:00
Laurent Perron
65951e1b13 fix example 2021-11-19 10:33:29 +01:00
Mizux Seiha
050a915929 bazel: Fix build 2021-10-28 22:14:39 +02:00
Corentin Le Molgat
6a1b135e58 Sync examples/cpp 2021-10-27 17:17:07 +02:00
Laurent Perron
e3a479f700 remove bad warning 2021-10-20 12:04:21 +02:00
Laurent Perron
1cd57991cc fix example 2021-10-13 17:12:18 +02:00
Laurent Perron
e41e25b3d8 tweak the default time limit in solve.cc 2021-10-13 16:39:39 +02:00
Laurent Perron
b4feb576b1 polish previous code 2021-10-12 10:17:21 +02:00
Laurent Perron
bada314aae change solve.cc: change solver type parsing; use absl::Duration for the time limit 2021-10-12 10:09:18 +02:00
Laurent Perron
39261c1b0d polish solver binary 2021-10-07 18:19:24 +02:00
Laurent Perron
68ad906667 use the solver logging class in GLOP 2021-10-07 17:32:30 +02:00
Laurent Perron
22d2fee64a polish 2021-09-30 13:33:32 +02:00
Laurent Perron
58a1250d7e polish 2021-09-30 13:25:36 +02:00
Laurent Perron
fc98cba505 working vector bin packing solver with solution display 2021-09-30 13:12:07 +02:00
Mizux Seiha
fdfa442497 Fix comment typo in cvrp_disjoint_tw.cc 2021-09-28 17:53:06 +02:00
Mizux Seiha
db24fb1ca4 cmake: Fix examples/cpp tests 2021-09-28 17:42:29 +02:00
Laurent Perron
74b33fe9c7 fix compilation of vector_bin_packing example 2021-09-28 16:27:58 +02:00
Laurent Perron
f471b877b8 typo 2021-09-28 16:13:45 +02:00
Laurent Perron
26a070339e new vector bin packing example in C++; update makefiles 2021-09-28 16:13:05 +02:00
Laurent Perron
f6fa781fa4 split ortools/data into ortools/scheduling and ortools/packing 2021-09-28 15:58:37 +02:00
Corentin Le Molgat
ccb4f15c81 cmake: Fix examples/cpp 2021-09-17 15:54:43 +02:00
Corentin Le Molgat
522474264e cmake: compile examples/cpp/*.cc 2021-09-17 15:13:49 +02:00
Laurent Perron
84a51c8e0a new model for SDST jobshops 2021-09-16 17:43:32 +02:00