master > master: code py - commands, bsp. aus VL
This commit is contained in:
parent
3791220cee
commit
a9eb961eec
@ -72,7 +72,7 @@
|
||||
once: false
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# Beispiele für Seminarwoche 11 (Blatt 10)
|
||||
# Beispiele für Vorlesung + Seminarwoche 11 (VL + Blatt 10)
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- &rucksack_1
|
||||
@ -89,6 +89,20 @@
|
||||
allow-fractional: true
|
||||
- <<: *rucksack_1
|
||||
algorithm: BRANCH-AND-BOUND
|
||||
- name: RUCKSACK
|
||||
algorithm: BRANCH-AND-BOUND
|
||||
max-cost: 460
|
||||
items: [
|
||||
'Lakritze',
|
||||
'Esspapier',
|
||||
'Gummibärchen',
|
||||
'Schokolade',
|
||||
'Apfelringe',
|
||||
]
|
||||
costs:
|
||||
[220, 80, 140, 90, 100]
|
||||
values:
|
||||
[100, 10, 70, 80, 100]
|
||||
- name: RUCKSACK
|
||||
algorithm: BRANCH-AND-BOUND
|
||||
max-cost: 90
|
||||
|
Loading…
x
Reference in New Issue
Block a user