knapsack_rational_test


knapsack_rational_test, a Fortran90 code which calls knapsack_rational_test(), which solves the rational knapsack problem, in which a knapsack of limited weight capacity is filled with profitable items. This variation of the 0/1 knapsack problem allows a fractional part of an item to be included in the knapsack. The result is an upper bound on the maximum possible profit for the 0/1 knapsack problem.

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and Programs:

knapsack_rational, a Fortran90 code which solves the rational knapsack problem, in which a knapsack of limited weight capacity is filled with profitable items. This variation of the 0/1 knapsack problem allows a fractional part of an item to be included in the knapsack. The result is an upper bound on the maximum possible profit for the 0/1 knapsack problem.

Source Code:


Last revised on 16 November 2024.