raj_mathe
3b8f80cff9
- im Kurs wird die Permutation nur für Greedy-Berechnungen angewandt - die Reihenfolge der Items in der Hauptberechnung bei B&B bleibt wie bei Angaben
959 B
959 B
CommandRucksack
Properties
Name | Type | Description | Notes |
---|---|---|---|
algorithm | EnumRucksackAlgorithm | [default to null] | |
allowMinusfractional | Boolean | [optional] [default to false] | |
maxMinuscost | BigDecimal | Upper bound for total cost of rucksack. | [default to null] |
costs | List | Array of cost for each item (e.g. volume, weight, price, time, etc.). | [default to null] |
values | List | Value extracted from each item (e.g. energy, profit, etc.). | [default to null] |
items | List | Optional names of the items (if empty, defaults to 1-based indexes). | [optional] [default to []] |