Commit Graph

1612 Commits

Author SHA1 Message Date
Martin West
093c77da47 Python3 changes to examples. 2016-01-14 17:27:47 +01:00
Martin West
5212511ee8 fixed python 2/3 compatibility 2016-01-14 17:23:17 +01:00
Martin West
c1b15ea8b5 converted examples to Python3. 2016-01-14 17:18:05 +01:00
Martin West
e899273690 python3 changes to examples, (with 2.7 compatibility) 2016-01-14 16:56:19 +01:00
Martin West
1194cc065a Python 3 changes to examples, (with 2.7 compatibility) 2016-01-14 16:49:37 +01:00
Martin West
630a042dea Python 3 changes to examples (with 2.7 compatibility) 2016-01-14 15:47:35 +01:00
Martin West
4580e297c1 python3 print statements 2016-01-14 12:57:40 +01:00
Martin West
ffaf53110a python3 compatibility change for range 2016-01-12 19:33:12 +01:00
Martin West
4d8b11abc3 Merge branch 'master' of https://github.com/google/or-tools
merged upstream master
2016-01-11 19:57:33 +01:00
Laurent Perron
571c634030 fix typo in C++ slitherlink 2016-01-07 11:15:48 +01:00
Laurent Perron
c3b881f0d3 fix typo 2016-01-06 23:51:17 +01:00
Laurent Perron
b8c287d139 simplify boolean sum even code 2016-01-06 16:48:30 +01:00
Laurent Perron
44f64119ca improve api for PyConstraint 2016-01-06 11:18:34 +01:00
Laurent Perron
9dd8480957 add medium and big data set to python slitherlink example 2016-01-06 11:10:05 +01:00
Laurent Perron
0cbaa9ca67 fix slitherlink for python3 2016-01-06 11:07:22 +01:00
Laurent Perron
60b6929369 full version of slitherlink in python 2016-01-06 10:53:02 +01:00
Laurent Perron
3c8bf3f903 export NumericalRevInteger in python 2016-01-05 23:10:24 +01:00
Laurent Perron
9e5433b4c2 working version of custom python constraint 2016-01-05 22:35:02 +01:00
Laurent Perron
64119c8dd1 keep references of demons and constraints in python, ad-hoc way, make the slitherlink constraint working 2016-01-05 18:45:59 +01:00
Laurent Perron
48e6b8adaf cleanup on python wrapping, remove custom code for strings; add non working version of custom constraints in python in the slitherlink.py example 2016-01-05 18:38:47 +01:00
Laurent Perron
3e889c460e fix TreeMonitor in python + example 2016-01-05 11:04:11 +01:00
Laurent Perron
ecfe4ce25a real fix to issue #62 2016-01-04 14:17:41 +01:00
Laurent Perron
9af9bd3926 issue62 examples 2016-01-04 11:46:23 +01:00
Laurent Perron
f90cebe616 problematic dzn file 2016-01-03 10:52:21 +01:00
Martin West
9d03339413 Merge branch 'master' of https://github.com/google/or-tools 2015-12-31 02:47:49 +00:00
Martin West
9c994c411b Added Python3 example of capacitated vehicle routing problem with time windows and optional orders. 2015-12-31 02:12:47 +00:00
Laurent Perron
d1409f4f52 polish 2015-12-30 12:25:29 +01:00
Laurent Perron
dde6d68b0b correct version of single path, just zero out unreachable parts 2015-12-30 12:12:59 +01:00
Laurent Perron
fcaf212af9 correct version of single path, just zero out unreachable parts 2015-12-30 12:09:44 +01:00
Laurent Perron
cffea0e11a add comment 2015-12-30 11:50:33 +01:00
Laurent Perron
73338c33b7 add one more rule on corners 2015-12-30 11:48:14 +01:00
Laurent Perron
70f57e75ce implemented single loop constraint, use in in the slitherlink problem 2015-12-30 11:34:17 +01:00
Laurent Perron
7e7b50079e add BooleanSumEven constraint, use it as a redundant constraint 2015-12-30 10:48:01 +01:00
Laurent Perron
e2bb56ac52 better display for slitherlink 2015-12-30 00:25:38 +01:00
Laurent Perron
e5a470cf5b better display for slitherlink 2015-12-30 00:24:43 +01:00
Laurent Perron
129c5a53a0 second problem for the slitherlink problem 2015-12-30 00:16:30 +01:00
Laurent Perron
e996af7524 incomplete version of the slitherlink problem 2015-12-30 00:08:16 +01:00
Laurent Perron
5c739f271b rewrote issue128.py 2015-12-17 10:23:50 +01:00
Chris Drake
8927b03942 Get rid of unnecessary string imports
Some of these imports are not used.
The rest of them only import string to use the string.atoi function.
But string.atoi(s) on a string input is identical to just int(s).
See the docs: "deprecated since 2.0".
2015-12-16 00:05:33 -08:00
Chris Drake
83b1d48d39 Update some examples to Python3 print statement 2015-12-16 00:05:33 -08:00
Laurent Perron
ae77b87cc2 fix cp iterators and python 3 2015-12-11 14:29:37 +01:00
Laurent Perron
4a8bd4b057 more tests on python3 2015-12-11 14:14:08 +01:00
Laurent Perron
953db27b74 better test of python custom decisions 2015-12-11 13:54:26 +01:00
Laurent Perron
d76a80feb5 fix second failure of issue 115b 2015-12-11 13:52:00 +01:00
Chris Drake
dfa4a5a8bd Update to Python3-compatible print function 2015-12-10 10:28:04 -08:00
Chris Drake
5c7cc47c49 Get rid of unused import 2015-12-10 10:24:15 -08:00
Laurent Perron
7c58ce62f9 fix examples to work with python3, linear_solver is not yet working; tested with python 3.5 2015-12-09 06:23:06 -08:00
Laurent Perron
de9a5b6653 fix make test_python 2015-12-09 14:56:52 +01:00
Laurent Perron
eb2179b8a1 remove python dependencies on apputils, gflags 2015-12-09 14:49:52 +01:00
Laurent Perron
dfca07300c custom decision in python + test 2015-12-07 13:27:18 +01:00