Professional Documents
Culture Documents
Solution:
Xij: i = Plant; j = City
Decision Variables:
X11: Number of KWh transferred from Plant-1 to City-1
X12: Number of KWh transferred from Plant-1 to City-2
X13: Number of KWh transferred from Plant-1 to City-3
X14: Number of KWh transferred from Plant-1 to City-4
X21: Number of KWh transferred from Plant-2 to City-1
X22: Number of KWh transferred from Plant-2 to City-2
X23: Number of KWh transferred from Plant-2 to City-3
X24: Number of KWh transferred from Plant-2 to City-4
X31: Number of KWh transferred from Plant-3 to City-1
X32: Number of KWh transferred from Plant-3 to City-2
X33: Number of KWh transferred from Plant-3 to City-3
X34: Number of KWh transferred from Plant-3 to City-4
Objective function:
Min. Z = 8X11+ 6X12+ 10X13+ 9X14+9X21+12X22+13X23+7X24+14X31+9X32 +16X33+5X34
Constrains:
Supply constraints
Plant-1: X11+X12 +X13 +X14 <=35
Plant-2: X21+X22 +X23 +X24 <=50
Plant-3: X31+X32 +X33 +X34 <=40
Demand constraints
City-1: X11+ X21+ X31 >= 45
City-2: X12+ X22+ X32 >= 20
City-3: X13+ X23+ X33 >= 30
City-4: X14+ X24+ X34 >= 30
X11,X12,X13,X14,X21,X22,X23,X24,X31,X32,X33,X34 >=0
Solver answer: Z = 1020; X12=10; X13=25; X21=45; X23=5; X32=10; X34=30
Case study-1: Problem-2:
Powerco has three electric power plants that supply the needs of four cities. Each power plant
can supply the following numbers of kilowatt-hours (kwh) of electricity is given below Table.
The peak power demands in these cities, which occur at the same time (2 P.M.), are shown in
below Table. The costs of sending 1 million kwh of electricity from plant to city depend on
the distance the electricity must travel. Formulate an LP to minimize the cost of meeting each
city’s peak power demand.
Solution:
Supply =125; Demand = 120
Supply ≠ Demand
Add one Dummy City City-5 (Dummy)
If total supply exceeds total demand, we can balance a transportation problem by creating a
dummy demand point that has a demand equal to the amount of excess supply. Because
shipments to the dummy demand point are not real shipments, they are assigned a cost of
zero.
Xij: i = Plant; j = City
Decision Variables:
X11: Number of KWh transferred from Plant-1 to City-1
X12: Number of KWh transferred from Plant-1 to City-2
X13: Number of KWh transferred from Plant-1 to City-3
X14: Number of KWh transferred from Plant-1 to City-4
X15: Number of KWh transferred from Plant-1 to City-5
X21: Number of KWh transferred from Plant-2 to City-1
X22: Number of KWh transferred from Plant-2 to City-2
X23: Number of KWh transferred from Plant-2 to City-3
X24: Number of KWh transferred from Plant-2 to City-4
X25: Number of KWh transferred from Plant-2 to City-5
Objective function:
Min. Z = 8X11+ 6X12+ 10X13+ 9X14+9X21+12X22+13X23+7X24+14X31+9X32 +16X33+5X34 +
0X15+0X25+0X35
Constrains:
Supply constraints
Plant-1: X11+X12 +X13 +X14 +X15 <=35
Plant-2: X21+X22 +X23 +X24 + X25 <=50
Plant-3: X31+X32 +X33 +X34 +X35 <=40
Demand constraints
City-1: X11+ X21+ X31 >= 40
City-2: X12+ X22+ X32 >= 20
City-3: X13+ X23+ X33 >= 30
City-4: X14+ X24+ X34 >= 30
City-5: X15+ X25+ X35 >= 5
X11,X12,X13,X14, X15,X21,X22,X23,X24, X25.X31,X32,X33,X34,X35 >=0
Solver answer: Z = 975; X13=20; X12=15; X21=40; X23=10; X32=5; X34=30; X35=5
Because X35=5 5 million Kwh of plant-3 capacity will be unused.
Case study-1: Problem-3:
Powerco has three electric power plants that supply the needs of four cities. Each power plant
can supply the following numbers of kilowatt-hours (kwh) of electricity is given below Table.
The peak power demands in these cities, which occur at the same time (2 P.M.), are shown in
below Table. The costs of sending 1 million kwh of electricity from plant to city depend on
the distance the electricity must travel. Formulate an LP to minimize the cost of meeting each
city’s peak power demand.
Solution:
Supply =115; Demand = 125
Demand ≠ Supply
Add one Dummy Plant Plant-4 (Dummy)
If total demand exceeds total supply, we can balance a transportation problem by creating a
dummy plant -4 that has a supply equal to the amount of excess demand. Because shipments
from the dummy plant-4 are not real shipments, they are assigned a cost of zero.
Xij: i = Plant; j = City
Decision Variables:
X11: Number of KWh transferred from Plant-1 to City-1
X12: Number of KWh transferred from Plant-1 to City-2
X13: Number of KWh transferred from Plant-1 to City-3
X14: Number of KWh transferred from Plant-1 to City-4
X21: Number of KWh transferred from Plant-2 to City-1
X22: Number of KWh transferred from Plant-2 to City-2
X23: Number of KWh transferred from Plant-2 to City-3
X24: Number of KWh transferred from Plant-2 to City-4
X31: Number of KWh transferred from Plant-3 to City-1
X32: Number of KWh transferred from Plant-3 to City-2
X33: Number of KWh transferred from Plant-3 to City-3
X34: Number of KWh transferred from Plant-3 to City-4
X41: Number of KWh transferred from Dummy Plant-4 to City-1
X42: Number of KWh transferred from Dummy Plant-4 to City-2
X43: Number of KWh transferred from Dummy Plant-4 to City-3
X44: Number of KWh transferred from Dummy Plant-4 to City-4
Objective function:
Min. Z = 8X11+ 6X12+ 10X13+ 9X14+9X21+12X22+13X23+7X24+14X31+9X32 +16X33+5X34 +
0X41+0X42+0X43+0X44
Constrains:
Supply constraints
Plant-1: X11+X12 +X13 +X14 <=35
Plant-2: X21+X22 +X23 +X24 <=40
Plant-3: X31+X32 +X33 +X34 <=40
Plant-4: X41+X42 +X43 +X44 <=10
Demand constraints
City-1: X11+ X21+ X31 +X41 >= 45
City-2: X12+ X22+ X32+X42 >= 20
City-3: X13+ X23+ X33+X43 >= 30
City-4: X14+ X24+ X34 +X44 >= 30
X11,X12,X13,X14,X21,X22,X23,X24,X31,X32,X33,X34,X41,X42,X43,X44 >=0
Solver answer: Z = 900; X11=5; X12=10; X13=20; X14=0;
X21= 40; X22=0; X23=0 ; X24=0 ;
X31 =0 ; X32= 10; X33 =0 ; X34 = 30;
X41 = 0; X42= 0; X43= 10; X44=0;
X43=10 10 million Kwh transferred from dummy plant-4 to City-3. So City-3 power
shortage is 10 million Kwh.
Case study-2: Transportation Problem (Handling Shortages)
Two reservoirs are available to supply the water needs of three cities. Each reservoir can
supply up to 50 million gallons of water per day. Each city would like to receive 40 million
gallons per day. For each million gallons per day of unmet demand, there is a penalty. At city
1, the penalty is $20; at city 2, the penalty is $22; and at city 3, the penalty is $23. The cost of
transporting 1 million gallons of water from each reservoir to each city is shown in below
Table. Formulate a balanced transportation problem that can be used to minimize the sum of
shortage and transport costs.
Solution:
Demand constraints
City-1: X11+ X21+ X31 >= 40
City-2: X12+ X22+ X32 >= 40
City-3: X13+ X23+ X33 >= 40
X11,X12,X13,X21,X22,X23,X31,X32,X33 >=0
Solver answer: Z = 1170 (including penalty);
X11=20; X12=30; X13=0 ; X21=0; X22=10; X23= 40; X31=20; X32=0; X33= 0
Case study-3: Transportation Problem
Foster Generators involves the transportation of a product from three plants to four
distribution centers. Foster Generators operates plants in Cleveland, Ohio; Bedford, Indiana;
and York, Pennsylvania. Production capacities over the next three-month planning period for
one particular type of generator are as follows:
The firm distributes its generators through four regional distribution centers located in
Boston, Chicago, St. Louis, and Lexington; the three-month forecast of demand for the
distribution centers is as follows:
Management would like to determine how much of its production should be shipped from
each plant to each distribution center.
Solution:
Case study-4: Transportation Problem
A company is to subcontract work on four assemblies. The five subcontractors have agreed to
submit a bid price on each assembly type and a limit on the total number of assemblies (if any
combination) for which they are willing to contract. These bids, the contract times, and time
requirements for assemblies are given in the following matrix.
Solution:
Let x11 be Assembly 1 to Subcontractor A, x12 be assembly to Subcontractor B and so on.
It is a minimization problem since the objective is to minimize the cost of subcontract price of the
assembly. Hence, objective function is given by —
Minimum Z =10x11 + 11x12 + 12x13 + 13x14 + 14x15 + 11x21 + 12x22 + 11x23 + 10x24 + 9x25
+ 12x31 + 13x32 + 8x33 + 9x34 + 10x35+ 13x41 + 8x42 + 9x43 + 10x44 + 11x45
The company dispatches it’s through aircraft to cities A and B. Tonnage requirements are 75
at city A and 55 at city B; excess tonnage capacity supplied to a city has no value. A plane
can fly once only during the day (From Central Terminus to city-A or city-B).
The cost of sending per ton material from the terminal to each city using type-I/II/III aircrafts
are given by the following table:
Type-I Type-II Type-III
City-A 230$ 500$ 140$
City-B 580$ 100$ 380$
Solution:
Central Terminus
Aircraft Type-II
City-B
Aircraft Type-III
Decision Variables:
Xij: i=Type of aircraft; j= City
X11: No. of tons transferred from central terminus to City-A using Aircraft Type-I
X12: No. of tons transferred from central terminus to City-B using Aircraft Type-I
X21: No. of tons transferred from central terminus to City-A using Aircraft Type-II
X22: No. of tons transferred from central terminus to City-B using Aircraft Type-II
X31: No. of tons transferred from central terminus to City-A using Aircraft Type-III
X32: No. of tons transferred from central terminus to City-B using Aircraft Type-III
Objective:
Min.Z = 230X11+500X21+140X31+580X12+100X22+380X32
Constraints
Demand:
City-A: X11+X21+X31 =75
City-B: X12+X22+X32 =55
Capacity:
Aircraft Type-I: X11 + X12 <= (8*4.5)
Aircraft Type-II: X21 + X22 <= (15*7)
Aircraft Type-III: X31 + X32 <= (12*4)
xij ≥ 0
Case study-6: Transportation Problem
A Plastic manufacturer has 1200 boxes of transparent wrap in stock at one factory and
another 1000 boxes at its second factory. The manufacturer has orders for this product from
three different retailers, in quantities of 1000, 700 and 500 boxes, respectively. The unit
shipping costs (in rupees/per box) from the factories to the retailers are as follows:
Determine a minimum cost shipping schedule for satisfying all demands current inventory.
Formulate the problem as a linear programming problem.
Solution:
Decision Variables:
Xij: i =Factory-A; j= Retailer
X11: No. of units transferred from Factory-A to Retialer-1
X12: No. of units transferred from Factory-A to Retialer-2
X13: No. of units transferred from Factory-A to Retialer-3
Ryan Electronics is an electronics company with production facilities in Denver and Atlanta.
Components produced at either facility may be shipped to either of the firm’s regional
warehouses, which are located in Kansas City and Louisville. From the regional warehouses,
the firm supplies retail outlets in Detroit, Miami, Dallas, and New Orleans. The key features
of the problem are shown in the network model depicted in Figure 6.6. Note that the supply at
each origin and demand at each destination are shown in the left and right margins,
respectively. Nodes 1 and 2 are the origin nodes; nodes 3 and 4 are the transhipment nodes;
and nodes 5, 6, 7, and 8 are the destination nodes. The transportation cost per unit for each
distribution route is shown in Table 6.5 and on the arcs of the network model in Figure 6.6.
Note that production capacity, demand, and production costs vary by quarter, whereas the
cost of carrying inventory from one quarter to the next is constant at $0.25 per yard.
Contois wants to determine how many yards of carpeting to manufacture each quarter to
minimize the total production and inventory cost for the four-quarter period.
Solution:
Contois should manufacture 600 square yards of carpet in quarter 1, 300 square yards in
quarter 2, 400 square yards in quarter 3, and 400 square yards in quarter 4. Note also that 200
square yards will be carried over from quarter 1 to quarter 2. The total production and
inventory cost is $5150.