Commit Graph

208 Commits

Author SHA1 Message Date
Laurent Perron
70e73d8754 clang-format 2018-06-08 16:40:43 +02:00
Laurent Perron
1ec337d9c0 fix weighted_tardiness_sat crash 2018-06-08 13:36:19 +02:00
Laurent Perron
85339803e8 work on sat scheduling doc; fix C# code to accept optional interval vars without optional start and end variables; update code_samples with new code from doc 2018-06-07 15:33:25 +02:00
Laurent Perron
bd060bc400 more code samples for sat 2018-06-06 15:28:23 +02:00
Laurent Perron
e129e2da77 fix examples 2018-06-06 14:32:29 +02:00
Laurent Perron
74456de74c simple cryptarithmetic examples for sat doc 2018-06-05 15:54:45 +02:00
Corentin Le Molgat
d6fd74b4c9 Fixing all remaining StrCat -> absl::StrCat 2018-06-02 03:13:30 +02:00
Corentin Le Molgat
7dda497960 Fix all remaining StrAppend -> absl::StrAppend 2018-06-02 03:05:07 +02:00
Laurent Perron
5eff2ed1bd polish sat doc and code samples 2018-05-30 11:29:09 -07:00
Laurent Perron
ca579c649f add code samples in C++ for sat 2018-05-30 10:03:49 -07:00
Laurent Perron
bd106059e5 support assembly scheduling in the jobshop_scheduling.proto and corresponding examples/cpp/jobshop_sat.cc 2018-05-22 13:13:52 +02:00
Laurent Perron
55d906819f add jobshop scheduling proto + parser + sat solver 2018-04-18 13:37:29 +02:00
Laurent Perron
023bc19334 update C++ examples after changes in base library 2018-04-11 13:47:07 +02:00
Laurent Perron
8623fc3580 speed up sat cumulative; add namespaces to base library + fix code 2018-04-11 13:00:30 +02:00
Laurent Perron
8ac56302da small improvements to SAT presolve; fix sat_runner 2018-03-13 17:20:49 +01:00
Corentin Le Molgat
8bd5acee1a Add Test & Examples
Tests:
- Add cc test
- Add python test

Examples:
- Add examples/cpp
- Add examples/data
- Add examples/notebook
- Add examples/python

Signed-off-by: Corentin Le Molgat <corentinl@google.com>
2018-01-19 15:03:25 +01:00
Laurent Perron
aad245304f fix compilation of sat_runner 2017-12-29 11:14:08 +01:00
Laurent Perron
bace30695d export base::SetFlag and base::GetFlag; use them in examples 2017-12-14 12:46:53 +01:00
Laurent Perron
3af045b0b1 remove ortools/util/filelineiter.h in favor of ortools/base/filelineiter.h 2017-12-11 15:52:26 +01:00
Laurent Perron
cfdaf3972e polish previous CL on base libraries upgrade 2017-12-08 16:08:16 +01:00
Laurent Perron
8d7320b962 deep sync with base library; prepare for abseil.io integration 2017-12-08 14:52:49 +01:00
Laurent Perron
e14ee86de3 move rcpsp parser to ortools/data; continue working on SAT 2017-11-07 15:45:52 +01:00
Laurent Perron
42e0a0b91f working version of rcpsp_sat in python 2017-11-04 23:26:01 +01:00
Laurent Perron
4710247921 skeleton files to support rcpsp loader from python 2017-11-03 23:36:21 +01:00
Laurent Perron
997608b9de add rcpsp namespace to rcpsp proto 2017-11-03 01:30:21 +01:00
Laurent Perron
32737da118 move rcpsp_parser data to a proto format 2017-11-03 01:26:52 +01:00
Laurent Perron
2c7a8bf8f6 change copyright date 2017-10-17 13:08:10 +02:00
Laurent Perron
a54b49ebb8 change solution observer on sat to take a CpSolverResponse as parameter 2017-10-16 15:02:51 +02:00
Laurent Perron
7d65b79f95 shuffle code around to prepare sat API to be proto only/prefered 2017-07-26 15:23:29 -07:00
Laurent Perron
51d7f77c7c fix compilation of solve.cc 2017-07-20 11:35:38 -07:00
Laurent Perron
0501a62221 add sat clause simplifications to cp_model solver 2017-07-20 11:30:17 -07:00
Laurent Perron
dd0e9e200c fix example after removal of code in sat 2017-07-05 16:30:10 -07:00
Laurent Perron
8ecbea311b fix examples 2017-06-29 11:59:21 +02:00
Laurent Perron
5f23b5ff7c fix bazel build 2017-06-08 17:02:07 +02:00
Laurent Perron
6609fac882 AC all different in the SAT solver; change the way integer variables are encoded on top of boolean variables in the SAT solver; change protobuf utilities 2017-06-08 12:33:16 +02:00
Amit Prakash Ambasta
9d811b8ff7 Link examples shared libs against libortools for valid builds on OSx 2017-06-06 14:13:44 +05:30
Amit Prakash Ambasta
553772d03c Removed python build for cleaner patches 2017-05-31 12:00:50 +05:30
Amit Prakash Ambasta
72e3313784 Updated CMakeLists to retain hierarchy of proto generated files 2017-05-30 15:51:19 +05:30
Amit Prakash Ambasta
2a12468b93 Added cmake support for C++, initial python build support 2017-05-30 12:02:56 +05:30
Laurent Perron
8c08d72260 replace hash_map and hash_set by unordered_map and unordered_set 2017-04-27 17:34:24 +02:00
Laurent Perron
4db7d3bc4e remove hash_map/hash_set; replace with std::unordered_map|set 2017-04-27 14:14:05 +02:00
Laurent Perron
5d3b3ab7c2 fix sat_cnf_reader 2017-04-27 09:31:10 +02:00
Laurent Perron
9f6e447d00 fix bazel build 2017-04-27 09:06:18 +02:00
Laurent Perron
84e8058255 single workspace architecture for bazel after include earthquake 2017-04-26 22:30:32 +02:00
Laurent Perron
66b8d23079 move src to ortools; simplified python generation; remove some namespaces in the ortools/base helper files 2017-04-26 17:30:25 +02:00
Laurent Perron
d7b510044f add more examples to examples/cpp/BUILD for bazel 2017-03-30 13:54:42 +02:00
Laurent Perron
90dcccf977 update the strawberry field example to use GLOP 2017-03-30 13:54:29 +02:00
Laurent Perron
2a88d5991f add bop to the solve example 2017-03-30 13:21:53 +02:00
Laurent Perron
3e4197b206 compile routing and tsp example in bazel 2017-03-30 11:50:10 +02:00
Laurent Perron
dd4fc5adcb cp examples 2017-03-29 23:24:29 +02:00