Commit Graph

230 Commits

Author SHA1 Message Date
Laurent Perron
f48a402d6c polish scheduling with transitions sat 2018-09-17 11:15:27 +02:00
Laurent Perron
e4423dc90e scheduling example with transition times and transition costs 2018-09-14 17:26:33 +02:00
Laurent Perron
23a637294d scheduling example with transition times and transition costs 2018-09-14 17:14:29 +02:00
Laurent Perron
01815e2d6d fix bug in the sat scheduling code found by the rcpsp 2018-09-13 16:26:03 +02:00
Laurent Perron
34f8cf3f6a use multiple enforcement literals in rcpsp 2018-09-12 18:25:43 +02:00
Laurent Perron
428e272ccc add ModelStats and CpSolverResponseStats for SAT/{Python|Java|C#}; enable multiple enforcement literals for a few constraints; small fixes, typo corrections 2018-09-12 15:07:23 +02:00
Laurent Perron
f4756e36c5 fix a few lint warnings 2018-09-09 22:11:37 +02:00
Laurent Perron
7165366a1f polish task allocation problem 2018-09-09 18:08:31 +02:00
Laurent Perron
267861ac50 reident 2018-09-09 15:36:34 +02:00
Laurent Perron
cb7ae1359a fix code 2018-09-09 15:28:43 +02:00
Laurent Perron
28c2d91345 Update task_allocation_sat.py 2018-09-09 15:22:56 +02:00
Laurent Perron
b594a0ee5d task allocation problem from a blog 2018-09-09 15:20:46 +02:00
Laurent Perron
9eeda9e498 fix a few pylint problems 2018-09-08 17:56:07 +02:00
Laurent Perron
6170e82097 fix a few warnings in examples 2018-09-06 22:57:59 +02:00
Laurent Perron
61125b4b48 reindent python examples, polish a few of thems 2018-09-06 15:09:32 +02:00
Laurent Perron
6368e91bd3 fix vendor_scheduling_sat + notebook 2018-09-05 14:32:49 +02:00
Laurent Perron
1cda356ebe fix vendor scheduling sat notebook 2018-09-05 14:30:42 +02:00
Laurent Perron
9a116eba39 remove SolutionObserver is sat/swig_helper.h; rename WithObserver into WithCallback 2018-09-04 18:47:10 +02:00
Laurent Perron
beb05f0079 #303 Sat implementation of vendor scheduling, fixed a few bugs found in the process 2018-09-02 17:15:55 +02:00
Laurent Perron
265e54a9aa simplify school scheduling sat example 2018-09-01 08:13:21 +02:00
Laurent Perron
651e44cf0a remove OptionalIntVar from the sat Python API 2018-08-31 16:56:55 +02:00
Laurent Perron
e8d5858e67 revamp sat python solution callback, adds the ability to stop search from the solution callback. 2018-08-30 16:27:58 +02:00
Corentin Le Molgat
4320b494af python: fix test_python with python2.7 2018-08-30 10:11:24 +02:00
Laurent Perron
ca650dc623 fix some more python examples 2018-08-30 08:22:44 +02:00
Laurent Perron
2d3c2f1bf7 fix python examples for python3 2018-08-30 07:59:49 +02:00
Corentin Le Molgat
2e3131b643 python: Rework examples target
- Fix default solver to use CBC instead of GLPK (which is optional)
- Fix few examples which doesn't compile against python2.7
- Add all examples to target test_python
  - Few examples disabled since they are too long
2018-08-29 16:56:25 +02:00
Yasser A
e6d57a5966 divide the total z by 100 to match fruits final results 2018-08-24 12:57:41 +02:00
Laurent Perron
57bf90745d chemical balance problem solved by SAT and LP 2018-08-20 09:09:08 +02:00
Laurent Perron
210bdbfa52 improve balance group example 2018-08-07 15:17:23 -07:00
Laurent Perron
c2671d51d8 improve balance group example 2018-08-07 15:16:08 -07:00
Dan Marinescu
a28b2b2b1a fixed typo in python example 2018-08-03 11:14:21 +02:00
Laurent Perron
24fe402a89 fix cplex support 2018-07-31 10:31:56 -07:00
Laurent Perron
84400a72ed tweak balanced group example such that the optimal is not 0 2018-07-24 09:33:05 -07:00
Laurent Perron
f73841ef38 balanced group example 2018-07-23 15:29:39 -07:00
Laurent Perron
2358af7f4c balanced groups 2018-07-23 14:59:25 -07:00
Corentin Le Molgat
97832ba68e Update python routing examples 2018-07-03 09:57:41 +02:00
Corentin Le Molgat
8ec5d13e67 Add .pylintrc in example/python 2018-07-03 09:57:41 +02:00
Laurent Perron
bd04f656b3 rename MODEL_SAT to FEASIBLE, MODEL_UNSAT to INFEASIBLE 2018-07-02 15:35:40 +02:00
Laurent Perron
72db1d9ef2 run pyformat on python examples 2018-06-11 11:51:18 +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
87636e392f fix typo 2018-06-05 16:47:08 +02:00
Laurent Perron
74456de74c simple cryptarithmetic examples for sat doc 2018-06-05 15:54:45 +02:00
Laurent Perron
2a51c65e97 expand cp_model.py to offer more API on the solution callback; simplify flexible_jobshop_sat.py 2018-05-31 14:50:12 -07:00
Laurent Perron
1fac6dcd73 add licenses to examples 2018-05-31 10:54:36 -07:00
Laurent Perron
0b86e8e5f2 Merge branch 'master' of https://github.com/google/or-tools 2018-05-31 10:53:47 -07:00
Laurent Perron
333a004878 flexible jobshop examples in python CP-SAT 2018-05-31 10:52:07 -07:00
Corentin Le Molgat
9b55324fd2 Fix cvrptw.py (Fix #708) 2018-05-31 10:45:00 +02:00
Laurent Perron
e198505927 add C# samples to the SAT md doc 2018-05-30 14:31:59 -07:00
Laurent Perron
9402f58d1d change sat internal API; stop ignoring random seed in glop 2018-05-16 13:43:29 +02:00