ex-ip(1) - Karel Zikan, a mountain climber, is preparing...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Karel Zikan, a mountain climber, is preparing for a lengthy hike up a dangerous slope. He can carry up to 18 pounds in his knapsack. The volume he can carry is at most 15 units. There are 7 items he is considering to take on this trip: ropes, pitons, canteen, food, sweater, tent, and sleeping bag. (Karel will take at most one of each item.) For each item, Karel assigned a numerical value representing how essential it is: ropes pitons canteen food sweater tent sleeping bag weight 5 2 4 5 1 3 4 volume 4 1 2 2 1.5 2 8 eesentiality 3 3 2 1 1 2 3 (a). Formulate an Integer (binary) Program to help Karel decide which items to take. (b). Karel knows that he shouldn’t take the pitons unless he also takes the ropes (as they would be useless). (c). To prevent freezing at night Karel decides that he must take either a sweater or a tent or a sleeping bag (at least one of these three items). 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
that it considers “close”. There are 5 possible locations A,B,C,D,E. A
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/28/2011 for the course AMS 341 taught by Professor Arkin,e during the Spring '08 term at SUNY Stony Brook.

Page1 / 5

ex-ip(1) - Karel Zikan, a mountain climber, is preparing...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online