{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ex-ip(1)

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

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

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

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

View Full Document
Covering problem: 7 neighbourhoods want to locate mailboxes so that each has at least one box that it considers “close”. There are 5 possible locations A,B,C,D,E.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern