Commit Graph

677 Commits

Author SHA1 Message Date
lperron
8dc8908db1 Merge pull request #481 from acco32/fsharp
Adding volsay example
2017-09-14 13:30:19 +00:00
lperron
062924c0c1 Merge pull request #482 from Gouravchawla/patch-1
Corrects a word in docstring
2017-09-14 13:29:38 +00:00
Gourav Chawla
391412267f Corrects a word in docstring
Corrects word 'Too' which should be To.
2017-09-14 13:50:28 +05:30
Gourav Chawla
8f15d9b154 Corrects a word in docstring
Corrects word 'Too' which should be To.
2017-09-14 13:34:21 +05:30
acco32
1bf1471595 Adding volsay example 2017-09-14 00:26:46 -07:00
acco32
75ff975920 Add integer programming example. Add types for solver algorithms 2017-09-10 22:29:38 -07:00
acco32
fc6c0c8f9f Add example for cslinearprogramming 2017-09-05 20:37:44 -07:00
Laurent Perron
9cb06e2f4e port one test after include path changes 2017-08-11 16:15:41 -07:00
Laurent Perron
0c02286320 c# support for sat, + micro test using the cp_model proto in C# 2017-08-01 16:14:04 -07: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
6921119f6e fix path to glpk build 2017-04-20 18:24:00 +02:00
Clement Courbet
cceb028cde bump glpk to 4.52 2017-04-20 14:06:20 +02:00
Clement Courbet
53c41b2ad6 Bazel: Add optional support for GLPK.
Try it out:
bazel run --define USE_GLPK= cpp:linear_programming
2017-04-18 14:12:08 +02:00
Laurent Perron
14b18ba11a test model load in C# 2017-03-30 22:34:58 +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
Laurent Perron
d02715ac15 rewrite build files to remove global targets; still missing the glop targets 2017-03-29 15:13:04 +02:00
Laurent Perron
395e170563 update examples after library changes 2017-03-28 16:13:30 +02:00
darkstego
18bac3b615 Removed redundant variables in DecisionBuilder
The variable vector added several deravitive variable that needlessly
increased the size of the search tree. The change cuts the search tree
size significantly.
2017-03-25 04:14:34 -04:00
darkstego
54c06796b3 Properly assigned IntVar rather than using constraints
The difference variables were input as constraints when they should
be added as a pure assignment. This change made the programs run
over 15 times faster.
2017-03-25 04:09:19 -04:00
Laurent Perron
15bc5959cd revamp CP export model, swig it in c# + simple test 2017-03-24 14:10:29 -04:00
Laurent Perron
304e66ad5d add sat_runner binary to bazel 2017-03-22 06:33:49 -04:00
Laurent Perron
a6a6dc3cec simplify/reindent workspaces 2017-03-21 16:29:05 -04:00
Laurent Perron
705fc3256c one linear solver example in bazel 2017-03-21 15:11:22 -04:00
Laurent Perron
253f7955c6 remove aliases in BUILD/WORKSPACE 2017-03-21 13:46:09 -04:00
Laurent Perron
8f691674ae first compiled example using bazel 2017-03-21 10:43:28 -04:00
Driss Lahlou
66db124c28 update the routing constructor in acp_challenge_routing.cc 2017-02-09 18:43:06 +01:00
Laurent Perron
b1f26f355e remove unrecognized line 2017-02-08 11:12:46 +01:00
Laurent Perron
c6345f269b support resource investment problems 2017-02-07 17:43:25 +01:00
Driss Lahlou
66b017de36 add cvrptw_with_breaks 2017-01-26 21:22:42 +01:00
Laurent Perron
ae08ac84aa continue work on rcpsp_sat and rcpsp_parser, better lower bounds in the routing lib; bug fixes in glop and bop 2017-01-18 10:50:37 +01:00