Commit Graph

24 Commits

Author SHA1 Message Date
Laurent Perron
efd16c78da [CP-SAT] deprecate SearchAllSolutions and SolveWithSolutionCallback 2021-05-03 12:11:39 +02:00
Laurent Perron
ee6f7db8b9 improve rcpsp_sat model; fix python indent/comments 2021-04-13 11:59:41 +02:00
Mizux Seiha
c0f6978f3b Update copyright 2021-04-02 10:08:51 +02:00
Laurent Perron
4ececbe448 update python code, remove __future__ imports, remove six, use absl-py for flags, update examples 2020-11-18 10:50:14 +01:00
Corentin Le Molgat
c2ae098d34 Apply yapf on examples/python/*.py 2018-11-30 14:48:55 +01:00
Laurent Perron
44e52c1ef8 mostly PascalCase -> sname_case 2018-11-20 05:44:21 -08:00
Laurent Perron
d99cf97acb reformat python files as tab length = 4 now 2018-11-11 09:39:59 +01:00
Laurent Perron
87b9d55b21 update license headers 2018-11-10 18:00:53 +01: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
9eeda9e498 fix a few pylint problems 2018-09-08 17:56:07 +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
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
Laurent Perron
72db1d9ef2 run pyformat on python examples 2018-06-11 11:51:18 +02:00
Laurent Perron
1fac6dcd73 add licenses to examples 2018-05-31 10:54:36 -07:00
Laurent Perron
a4a06a357a improve rcpsp parser and rcpsp_sat.py 2017-11-16 17:48:30 +01:00
Laurent Perron
14564c0917 simplify reservoir expand; change a bit the enqueue protocol in the sat solver 2017-11-14 16:58:07 +01:00
Laurent Perron
ae3007234b fix sat python reservoir code; continue working on rcpsp_sat.py to support consumer/producer problems 2017-11-13 15:45:02 +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
432cfed06f fix delayed solution value in sat solution observer 2017-11-04 23:50:06 +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