Knapsack problem/Bounded: Difference between revisions
Content added Content deleted
m (→{{header|Picat}}: Adding {{out}}) |
|||
Line 3,311: | Line 3,311: | ||
MaxWeight = 400.</lang> |
MaxWeight = 400.</lang> |
||
{{out}} |
|||
Output: |
|||
<pre>These are the items to pick: |
<pre>These are the items to pick: |
||
Item Weight Value |
Item Weight Value |
||
Line 3,328: | Line 3,328: | ||
Total weight: 396 |
Total weight: 396 |
||
Total value: 1010</pre> |
Total value: 1010</pre> |
||
=={{header|PicoLisp}}== |
=={{header|PicoLisp}}== |