Statements (18)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:greedy_algorithm_problem
gptkb:mathematical_concept gptkb:mathematical_optimization |
| gptkbp:allows |
items to be broken into fractions
|
| gptkbp:complexity |
O(n log n)
|
| gptkbp:contrastsWith |
gptkb:0-1_knapsack_problem
|
| gptkbp:firstDescribed |
20th century
|
| gptkbp:objective |
maximize total value in knapsack
|
| gptkbp:prohibits |
total weight does not exceed capacity
|
| gptkbp:relatedTo |
gptkb:knapsack_problem
|
| gptkbp:solutionProperty |
optimal solution can be found by sorting items by value-to-weight ratio
|
| gptkbp:solvedBy |
greedy algorithm
|
| gptkbp:usedIn |
computer science
operations research resource allocation |
| gptkbp:bfsParent |
gptkb:knapsack_problem
|
| gptkbp:bfsLayer |
7
|
| https://www.w3.org/2000/01/rdf-schema#label |
fractional knapsack problem
|