Commit Graph

27 Commits

Author SHA1 Message Date
Corentin Le Molgat
a66a6daac7 Bump Copyright to 2025 2025-01-10 11:35:44 +01:00
Laurent Perron
754d6a4d0f polish python examples: use string interpolations; remove many mypy warnings 2024-07-26 00:49:56 +02:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +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
a06d0ed7a0 more absl::string_view in the c++ code; sync examples/python, remove jniutils.h; move sat/python/visualization.py to sat/colab 2023-01-29 21:20:58 +01:00
Corentin Le Molgat
c7120439d4 Bump license date 2022-06-17 14:23:23 +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
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
17b9b597a1 change CP-SAT C++ Api to call Build() on the model before solving; use log_search_progress parameters to display all log; enable this parameter in non C++ language; call InitGoogleLogging() automatically in non C++ languages 2019-04-05 14:58:33 +02:00
Laurent Perron
5d26ad890f sync examples 2018-11-21 11:00:26 -08:00
Laurent Perron
df8c8892f3 ported most official python cp examples to CP-SAT; cleaned up a few of them 2018-11-19 20:42:23 -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
9eeda9e498 fix a few pylint problems 2018-09-08 17:56:07 +02:00
Laurent Perron
72db1d9ef2 run pyformat on python examples 2018-06-11 11:51:18 +02:00
Laurent Perron
fc711a5748 run_from_ipython -> RunFromIPython 2017-11-24 14:47:10 +01:00
Laurent Perron
e79811e9bb cleanup is_run_from_ipython() 2017-11-24 13:49:39 +01:00
Laurent Perron
0f83e0c3d3 defensive import of ortools/sat/python/visualization.py 2017-11-24 13:33:03 +01:00
Laurent Perron
1f34325cb1 fix indent and dos line format 2017-11-22 15:18:01 +01:00
Laurent Perron
b645ce1f52 add license to examples; add example from the documentation 2017-11-22 14:55:44 +01:00
Laurent Perron
b404a0b989 scrub python sat examples from colab features 2017-11-22 11:25:51 +01:00
Laurent Perron
21f9744862 modify python sat examples to use visualization when run from IPython; change corresponding notebooks 2017-11-21 03:54:06 +01:00
Laurent Perron
4abd300cdd revert python example 2017-11-20 17:06:16 +01:00
Laurent Perron
d4a81c143c py to ipynb 2017-11-20 17:04:25 +01:00
Laurent Perron
20ba8015bc fix sat bugs found by new examples; improve gitignore 2017-10-11 03:05:13 -07:00