0% found this document useful (0 votes)
24 views

Recitation 3

Uploaded by

qalenyan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Recitation 3

Uploaded by

qalenyan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

IE 342

Instructor: O. Örsan Özener


Recitation 3

1 Integer Programming
Question 1
A company is considering opening warehouses in four cities: New York, Los Angeles, Chicago, and
Atlanta. Each warehouse can ship 100 units per week. The weekly fixed cost of keeping each warehouse
open is $400 for New York, $500 for Los Angeles, $300 for Chicago, and $150 for Atlanta. Region 1 of
the country requires 80 units per week, region 2 requires 70 units per week, and region 3 requires 40
units per week. The costs (including production and shipping costs) of sending one unit from a plant
to a region are shown in Table 9. We want to meet weekly demands at minimum cost, subject to the
preceding information and the following restrictions:

From Region 1 Region 2 Region 3


New York 20 40 50
Los Angeles 48 15 26
Chicago 26 35 18
Atlanta 24 50 35

• If the New York warehouse is opened, then the Los Angeles warehouse must be opened.
• At most two warehouses can be opened.
• Either the Atlanta or the Los Angeles warehouse must be opened.
Formulate an IP that can be used to minimize the weekly costs of meeting demand.
Question 2
Glueco produces three types of glue on two different production lines. Each line can be utilized by up
to seven workers at a time. Workers are paid $500 per week on production line 1, and $900 per week
on production line 2. A week of production costs $1,000 to set up production line 1 and $2,000 to set
up production line 2. During a week on a production line, each worker produces the number of units of
glue shown in Table 9. Each week, at least 120 units of glue 1, at least 150 units of glue 2, and at least
200 units of glue 3 must be produced. Formulate an IP to minimize the total cost of meeting weekly
demands.

Production Line Glue 1 Glue 2 Glue 3


1 20 30 40
2 50 35 45

Question 3
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 a swimmingtennis
complex or a sailboat marina, but not both. If a marina is built, then 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
swimmingtennis complex will cost $2.8 million. The developers believe that each apartment will yield
revenues with an NPV of $48,000, and each home will yield revenues with an NPV of $46,000. Each
home (or apartment) costs $40,000 to build. Formulate an IP to help Lotus Point maximize profits.
Question 4
A Sunco oil delivery truck contains five compartments, holding up to 2,700, 2,800, 1,100, 1,800, and
3,400 gallons of fuel, respectively. The company must deliver three types of fuel (super, regular, and
IE 342
Recitation 3

unleaded) to a customer. The demands, penalty per gallon short, and the maximum allowed shortage
are given in Table 9. Each compartment of the truck can carry only one type of gasoline. Formulate an
IP whose solution will tell Sunco how to load the truck in a way that minimizes shortage costs.

Type of Gasoline Demand Cost per Gallon Shortage Max Shortage Allowed
Super 2,900 10 500
Regular 4,000 18 500
Unleaded 4,900 16 500

Question 5
Ford has four automobile plants. Each is capable of producing the Taurus, Lincoln, or Escort, but it can
only produce one of these cars. The fixed cost of operating each plant for a year and the variable cost
of producing a car of each type at each plant are given in Table 5. Ford faces the following restrictions:

Plant Fixed Cost (in billions) Var. Cost - Taurus Var. Cost - Lincoln Var. Cost - Escort
1 7 12,000 16,000 19,000
2 6 15,000 18,000 11,000
3 4 17,000 19,000 12,000
4 2 19,000 22,000 14,000

• We should produce 1000 cars of each type.


• Each plant can produce only one type of car.
• The total production of each type of car must be at a single plant; that is, for example, if any
Tauruses are made at plant 1, then all Tauruses must be made there.
• If plants 3 and 4 are used, then plant 1 must also be used.
Question 6
The manager of State University’s DED computer wants to be able to access five different files. These
files are scattered on 10 disks as shown in Table 6. 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.
• 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.
• Modify your formulation so that if disk 3 or disk 5 is used, then disk 2 must also be used.

1 X X - X X - - X X -
2 X - X - - - - - - -
3 - - X - - X - X - -
4 - X - - X - X - - -
5 X X - X - X X - X X

Question 7
At a machine tool plant, five jobs must be completed each day. The time it takes to do each job depends

Page 2
IE 342
Recitation 3

on the machine used to do the job. If a machine is used at all, there is a setup time required. The
relevant times are given in Table 7. The companys goal is to minimize the sum of the setup and machine
operation times needed to complete all jobs. Formulate the problem.

Machine 1 2 3 4 5 Machine Setup Time (Minutes)


1 42 70 93 X X 30
2 X 85 45 X X 40
3 58 X X 37 X 50
4 58 X 55 X 38 60
5 X 60 X 54 X 20

Question 8
Governor Blue of the state of Berry is attempting to get the state legislature to gerrymander Berrys
congressional districts. The state consists of 10 cities, and the numbers of registered Republicans and
Democrats (in thousands) in each city are shown in Table 8. Berry has five congressional representatives.
To form congressional districts, cities must be grouped according to the following restrictions:

• All voters in a city must be in the same district.


• Each district must contain between 150,000 and 250,000 voters (there are no independent voters).
Governor Blue is a Democrat. Assume that each voter always votes a straight party ticket. Formulate
an IP to help Governor Blue maximize the number of Democrats who will win congressional seats.

City Republicans Democrats


1 80 34
2 60 44
3 40 44
4 20 24
5 40 114
6 40 64
7 70 14
8 50 44
9 70 54
10 70 64

Question 9
A company has three plants on different sides of a country. Each of these plants produces the same
products and then sells them to wholesalers within its part of the country. The orders from wholesalers
have already been received for the next month where the number of units requested are shown below.
(The company is not obligated to completely fill these orders but will do so if it can without decreasing
its profits.)

Plant 1 Plant 2 Plant 3


Demand 4500 6300 5400

Page 3
IE 342
Recitation 3

Each plant has same production process. The production cost per unit produced of each product for
each plant and maximum production capacity of each plant are shown below. Each plant has to use at
least 30% of its production capacity.

Plant 1 Plant 2 Plant 3


Cost $200 $150 $120
Capacity (units) 6000 8000 4000

The net sales revenue (selling price minus normal shipping costs) the company receives when the plant
sells the products to its own customers is $ 300. However, it is also possible (and occasionally desirable)
for a plant to make a shipment to the other plants to satisfy their demands. When this happens, a $30
fixed cost to fill the items in a truck and $1 extra shipping cost occurs for each unit product per mile.

Distance (mile)
Plant 1 Plant 2 Plant 3
Plant 1 - 240 155
Plant 2 240 - 110
Plant 3 155 110 -

Management now needs to determine how much product should be produced in each plant during this
month and how much each plant should ship to the other plants? customers. The objective is to deter-
mine which feasible plan would maximize the total profit.

Question 10
You are asked to design an easy stage of Candy Crush. You should place 3 different color candies (blue,
red, yellow) on a 6x6 square game screen. There are 12 candies of each color. But there are some
requirements. Two candies of each same color can be adjacent at most 3 and there must be exactly one
possible crush once the game is started. Model the game to maximize total Euclidean distance between
candies from same color.

Question 11
Some football fans want to fly kites when the team wins the match. They have blue and yellow cartons
to be split in order to make 2 colorful kites in 40x40 centimeter square sizes. Any color must be intense
for any kite. For example, first kite has to have more blue. A carton’s sizes are 40x40 centimeter squares.
While splitting the cartons, parts can be cut as 10x10 or 20x20 centimeter squares. For each kite, parts
in each color and each size must be used at least once. Model the problem to make the kites in order to
minimize the total number of cartons used.

Page 4

You might also like