Commit Graph

40 Commits

Author SHA1 Message Date
Laurent Perron
1430011519 polish python examples: use string interpolations; remove many mypy warnings 2024-07-25 15:46:57 -07:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
5b911b1169 [CP-SAT] add ~operator for the logical negation in C++ and Python; fix a bug in C# 2023-12-15 14:10:44 +01:00
Laurent Perron
5b6c803db3 [CP-SAT] convert to PEP8 convention 2023-11-16 19:46:56 +01:00
Laurent Perron
84ec414e61 use black on examples/python 2023-07-01 06:06:53 +02:00
Laurent Perron
f460e9b0fc run tests in examples/python under bazel; sync/clean examples 2023-01-26 13:46:40 +01:00
Corentin Le Molgat
4f647a0d61 examples/python: cleanup 2022-10-10 13:44:12 +02:00
ssge
3756946ef5 comments typos
fixing minor grammar
2022-10-10 09:30:02 +02:00
Corentin Le Molgat
c7120439d4 Bump license date 2022-06-17 14:23:23 +02:00
Laurent Perron
8f66a4494c add problem name to generated cp_model in rcpsp 2022-06-16 07:39:30 +02:00
Corentin Le Molgat
34e442cd5d examples: Fix main default parameter 2022-04-14 14:44:13 +02:00
Corentin Le Molgat
ad19407ff6 examples: regen all notebooks 2022-04-14 14:31:02 +02:00
Corentin Le Molgat
db6b625590 examples: make shift_scheduling executable 2022-04-13 11:48:10 +02:00
Laurent Perron
e0ed4b685a polish 2022-03-28 16:42:17 +02:00
Laurent Perron
a1ec2adade [CP-SAT] allow variable number of arguments for OnlyEnforceIf, AddAllDifferent and all Boolean constraints for the Python API 2022-01-28 15:54:07 +01:00
Laurent Perron
ceabca677c [CP-SAT] ScalProd -> WeightedSum 2022-01-04 19:35:22 +01:00
Laurent Perron
6f24d2a0ea fix 2021-12-29 16:47:49 +01:00
georgiossalon
565b672c71 updated comment at requests for shift_scheduling_sat.py (#3046)
* updated comment at requests

* comment update
2021-12-29 16:30:36 +01:00
Corentin Le Molgat
cfc12593b0 cleanup python 2021-09-03 15:29:13 +02:00
Laurent Perron
700847b3ff fix #2656 2021-07-13 13:47:57 +02:00
Corentin Le Molgat
e44579c859 Reapply fixes lost in shift_scheduling_sat.py
related to #2396
2021-05-21 18:01:16 +02:00
Laurent Perron
efd16c78da [CP-SAT] deprecate SearchAllSolutions and SolveWithSolutionCallback 2021-05-03 12:11:39 +02:00
Mizux Seiha
c0f6978f3b Update copyright 2021-04-02 10:08:51 +02:00
Laurent Perron
ab810ee300 fix #2396 2021-02-15 16:04:27 +01:00
Laurent Perron
425da9ed29 sync python examples 2020-11-30 11:59:56 +01:00
Mizux Seiha
c72666acd5 cmake: Fix timeout when running shift_scheduling_sat.py 2020-11-19 21:32:05 +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
8a0ba73240 fix 2019-07-04 13:13:19 +02:00
Laurent Perron
4a0e9b1860 fix 2019-07-04 11:43:51 +02:00
Laurent Perron
0dded8f12b fix example #1399 2019-07-04 11:10:47 +02:00
Laurent Perron
1a2f3ef98e fix doc #1354 2019-06-19 13:29:14 +02:00
Laurent Perron
685c63e7e6 change shift scheduling example to use 8 workers 2019-04-24 10:53:27 +02:00
Corentin Le Molgat
0465276e14 Fix wall time dimension in sat examples
WallTime is in second not millisecond...
2019-01-14 09:57:15 +01:00
Corentin Le Molgat
c2ae098d34 Apply yapf on examples/python/*.py 2018-11-30 14:48:55 +01:00
Laurent Perron
5d26ad890f sync examples 2018-11-21 11:00:26 -08:00
Laurent Perron
44e52c1ef8 mostly PascalCase -> sname_case 2018-11-20 05:44:21 -08:00
Laurent Perron
c82a62aa26 fix pylint issues 2018-11-19 10:39:29 -08:00
Laurent Perron
a6fb9153a6 reindent example 2018-11-18 20:57:15 -08:00
Laurent Perron
2373859e19 fix shift_scheduling_sat.py 2018-11-18 09:04:16 -08:00
Laurent Perron
1b56c047b1 polish python code 2018-11-16 16:54:37 -08:00