Commit Graph

22 Commits

Author SHA1 Message Date
Corentin Le Molgat
ad19407ff6 examples: regen all notebooks 2022-04-14 14:31:02 +02: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
efd16c78da [CP-SAT] deprecate SearchAllSolutions and SolveWithSolutionCallback 2021-05-03 12:11:39 +02:00
Laurent Perron
813a92f313 much more pedantic checks in python CP-SAT 2021-04-14 14:34:16 +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
Mizux
252564060e Update flexible_job_shop_sat.py 2021-01-15 15:54:31 +01:00
Mizux
4ebb5a1184 Update flexible_job_shop_sat.py 2021-01-15 15:51:53 +01:00
Mizux Seiha
a33a60fdd1 Update jobshop example 2020-12-03 16:56:36 +01: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
Laurent Perron
fe22bf057a minor polish of examples 2019-05-28 15:28:01 +02:00
Laurent Perron
138ff3bad1 reindent 2019-05-15 09:05:01 +02: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
9a116eba39 remove SolutionObserver is sat/swig_helper.h; rename WithObserver into WithCallback 2018-09-04 18:47:10 +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
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
333a004878 flexible jobshop examples in python CP-SAT 2018-05-31 10:52:07 -07:00