Knapsack problem/Continuous: Difference between revisions

m
→‎version 2: ooRexx version 2 - typo
(→‎{{header|ooRexx}}: add version 2 (simplified from version 1))
m (→‎version 2: ooRexx version 2 - typo)
Line 1,340:
* utilizing ooRexx features like objects, array(s) and sort
* 21.09.2014 simplified (courtesy Rony Flatscher)
* (sort uses now the methosmethod '''compareTo''' defined for item)
*-------------------------------------------------------------------*/
maxweight = 15.0
2,295

edits