Professional Documents
Culture Documents
Discrete Progrmming
Discrete Progrmming
1. The manager of State University's DED computer wants to be able to access five different files. These
file are scattered on ten disks as shown in the table below. The amount of storage required by each disk is
as follows: disk 1, 3K disk 2, 5K, disk 3, 1K-, disk 4, 2K: disk 5, 1K, disk 6, 4K, disk 7, 3K, disk 8, 1K:
disk 9, 2K: disk 10, 2K.
a. Formulate an IP that determines a set of disks requiring the minimum amount of storage such that each
file is on at least one of the disks. For a given disk, we must either store the entire disk or store none of
the disk; we cannot store part of a disk.
b. Modify your formulation so that if disk 3 or disk 5 is used, then disk 2 must also be used.
1 2 3 4 5 6 7 8 9 10
File 1 X X X X X X
File 2 X X
File 3 X X X X
File 4 X X X
File 5 X X X X X X X
2. The Lotus Point Condo Project will contain both homes and apartments. The site can accommodate up
to 10,000 dwelling units. The project must contain a recreation project either swimming - tennis complex or
sailboat marina, but not both. If a marina is built, the number of homes in the project must be at least triple
the number of apartments in the project. A marina will cost $1.2 million, and a swimming - tennis complex
will cost $2.8 million. The developers believes that each apartment will yield revenues with an NPV
$48,000, and each home will yield revenues with an NPV $46,000. Each home (or apartment) costs
$40,000 to build. Formulate an IP to help Lotus Point maximize profits.
3. A product can be produced on four different machines. Each machine has a fixed setup-cost, variable
production costs per-unit processed, and a production capacity given in the table below. A total of 2000
units of the product must be produced. Formulate an IP whose solution will tell us how to minimize total
costs.
1 If the New York warehouse is opened, then the Los Angeles warehouse must be opened.
A. Formulate an IP that can be used to minimize the weekly costs of meeting demand.
B. Now add the following constraint: If the Atlanta warehouse is opened the Chicago warehouse must not
be opened.
To
From Region 1 Region 2 Region 3
NY 20 40 50
LA 48 15 26
Chicago 26 35 18
Atlanta 24 50 35
6. A product can be produced on four different machines. Each machine has a fixed setup cost (incurred
only if the machine is used), a variable production cost per unit processed, and a production capacity
(see the table below). A total of 2000 units of the product must be produced.
(a) Formulate an IP whose solution will tell us how to minimize total costs.
(b) Assume there are two products that must be produced on the same four machines. A machine can be
dedicated to one product only. If 1000 units of the second product must be produced, reformulate your
IP model.
7. “Fruit computer” produces two types of computers: Pear computers, and Apricot computers. A total of
1200 hours of labor and 3000 chips are available. A Pear computer requires 1 hour and 2 chips, and an
Apricot computer requires 2 hours and 5 chips. A ‘Pear’ sells for $400, and an ‘Apricot’ sells for $900.
To produce the ‘Pears’ “Fruit” needs to buy equipment at a cost of $5000, and similarly, for the
production of the ‘Apricots’ the equipment costs $7000.
(a) Formulate the IP model that maximizes “Fruit” profit.
(b) For the production of the ‘Pear’ to be economically viable, at least 100 computers must be
produced. Add this constraint to your model.
8. You have been assigned to arrange the songs on the cassette version of Rocky Rock latest album. A
cassette tape has two sides (1 and 2). The songs on each side of the cassette must total between 14 and
16 minutes in length. The length and type of each song are given in the table below. The assignment of
songs to the tape must satisfy the following conditions:
(a) Write the constraints that describe the above restrictions and requirements.
(b) Only 3 of the 4 conditions mentioned above really need to met. Make the necessary changes in the
model.
B = Ballad; H = Hit
Song: 1 2 3 4 5 6 7 8
TYPE B H B H B H B&H
Length 4 5 3 2 4 5 3 4