Driss Lahlou
4505436ded
fix cvrptw.py example
2016-07-05 13:17:16 +02:00
Laurent Perron
10c14caec7
improve cvrptw.py code
2016-06-13 11:31:55 +02:00
Laurent Perron
40f52674fc
fix cvrptw.py
2016-06-13 11:29:54 +02:00
Laurent Perron
938372bc47
port cvrptw python example
2016-05-09 17:15:30 +02:00
Laurent Perron
6fe0922561
adapt to data being moved to examples
2016-04-12 18:04:18 +02:00
Laurent Perron
655c23fa46
remove duplicated data
2016-04-12 13:29:18 +02:00
Laurent Perron
c175e2c937
Merge branch 'master' of https://github.com/google/or-tools
2016-03-29 12:42:44 +02:00
hxd1011
c72ea5a950
Update knapsack_cp.py
...
The name of the solver (n_queens) is wrong and confusing. I changed it to knapsack_cp problem.
2016-03-28 09:55:02 -04:00
Laurent Perron
9232ee00e0
Merge branch 'master' of https://github.com/google/or-tools
2016-03-21 09:48:18 +01:00
Laurent Perron
c20fd0a8f5
misc sync with internal code
2016-03-21 09:48:13 +01:00
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