Mathematical Modelling Part II
Mathematical Modelling Part II
Lecture 3:
Linear Programming:
Mathematical Models
Part II
2020/2021
Inspection Model
• A company has two grades of inspectors, I and II to undertake
quality control inspection. At least 1,500 pieces must be inspected
in an 8-hours day. Grade I inspector can check 20 pieces in an hour
with an accuracy of 96%. Grade II inspector checks 14 pieces an
hour with an accuracy of 92%. Wages of grade I inspector are $5 per
hour while those of grade II inspector are $4 per hour. Any error
made by an inspector costs $3 to the company. If there are, in all, 10
grade I inspectors and 15 grade II inspectors in the company, find
the optimal assignment of inspectors that minimize the daily
inspection cost (Formulate only the mathematical problem).
2
Example 1: Inspection Model
cont…
• Let x the number of grade I that may be assigned the job of
quality control inspection
• Let y the number of grade II that may be assigned the job of
quality control inspection
3
Inspection Model cont.
Grade I Grade II
Mininze: Z= 8 (7.4x+7.36y)
Subject to
• 𝑥 ≤ 10
• 𝑦 ≤ 15
• 20(8𝑥) + 14(8𝑦) ≥ 1500
• With all variable non-negative and integer
5
Example 2: Trim Loss Problem
Rolls of paper having a fixed length and width 20 feet are being
manufactured by a paper company. These rolls have to be cut
with different knife setting to satisfy the following demand:
Obtain the linear programming formulation of the problem to
determine the cutting pattern, so that the demand is satisfied and
wastage of paper is minimized (Formulate only the linear
problem model)
width 9 7 5
Min Number 200 120 450
of rolls: 6
Trim Loss Model
The different knife setting are:
20 feet
K1 2 Loss=2
9 9
K2 9 4 Loss=4
7
K3 5 5 Loss=0
5 5
K4 9 5 5 1 Loss=4
K5 7 3 Loss=3
5 5
K6 7 7 5 1 Loss=1 7
Trim loss Model cont…
K1 2 Loss=2
9 9
K1 K2 K3 K4 K5 K6
Width 5 0 0 4 2 2 1
Width 7 0 1 0 0 1 2
Width 9 2 1 0 1 0 0
Loss 2 4 0 1 3 1
Machining
capacity
25/hr 40/hr 20
Maximize: Z=1.2 𝑥1 + 1.4𝑥2
Boring 28/hr 35/hr 14
capacity Constraints are on the capacities of the
Polishing 35/hr 25/hr 17
capacity
machines. For one hour running of each
machine
Part A($) Part B($) 1 1
𝑥1 + 𝑥2 ≤1
Machining cost 20/25 =0.8 20/40=0.5 25 40
1 1
Boring cost 14/28=0.5 14/35=0.4
𝑥1 + 𝑥2 ≤1
Polishing cost 17/35 17/25=0.7 28 35
Casting cost 2 3 1 1
𝑥1 + 𝑥2 ≤1
Total cost 3.8 4.6 35 25
Selling Price 5 6
Profit 1.2 1.4
𝑥1 𝑎𝑛𝑑 𝑥2 ≥ 0 12
Example 5: Investment Model
•A bank is in the process of formulating its loan policy involving a maximum
of $600 million. Table below gives the relevant types of loans. Bad debts are
not recoverable and produce no interest revenue. To meet competition from
other banks, the following policy guidelines have been set: at least 40% of the
funds must be allocated to the agricultural and commercial loans. Funds
allocated to the houses must be at least 50% of all loans given to personal, car.
The overall bad debts on all loans may not exceed 0.06. Formulate the Linear
Program Model to determine the optimal loan allocation.
Type of Loan Interest rate Bad debt
(%) (probability)
Persnal 17 0.10
Car 14 0.07
Housing 11 0.05
13
Agriculture 10 0.08
Commercial 13 0.06
Investment Model
• Decision Variables:
• Let 𝑥1 : 𝑡ℎ𝑒 𝑎𝑚𝑜𝑛𝑡 𝑜𝑓 𝑚𝑜𝑛𝑒𝑦 𝑎𝑙𝑙𝑜𝑐𝑎𝑡𝑒𝑑 𝑡𝑜 𝑝𝑒𝑟𝑠𝑜𝑛𝑎𝑙 𝐿𝑜𝑎𝑛
• Let 𝑥2 : 𝑡ℎ𝑒 𝑎𝑚𝑜𝑛𝑡 𝑜𝑓 𝑚𝑜𝑛𝑒𝑦 𝑎𝑙𝑙𝑜𝑐𝑎𝑡𝑒𝑑 𝑡𝑜 𝐶𝑎𝑟 𝐿𝑜𝑎𝑛
• Let 𝑥3 : 𝑡ℎ𝑒 𝑎𝑚𝑜𝑛𝑡 𝑜𝑓 𝑚𝑜𝑛𝑒𝑦 𝑎𝑙𝑙𝑜𝑐𝑎𝑡𝑒𝑑 𝑡𝑜 𝐻𝑜𝑢𝑠𝑒 𝐿𝑜𝑎𝑛
• Let 𝑥4 : 𝑡ℎ𝑒 𝑎𝑚𝑜𝑛𝑡 𝑜𝑓 𝑚𝑜𝑛𝑒𝑦 𝑎𝑙𝑙𝑜𝑐𝑎𝑡𝑒𝑑 𝑡𝑜 𝐹𝑎𝑟𝑚𝑖𝑛𝑔 𝐿𝑜𝑎𝑛
• Let 𝑥5 : 𝑡ℎ𝑒 𝑎𝑚𝑜𝑛𝑡 𝑜𝑓 𝑚𝑜𝑛𝑒𝑦 𝑎𝑙𝑙𝑜𝑐𝑎𝑡𝑒𝑑 𝑡𝑜 𝑐𝑜𝑚𝑚𝑒𝑟𝑐𝑖𝑎𝑙 𝐿𝑜𝑎𝑛
14
Type of Loan Interest Bad debt Good
rate (%) (probabilit
standing
y)
Loan
Persnal 17 0.10 0.90
Car 14 0.07 0.93
Housing 11 0.05 0.95
Agriculture 10 0.08 0.92
Commercial 13 0.06 0.94
16
Example 5: Machining Model
•A factory manufactures a product each unit of which consists of 5
units of part A and 4 units of part B. the two parts A and B require
different raw materials of which 120 units and 240 units respectively
are available. These parts can be manufactured by three different
methods. Raw material requirements per production run and the
number of units for each part produced are given below.
Determine the number of production runs for each method so as to
maximize the total number of complete units of the final product.
Input per run (units) Output per run
(units)
Method Raw material I Raw material II Part A Part B
1 7 5 6 4
2 4 7 5 8
17
3 2 9 7 3
Input per run (units) Output per run
(units)
Example 5 Method
1
Raw material I
7
Raw material II
5
Part A
6
Part B
4
2 4 7 5 8
3 2 9 7 3
• Maximize Z=Y
• Subject to: 6 𝑥1 +5 𝑥2 + 7𝑥3 ≥5Y
• 4 𝑥1 +8 𝑥2 + 3𝑥3 ≥4Y
• 7 𝑥1 +4 𝑥2 + 2𝑥3 ≤ 120
• 5 𝑥1 +7 𝑥2 + 9𝑥3 ≤ 240
• With all variables Non-negative and integer
19