diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-07-03 22:49:09 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-07-03 22:49:09 +0200 |
commit | c9808b401cd93fa6959dbf6a66df49343979f8ff (patch) | |
tree | 27e6721b94604ff1a054745bbddc6be97ee570c3 /03-travelling-salesman | |
parent | 7f48df6b185df83be2e0a75c9776fea25697d4c1 (diff) | |
download | coursera-c9808b401cd93fa6959dbf6a66df49343979f8ff.zip coursera-c9808b401cd93fa6959dbf6a66df49343979f8ff.tar.gz |
Discrete : 01-knapsack: compute capacity loop lower_bound
- reduce by 50% the iteration count
when items are sorted by value or weight
- global 2% speed up only as loop does nothing realy
Diffstat (limited to '03-travelling-salesman')
0 files changed, 0 insertions, 0 deletions