Commit Graph

94 Commits

Author SHA1 Message Date
Laurent Perron
bed3fa9922 Use CBC by default instead of GLPK in python mip examples 2016-03-19 18:54:18 +01:00
Laurent Perron
322396e358 new example 2016-03-09 13:45:43 -08:00
lperron
f56499fa24 Merge pull request #153 from Shippr/overflowerror_fix
Cast to float and avoid divide-by-zero errors in cvrptw.py
2016-02-03 15:30:57 +01:00
Laurent Perron
bb6e091027 Switch parameters to proto3, propagate to all code, offer support in all languages 2016-02-03 15:15:58 +01:00
Shrikrishna Holla
8f915ff18d Cast to float and avoid divide-by-zero errors in cvrptw.py 2016-02-03 11:19:34 +05:30
Laurent Perron
eec9829934 fix python examples 2016-01-20 17:07:20 +01:00
lperron
5f36dc6f28 Merge pull request #142 from mjfwest/master
Updated all the Python examples I could,  to Python 3
2016-01-14 17:51:25 -08:00
Laurent Perron
8b0adcb694 remove obsolete example 2016-01-14 17:47:26 -08:00
Martin West
c6a80919d1 python 3 modifications V-Z 2016-01-15 01:57:22 +01:00
Martin West
22ebe5a719 python 3 changed to examples S, T 2016-01-15 01:42:27 +01:00
Martin West
1b1d1a1c87 Python 3 changes 2016-01-15 01:14:06 +01:00
Martin West
451cafc5b7 python 3 changes to examples 2016-01-15 00:18:32 +01:00
Martin West
748a6c76f9 Changed examples O,P,Q to python3 2016-01-14 23:10:49 +01:00
Martin West
d5c3db51eb fixed python 3 examples N. 2016-01-14 22:15:49 +01:00
Martin West
ddd889830a python 3 conversion of examples m... 2016-01-14 19:19:51 +01:00
Martin West
09df20ca95 Changed examples L to python 3 2016-01-14 18:59:36 +01:00
Martin West
9e259306c1 Python 3 changes to examples k... 2016-01-14 18:51:01 +01:00
Martin West
94fb30fdfd Changed examples (H,I,J) to python 3 2016-01-14 17:52:46 +01:00
Martin West
f256a4f3eb Python changes to G examples. 2016-01-14 17:30:52 +01:00
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
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
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
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
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
3e78e18cd5 fix ls examples in python/java/C# 2015-11-20 18:43:11 +01:00
Laurent Perron
9dd33ce40b fix killer sudoku example 2015-10-20 11:27:27 +02:00
Vincent Furnon
df5dadb985 Linear solver wrapper: fixed python support. 2015-06-18 15:38:37 +02:00
Vincent Furnon
7182abb864 Renamed the linear solver protocol buffer and removed the new_proto namespace. 2015-06-16 10:08:44 +02:00