Or Consolidated
Or Consolidated
• Max. Z =10S + 9D
• Subject to (s.t) the constraints:
0.7S + 1D ≤ 630 (Cutting & Dyeing)
0.5S + 0.83D ≤ 600 (Sewing)
1S + 0.66D ≤ 708 (Finishing)
0.1S + 0.25D ≤ 135 (Inspection & Packaging)
S,D ≥ 0 (Non-negativity)
720 Sewing
630
E
540
D
540, 252
C
C&D
Feasible region
I&P
A B S
0 708 900 1200 1350
09/11/2020 Dr. Mahesh K C 16
Continuation of Par Inc.
• To identify the amount of unused resource, we need to
compute slack associated with each constraints.
• Cutting & Dyeing
0.7(540) +1(252) +S1 =630 ⇒S1=0
• Sewing
0.5(540)+0.83(252)+S2 = 600 ⇒S2=120.84
• Finishing
1(540)+0.66(252) +S3=708 ⇒S3=1.68
• Inspection & Packaging
0.1(540)+0.25(252) +S4 =135 ⇒S4=18
• Suppose the profit for the standard bag (S) has been
decreased to $ 6.30. The objective function becomes
Max. 6.3S + 9D
11/11/2020 Dr. Mahesh K C 8
New Solution
600
300,420
400
540, 252
Feasible region
200 Objective function line
S
0 200 400 600 800
S=500
720 Sewing
630
E
540
Feasible Region fulfilling
production constraints
D D=360
A B S
0 708 900 1200 1350
09/11/2020 Dr. Mahesh K C 12
Special Case-3
• Unbounded: If the value of the solution may be made infinitely
large in a maximization problem or infinitely small in a
minimization problem without violating any of the constraints,
then the problem is said to be unbounded. This condition might
be termed as managerial utopia.
• In a maximization problem the manager could achieve an
unlimited profit. However in LP models of real problems, the
occurrence of an unbounded solution means that the problem
has been improperly formulated.
y=5
5
Feasible region
x
0 5 10 15
Dr. Mahesh K C 1
LP Formulation
• Decision Variables: x 1, x2, x 3, and x 4 respectively denotes the
number of units of 75C,33C, 05X and 07X to be produced.
• Objective Function:
Max. Z = 34 x1 + 30 x 2 + 60 x3 + 25 x 4
• Subject to the constraints:
x1 + 2 x 2 + x 4 4000
x1 + x 2 + 4 x3 + x 4 4200
(Plant Capacity)
x1 + 3x 2 2000
x1 + 3x3 + 2 x 4 2300
x1 1400
x2 250
( April Orders )
x3 1510
x4 1116
x1 150
(Key Customer Demand )
x4 600
Dr. Mahesh K C 2
Solving LPP Using Excel 2007 onward
• Install “Solver” package in excel. You may use the following steps:
• Go to Customize Quick Access Toolbar More Commands
Add-Ins Analysis Tool Pack Tick on Solver
Add-In Click OK. Once installed, you can see “Solver” in
“Data”.
Dr. Mahesh K C 5
Solver Snapshot
Dr. Mahesh K C 6
Solver Result
Dr. Mahesh K C 7
Solver Output
Dr. Mahesh K C 8
Interpretation of the Solver Results
• The optimal solution and maximum profit :
x1 = 1100 , x 2 = 250, x3 = 0, x 4 = 600 & Max.Z = $59900
Dr. Mahesh K C 9
Reference
• Render, B., Stair, R.M., Hanna, M.E., Hale, T.S., and Badri, T.N.,
(2016), Quantitative Analysis for Management, 12 th ed.,
Pearson Education.
Dr. Mahesh K C 10
S5: Application of LPP in
Marketing, Finance and HR
Dr. Mahesh K C 1
LPP in Marketing
• The LP models are used in marketing majorly in the
following two fields:
Media Selection and Market / Consumer Research
• In advertising field, LPP is used as a decision aid in
selecting an effective media mix so that the agency can
minimize the advertising costs by allocating the limited
budget across various media like radio, TV, print etc.
• The restrictions could be either from contract
requirements, limited media availability or company policy.
Dr. Mahesh K C 2
Win-Win Advertisers (WWA) Inc.
• WWA is a small advertising firm located in Alabama. Ms. Jessica Martinez, the
campaign manger of Mr. Kelley who is contesting for a re-election in a small
town in Alabama. Jessica was planning to go for a marketing campaign and
decided to choose four ways to advertise: TV, Radio, Billboards and
Newspapers. Jessica asked WWA to help her in identifying the number of adds
to be placed in each of the media so that it should reach maximum people.
• Jessica also decided that there should be at least six adds on TV or radio or
some combination of those two. The amount spent on billboards and
newspapers together must not exceed the amount spent on TV adds. The
maximum monthly budget for advertising has been set at $15000. The
following table gives some other relevant information.
Type of Add Cost ($)per Add Audience Reached / Add Max. Number
TV 800 30000 10
Dr. Mahesh K C 3
WWA Cont’d.
• How many adds of each type should be placed to maximize the total
number of people reached?
• Optimal Solution:
x 1 = 6 . 875 , x 2 = 10 , x 3 = 9 , x 4 = 10 & Max . Z = 722250
Dr. Mahesh K C 4
LPP in Finance
• A problem frequently encountered by managers of
banks, mutual funds, investment services and
insurance companies is the selection of specific
investments from among a wide variety of
alternatives. The manger’s overall objective is usually
to maximize expected return on investment.
Dr. Mahesh K C 5
The International City Trust (ICT) Inc.
• ICT invests in short-term trade credits, corporate bonds, gold stocks, and
construction loans. To encourage a diversified portfolio, the board of directors
has placed limits on the amount that can be committed to any one type of
investment. ICT has $5 million available for immediate investment and wishes
to do to two things: 1) maximize the ROI made over the next six months and 2)
satisfy the diversification requirements. The specifics of the investment
possibilities are as follows:
Investment Interest return (%) Max. Investment ($
millions)
Trade Credit 7 1
Corporate Bonds 11 2.5
Gold Stocks 19 1.5
Construction loans 15 1.8
• In addition, the director boards that at least 55% of the funds invested must be
in gold stocks and construction loans and that no less than 15% be invested in
trade credit.
Dr. Mahesh K C 6
LP Formulation and Solution of ICT
• Let x 1, x 2, x 3 and x 4 denotes the dollars invested in trade credit,
corporate bonds, gold stocks and construction loans
respectively.
Max. Z = 0.07 x1 + 0.11x 2 + 0.19 x3 + 0.15 x 4 (Objective Function)
Subject to:
x1 + x2 + x3 + x 4 5000000 (Total investment )
x1 1000000
x2 2500000
(Max.investment )
x3 1500000
x4 1800000
4
x1 0.15 xi TradeCredit requirement
(
)
i =1
4
x3 + x 4 0.55 xi ( gold & constructi on )
i =1
• Optimal Solution:
x1 = $750000 , x 2 = $950000 , x3 = $1500000 , x 4 = $1800000 & Max.Z = $712000
Dr. Mahesh K C 7
LP in HR: Y.S Chang Restaurant
• In HR, labor planning problems address staffing needs over a specific time
period. They are especially useful when managers have some flexibility in
assigning workers to jobs that require overlapping or interchangeable talents.
• The famous YSC is open 24 hours a day. Waiters and busboys report for duty at
3A.M, 7A.M, 11A.M, 3P.M, 7P.M or 11 P.M and each works an 8-hour shift. The
following table shows the minimum number of workers needed during the six
periods into which the day is divided. Chang’s scheduling problem is to
determine how many waiters and busboys should report for work at the start
of each time period to minimize the total staff required for one day’s operation.
Period Time # of waiters &
busboys required
1 3AM-7AM 3
2 7AM-11AM 12
3 11AM-3PM 16
4 3PM-7PM 9
5 7PM-11PM 11
6 11PM-3AM
Dr. Mahesh K C4 8
Y. S. Chang Formulation
• Let x i denotes the number of waiters and busboys beginning
work in time period i where i=1,2,3,4,5,6.
6
Min. Z = xi (Objective Function)
i =1
Subject to:
x1 + x6 3
x1 + x 2 12
x 2 + x3 16
x3 + x 4 9
x 4 + x5 11
x5 + x 6 4
xi 0 for all i = 1,2 ,3,4,5,6 (Non-negativity)
• Optimal Solution:
• This campaign will use both TV and the Print Media (PM). A
commercial has been developed to run on national channel that
will feature the liquid detergent. The ad for the print media will
promote all three products and will include cents-off coupons
that consumers can use to purchase the products at reduced
prices.
• The management has set the following goals for the campaign:
1) sales of the stain remover should increase by at least 3%, 2)
sales of liquid detergent should increase by at least 18%, and 3)
sales of powder detergent should increase by at least 4%. The
general goal is to increase the sales of each products. The
following table gives the necessary data.
Dr. Mahesh K C 10
• Determine how much to advertise in each medium to meet the
sales goals at a minimum cost.
Unit cost $1 $2
million million
-1% for the powder detergent in the TV column implies that the TV commercial
featuring liquid detergent will take away some sales from the powder detergent.
Dr. Mahesh K C 11
Kelson Sporting Equipment, Inc.,
• Kelson Sporting Equipment, Inc., makes two different types of baseball
gloves: regular model (RM) and catcher’s model (CM). The firm has
900hrs of production time available in its cutting and sewing
department, 300hrs available in its finishing department, and 100hrs
available in its packaging and shipping department. The production
time requirements and profit contribution per glove are given below.
Assuming that the company is interested in maximizing the total
profit, answer the following:
• How many glove of each model should Kelson manufacture and what
is the profit Kelson can earn with the listed production quantities?
• How many hours of production time will be scheduled in each
department? Also find amount of resources that are not utilized in
each department. Dr. Mahesh K C 12
Delhi Investment Inc. Problem
• A financial adviser (FA) at Delhi Investments has identified two
companies that are likely candidates for a takeover in the near future.
Eastern Cable (EC) is a leading manufacturer of flexible cable systems
used in the construction industry and ComSwitch (CS) is a new firm
specializing in digital systems. EC is currently trading for $40 per share
and CS is currently trading $25 per share. If the takeovers occur, the FA
estimates that the price of EC will go to $55 per share and CS will go to
$43 per share. At this point in time, the FA has identified CS as the
higher risk alternative. Assume that the client has shown willingness to
invest a maximum of $50,000 in the two companies. He / she wants to
invest at least $15,000 in EC and at least $10,000 in CS. Because the
higher risk associated with CS, the FA has recommended that at most
$25,000 should be invested in CS.
• Formulate a LPP that can be used to determine the number of shares of
EC and the number of shares of CS that will meet the investment
constraints and maximize the total return for the investment.
• Find the optimal solution graphically. Is there any slack / surplus
available?. If so find it. Dr. Mahesh K C 13
The Diet Problem: The Battery Park Stable (BPS) Firm
• BPS feeds and houses the horses used to pull tourist-filled carriages through
the streets. The owner, an ex-racehorse trainer, recognizes the need to set a
nutritional diet for the horses in his care. At the same time, he would like to
keep the overall daily cost for the feed to a minimum.
• The feed mixes available for the horse’s diet are an oat product, a highly
enriched grain, and a mineral product. Each of these mixes contains a certain
amount of five ingredients daily to keep the average horse healthy. The BPS
owner is also aware that an overfed horse is a sluggish worker and finds that 6
pounds of feed per day are the most that any horse needs to function properly.
Formulate an LP model and find the optimal daily mix and the minimum cost.
All units are in pounds.
Ingredients Oat Enriched Mineral Min. Daily
Product Grain product requirement
A 2 3 1 6
B 0.5 1 0.5 2
C 3 5 6 9
D 1 1.5 2 8
Dr. Mahesh K C 14
Reference
• Render, B., Stair, R.M., Hanna, M.E., Hale, T.S., and Badri, T.N.,
(2016), Quantitative Analysis for Management, 12 th ed.,
Pearson Education.
Dr. Mahesh K C 15
S6: Duality in LPP
Dr. Mahesh K C 1
Duality
• Every LP problem has an associated LPP called the dual problem.
• The original formulation of the LPP is referred as the primal
problem.
• Before deriving dual, the primal LPP must be expressed in
“canonical form”.
• All constraints must be “≤” form for maximization problem and all
constraints must be “≥” form for minimization problem.
6. When the primal has n decision variables, the dual will have n
constraints. The first constraint of the dual is associated with the
first variable in the primal, second constraint in the dual is
associated with second variable in the primal and so on.
7. When the primal has m constraints, the dual will have m decision
variables. The first dual variable is associated with the first
constraint in the primal. The second dual variable is associated
Dr. Mahesh K C 5
with the second constraint in the primal and so on.
Interpretation of primal and dual problem
• Primal problem: Given per unit value of each product,
determine how much of each should be produce to maximize
the value of the total production.
• Constraints require the amount of each resource used to be
less than or equal to the amount available.
Dr. Mahesh K C 7
High-Tech Industries Inc.,
• High-Tech industries imports electronic components that are used to
assemble two different models of personal computers called Desk-
pro and Portable. The management is currently interested in
developing a weekly production schedule for both products. The
Desk-pro generates a profit contribution of $50 per unit, and that of
Portable is $40 per unit.
• For next week’s production, a maximum of 150hrs of assembly time
can be made available. Each unit of the Desk-pro requires 3 hours of
assembly time, and each unit of the Portable requires 5 hours of
assembly time. In addition, High-Tech currently has only 20 Portable
display components in inventory; thus , no more than 20 units may
be assembled. Finally, only 300 square feet of warehouse space can
be made available for new production and each Desk-pro and
Portable requires a warehouse space of 8 and 5 square feet
respectively.
• Develop the dual problem and verify the fundamental and the
complementary slacknessDr.
theorems on duality holds true.
Mahesh K C 8
• Primal LPP: Let x 1 and x 2 denotes the # of units of Desk-pro and
Portable computers respectively.
Max. Z = 50 x 1 + 40 x 2
Subject to: 3 x 1 + 5 x 2 ≤150 ( Assembly time)
x 2 ≤ 20 ( Portable display)
8 x 1 + 5 x 2 ≤ 300 (Warehouse space)
x 1, x 2 ≥ 0
• Primal Optimal solution: x1 = 30, x2 = 12 and Max. Z = 1980.
• Dual LPP: Since the primal has two decision variables, the dual will
have two constraints and primal has three constraints, dual will have
three decision variables. Let u 1, u 2 and u 3 be the dual variables
represents the worth of each resources. Then the dual LPP can be
written as,
Min. Z* = 150u 1 + 20u 2 + 300u 3
Subject to: 3u 1 +8u 3 ≥ 50
5u 1 + u 2 + 5u 3 ≥ 40
u 1 , u 2, u 3 ≥ 0
• Dual Optimal solution: u1 = 14Dr./ 5, u2 = K0,Cu3 = 26 / 5 and Min. Z* = 1980. 9
Mahesh
Economic interpretation of the dual variables
• Consider the Objective functions of the primal and dual
50 x 1 + 40 x 2 = 1980, 150u 1 + 20u 2 + 300u 3 = 1980
• We can rewrite the above equations as:
50 x 1 + 40 x 2 = 1980
(value / unit of x 1 )(# of units of x 2 ) + (value / unit of x 1 )(# of units of x 2 ) = total
150u 1 + 20u 2 + 300u 3 = 1980
(units of resource 1) + (units of resource 2) + (units of resource 3) = total
• Since both primal and dual objective functions are equal at optimality,
u 1 = dollar value / hr of assembly time
u 2 = dollar value / hr of portable display
u 3 = dollar value / hr of warehouse space
• Hence the dual variables must carry the interpretations of being the value
per unit resource.
Dr. Mahesh K C 10
Homework 1: Kelson Sporting Equipment, Inc.,
• Kelson Sporting Equipment, Inc., makes two different types of baseball gloves:
regular model (RM) and catcher’s model (CM). The firm has 900hrs of
production time available in its cutting and sewing department, 300hrs
available in its finishing department, and 100hrs available in its packaging
and shipping department. The production time requirements and profit
contribution per glove are given below. Assuming that the company is
interested in maximizing the total profit, answer the following:
RM 1 1/8 $5
CM 3/2 1/3 $8
•
• How many glove of each model should Kelson manufacture and what is the
profit Kelson can earn with the listed production quantities?
• How many hours of production time will be scheduled in each department?
Also find amount of resources that are not utilized in each department.
• Construct a dual LP model and check whether the results 1 &2 holds true.
Dr. Mahesh K C 11
Homework 2
• Consider the following LPP:
Max. Z = 32x 1 +25x 2 +15x 3 + 10x 4
Subject to:
x 1 +3x 2 +5x 3 ≤ 50
x 1 +5x 2 +4x 4≤ 40
5x 1 +5x 2 +4x 3 +6x 4 ≥ 100
x 1 +3x 3 +8x 4 ≥ 35
x 1, x 2, x 3, x 4 ≥ 0
• Construct the Dual LPP.
Dr. Mahesh K C 12
Reference
• Render, B., Stair, R.M., Hanna, M.E., Hale, T.S., and Badri, T.N.,
(2016), Quantitative Analysis for Management, 12 th ed.,
Pearson Education.
Dr. Mahesh K C 13
Sessions 7, 8 &9 Sensitivity
Analysis
Sensitivity Analysis
• The study of how changes in the coefficients of a LPP affect the optimal
solution.
• Seeks answers to the following basic questions.
a) How will a change in a coefficient of the objective function affect the
optimal solution / objective function value?
b) How will a change in the right-hand-side (resource) value for a
constraint affect the optimal solution / objective function value?
c) How will a change in the technological coefficients for a constraint affect
the optimal solution / objective function value?
• Because the analysis does not begin until the optimal solution to the
original LPP has been obtained, sensitivity analysis is often referred to
as post-optimality analysis.
• Generally, sensitivity analysis is done for one change at a time by
keeping other coefficients or parameters kept constant.
Importance of sensitivity analysis
• Sensitivity analysis is important to decision makers
because real-world problems exist in a changing
environment. Prices of raw materials change, product
demand change, stock prices fluctuate, companies
purchases new machinery and so on. If a linear
programming model has been used in such environment,
we can expect some of the coefficients to change over time.
800
Sewing
600
I&P
E
400 D
540, 252
C
200
A C&D S
0 200 400 600 B 800 1000 1200 1400
D
• Par Inc. Graph
1000 S + (2 / 3)D = 708
(Line B)
600
E
400 D
540, 252
Feasible Region C
200 0.7S + D = 630
(Line A)
A S
0 200 400 600 B 800 1000 1200 1400
• Rotating the objective function line counter clockwise, the
slope of the line increases and we get an alternative
optimal solution between extreme points C and D. Any
further counter clockwise rotation of the objective function
line will cause extreme point C to be non optimal. Hence,
the slope of the line A provides an upper limit for the slope
of the objective function.
• How many glove of each model should Kelson manufacture and what is the
profit? Which constraints are binding?
• Will it be beneficial to Kelson if the profit contribution of RM increased by $4?
Justify. What would be the optimal solution in this case?
• If overtime can be scheduled in one of the departments, where would you
recommend doing so?
• If an additional 50 hrs is made available in C&S department, will it be
beneficial to Kelson? Justify.
• How much the profit will improve if 20 extra hours is made available in P&S ?
Dr. Mahesh K C 12
Problem 2: Modified Par Inc.,
• Refer the Par Inc., problem. In addition to the standard bag and deluxe
bag, the management is considering the production of lightweight
model designed specifically for golfers. The new LP model is given
below.
Max. Z=10S + 9D+12.85L
Subject to (s.t) the constraints
0.7S + 1D +0.8L≤ 630 (Cutting & Dyeing)
0.5S + 0.833D +L≤ 600 (Sewing)
1S + 0.666D +L≤ 708 (Finishing)
0.1S + 0.25D +0.25L≤ 135 (Inspection & Packaging)
S,D,L ≥ 0 (Non-negativity)
• Find the optimal solution and the max profit.
• How much the profit contribution of Deluxe bags have to be increased
so that Par could start producing the same?
Reference
• Render, B., Stair, R.M., Hanna, M.E., Hale, T.S., and Badri, T.N.,
(2016), Quantitative Analysis for Management, 12 th ed.,
Pearson Education.
Dr. Mahesh K C 14
Session 10: The Transportation
Problem
Introduction and LP formulation
• The Transportation Problem (TP) deal with a special class
of LPP called network flow problems in which the objective
is to ‘transport’ (or ship) a single commodity from several
sources (a.k.a origin, or supply ) to different ‘destinations’
(a.k.a demand or requirement ) at a minimum total cost.
• The TP arises frequently in planning for the distribution of
goods and services from several supply locations to several
demand locations.
• Model
Min Z = Σi Σj cij x ij i = 1, 2, ………,m and j = 1, 2, ………,n
Subject to:
Σj x ij ≤ a i ; i = 1, 2, ………,m (supply constraints)
Σi x ij = b j ; j = 1, 2, ………,n (demand constraints)
x ij ≥ 0 for all i and j
General TP table
•
Destinations
Origin D1 D2 ….. Dn Supply
(Oi)
4 Lexington 1500
total 13500
Network model to FG
• Plants (Origins) TC per unit Destination centers
3 1 6000
5000 1 2
7
6
7 5 2 4000
6000 2
2
3
5
2 3 2000
4
3
2500 5
1500
4
Supplies Distribution routes (arcs)
Demands
LP formulation of FG
• Let x ij = # of units shipped from origin i to destination j; i = 1, 2, 3
and j = 1, 2, 3, 4.
• Objective function: Since the objective of the TP is to minimize the
total TC, we use data from table3.
Min Z = (3x 11 +2x 12 +7x 13 +6x 14 )+ (7x 21 +5x 22 +2x 23 +3x 24 )+
(2x 31 +5x 32 +4x 33 +5x 34 )
Philadelphia 2 6 6 2
New Orleans 1 2 5 7
D’ Moines 25
14
30 Jefferson 9
City 7 Kanas 15
City
8 10
20 Omaha 5
St.Louis 10
Warehouse
Factory W1 W2 W3 Supply
F1 10 7 8 45
F2 15 12 9 15
F3 7 8 12 40
Demand 25 55 20 100
Reference
• Render, B., Stair, R.M., Hanna, M.E., Hale, T.S., and Badri, T.N.,
(2016), Quantitative Analysis for Management, 12 th ed.,
Pearson Education.
Dr. Mahesh K C 13
Session 11: Finding Initial Basic
Solution to TP
Procedures to Solve a TP
• Solving a typical TP is in two phases:
Finding an initial basic feasible solution (IBFS)
Finding an optimal solution
• The procedures most often used to find an IBFS to a TP are called
heuristics-a common sense procedure for quickly finding the
solution to a problem. These heuristics are developed for a
balanced TP.
Destinations
Origin (O i ) D1 D2 ….. Dn Supply
Step 2: Select the row or column having the largest penalty number. If there
is a tie then it can be broken by selecting the cell where maximum allocation
can be made.
Step 3: Allocate as much as possible to the cell with the lowest cost in the
row or column selected in step2. Adjust the supply and demand s after
allocation at sources and destinations.
Step 4: Eliminate the row or column for which supply and demand
conditions are met.
Step 5: Repeat steps 1-4 until the entire supply at various sources and
demand at various destinations are met.
• FG Cost matrix
Origin D1 D2 D3 D4 Suppl
y
O1 5000
3 2 7 6
O2 6000
7 5 2 3
2500
O3
4 5
2 5
Dema 6000 4000 2000 1500 13500
nd
Foster Generators-IBFS by NWC & LCM
Origin D1 D2 D3 D4 Supply Origin D1 D2 D3 D4 Supply
A 10 7 8
B 15 12 9
C 7 8 12
1) Write down the LP model by clearly defining your decision variables.
2) Find IBFS by using NWC, LCM and VAM.
1) Let x ij = # of units shipped from origin i to destination j; i = j =1, 2, 3
Objective Function
Min Z = (10x 11 + 7x 12 + 8x 13 ) + (15x 21 + 12x 22 + 9x 23 )+(7x 31 + 8x 32 + 12x 33 )
Non-negativity constraint
x ij ≥ 0 for all i = 1, 2, 3 and j = 1, 2, 3
2) Prohibited routes:
When it is not possible to transport goods from certain sources to
certain destinations, due to unfavorable weather conditions, road
hazards, etc, the problem can be handled by assigning a very large
cost say M or ∞ to each of the route which are not available.
Problem Variations Cont’d.
3) Maximization TP:
• In general the transportation model is used for cost
minimization problems. However, it can also be used to solve
problems in which the objective is to maximize total profit.
• Instead of unit cost cij, the profit or payoffs p ij associated with
each route (i, j) is given.
Dr. Mahesh K C 13
S13 & S14: The Assignment
Problem
Dr. Mahesh K C 1
Assignment Problem (AP)
• The AP is special case of the TP for which a LPP can be
formulated.
• The assignment problem (AP) arises in a variety of
decision-making situations; typical assignment problems
involve assigning jobs to machines, agents to tasks, sales
personals to sales territories, contracts to bidders and so
on.
• A distinguishing feature of the AP is that one agent is
assigned to one and only one task.
• Since one-to-one assignment is carried out, the number of
rows and columns will be same.
• Specifically one may look for set of assignments that will
optimize a stated objective, such as minimize cost,
minimize time or maximize profit.
Dr. Mahesh K C 2
General LP model for AP
• The general AP involves n agents and n tasks. Let cij denotes
the cost associated in assigning agent i to task j. Define
x ij = 1 if agent i is assigned to task j
= 0 otherwise
Then the general AP is
Min Z = ΣΣ cij x ij , i = 1, 2,….., n and j = 1, 2,……, n
Subject to
Σj x ij =1 i = 1, 2,….., n agents
Σi x ij = 1 j = 1, 2,……, n tasks
x ij = 0 or 1 for all i and j
Dr. Mahesh K C 3
Hungarian Assignment Method (HAM)
• This method involves what is called matrix reduction. The goal
of this method is to continue reducing the matrix until the value
of one of the solutions is zero-that is, until an assignment of
agents to tasks can be made.
Dr. Mahesh K C 6
0 0 2 0 0 2
1 5 0 1 5 0
0 3 0 0 3 0
10 15 9 1 6 0 0 0 0
9 18 5 4 13 0 3 7 0
6 14 3 3 11 0 2 5 0
Since the min. no. of lines not equal to the order of the matrix,
Dr. Mahesh K C 7
an optimal solution has not been reached.
Problem Variations
• Unbalanced AP: If the number of rows and columns are not
equal, then the AP is called unbalanced.
• To solve such Aps, one need to balance it first by adding a
dummy row / column with zeros in the row / column. Then
apply HAM.
Washing 44 80 52 60
ton
Benson 60 56 40 72
Fredricks 36 60 48 48
Hodson 52 76 36 40
Dr. Mahesh K C 9
Problem 1
• The following matrix gives the estimate of time each machine would
take to perform each task. Determine the optimum assignment that
will minimize the total man-hours.
Tasks E F G H
A 18 26 17 11
B 13 28 14 26
C 38 19 18 15
D 19 26 24 10
Dr. Mahesh K C 10
Reference
• Render, B., Stair, R.M., Hanna, M.E., Hale, T.S., and Badri, T.N.,
(2016), Quantitative Analysis for Management, 12 th ed.,
Pearson Education.
Dr. Mahesh K C 11