Commit Graph

32 Commits

Author SHA1 Message Date
Laurent Perron
9816d6eda9 fix 2022-03-28 10:52:32 +02:00
Laurent Perron
0c22a715b2 [CP-SAT] improve doc on C++ builder API; rewrite python API to remove the DoubleLinearExpr class 2021-12-14 17:15:17 +01:00
Mizux Seiha
cf16347f1c python: add x bit to tests 2021-12-08 11:50:59 +01:00
Laurent Perron
47111ed677 fix 2021-11-27 08:42:21 +01:00
Laurent Perron
f716236b04 fix cp_model_test.py 2021-11-13 13:22:22 +01:00
Laurent Perron
6167340f8e improve MIP->CP-SAT translator; mark old interval API as deprecated; improve presolve of affine relations 2021-10-07 17:34:53 +02:00
Corentin Le Molgat
942195d7c1 python: fix cp_model_test.py 2021-09-17 16:55:39 +02:00
Laurent Perron
efd16c78da [CP-SAT] deprecate SearchAllSolutions and SolveWithSolutionCallback 2021-05-03 12:11:39 +02:00
Laurent Perron
9081d19b23 fix 2021-04-14 14:50:12 +02:00
Laurent Perron
b60419ff33 print a warning when querying x == 0, or min(x, y) in cp_sat python 2021-04-13 19:19:53 +02:00
Laurent Perron
4a885ef93a fix #2454 2021-03-22 16:23:22 +01:00
Laurent Perron
b93f3f4a2b fix #2454 2021-03-22 16:21:49 +01:00
Laurent Perron
4d1b9d227f capture CP-SAT log in python/java/.NET; visual tweak of the log; tweak the logging facilities for CP-SAT 2021-03-11 21:07:17 +01:00
Mizux Seiha
704c093bf3 python: update cp_model_test 2021-02-16 13:41:51 +01:00
Laurent Perron
7c243b1643 product test 2021-01-05 22:17:38 +01:00
Mizux Seiha
6880ee50f8 Clean __future__ in examples/tests/*.py 2020-11-18 14:28:23 +01:00
Laurent Perron
a371180ea5 fix and unit tests for cp-sat export to file 2020-10-08 14:58:51 +02:00
Laurent Perron
62e976958d add test for #1361 2019-06-24 15:17:00 +02:00
Laurent Perron
ae295d18fc add more python cp-sat tests 2019-06-20 14:41:12 +02:00
Laurent Perron
bc2c45db33 polish cp-sat python doc 2019-06-06 07:56:37 +02:00
Laurent Perron
078b809010 export more methods on the Domain class in non C++ languages; add test for python; use unittest in python tests; add deprecation tag for some C# CP-SAT methods 2019-05-16 23:37:43 +02:00
Laurent Perron
dd377eaf84 rename LinearInequality to BoundedIntegerExpression in cp_model.py 2019-05-13 10:52:10 +02:00
Laurent Perron
35e0a9ce54 improve qubo sat model; fix test 2019-05-11 18:46:48 +02:00
Laurent Perron
dec8adb40d polish non C++ CP-SAT API, samples, examples and tests 2019-05-06 10:12:55 +02:00
Laurent Perron
2554d90e87 Wrap the C++ Domain class in Python, Java, C#; use it in IntVar and in AddXXXInDomain methods; change examples 2019-05-03 22:41:25 +02:00
Laurent Perron
4a38fcfa4a Add cp_model.DomainFromValues/DomainFromIntervals to the CP-SAT python API 2019-05-01 23:17:57 +02:00
Laurent Perron
042aa71db8 fix CP-SAT python test 2019-04-24 11:56:53 +02: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
868da26b49 fix python test 2019-03-25 14:21:12 +01:00
Laurent Perron
2d2b216269 add test from or-tools issue 2019-03-22 13:32:48 +01:00
Laurent Perron
0c1d9a65e2 re-enable cp_model_test.py; throw an exception when using abs() on a linear expression; add test 2019-03-12 13:04:04 +01:00
Laurent Perron
bc46de013f python wrapper around sat cp_model 2017-09-29 16:33:02 +02:00