Knapsack problem/Continuous: Difference between revisions
Content added Content deleted
m (→version 1: reduced clutter in some variable names, simplified the algorithm.) |
m (→version 1: commented about the program's pedigree.) |
||
Line 1,916: | Line 1,916: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
===version 1=== |
===version 1=== |
||
Originally used the Fortran program as a prototype. |
|||
<br>Some amount of code was added to make the output pretty. |
<br>Some amount of code was added to make the output pretty. |
||
<lang rexx>/*REXX program solves the burglar's knapsack (continuous) problem. */ |
<lang rexx>/*REXX program solves the burglar's knapsack (continuous) problem. */ |