Professional Documents
Culture Documents
Examples of topics:
Break-even analysis, forecasting, scheduling, linear programming, sensitivity
analysis, routing, networks, inventory, transportation, depreciation, others.
Forecasting
Definition:
Forecasting is predicting the future demand of the manufactured products and
services based on the past demand information.
Demand
Time
Jan Feb Mar Apr May Jun Jul Aug
IO –Lecture Notes
Page 1
Introduction to Industrial Organization Course
4th year Mechanical Power
Demand
Season
Importance of forecasting
What are the consequences of bad forecasting?
• Products may be less than the demand; this leads to lost sales
• Products may be more than the demand; this leads to high stock or expired
products
Tools
Scientific tools are used to make the forecasting.
Forecasting classification
Forecasting classification according to the time horizon of forecasting:
IO –Lecture Notes
Page 2
Introduction to Industrial Organization Course
4th year Mechanical Power
Qualitative Quantitative
Expert opinion
Regression
Delphi
In time series models, historical data is related to time. In regression models, data
is related to another parameter.
60
Volume
40
(a) Nonlinear trend 20
0
0 5 10 15
Time
IO –Lecture Notes
Page 3
Introduction to Industrial Organization Course
4th year Mechanical Power
70
60
50
Volume
40
30
(b) Linear trend 20
10
0
0 5 10 15
Time
60
50
Volume
40
30
(c) No trend 20
10
0
0 5 10 15
Time
For linear trends, the best fitting line is calculated using the least square method.
IO –Lecture Notes
Page 4
Introduction to Industrial Organization Course
4th year Mechanical Power
∑ 𝑥 2 ∑ 𝑦 − ∑ 𝑥 ∑ 𝑥𝑦 𝑛 ∑ 𝑥𝑦 − ∑ 𝑥 ∑ 𝑦
𝑎= 𝑏=
𝑛 ∑ 𝑥 2 − (∑ 𝑥 )2 𝑛 ∑ 𝑥 2 − (∑ 𝑥 )2
where:
Year (t) 1 2 3 4 5 6 7 8 9 10
Sales (y) 700 724 720 728 740 742 758 750 770 775
Solution:
Year Sales
t2 y2 ty
(t) (y)
1 700 1 490000 700
2 724 4 524176 1448
3 720 9 518400 2160
4 728 16 529984 2912
5 740 25 547600 3700
6 742 36 550564 4452
7 758 49 574564 5306
8 750 64 562500 6000
9 770 81 592900 6930
10 775 100 600625 7750
Sum 55 7407 385 5491313 41358
IO –Lecture Notes
Page 5
Introduction to Industrial Organization Course
4th year Mechanical Power
Regression Model
Solved example:
“Healthy Hamburgers” has a chain of 12 stores in northern Illinois. Sales figures
and profits for the stores are given in the following table in million dollars. Check
if a linear model is reasonable. If yes, obtain a regression line for the data and
predict the profit for a store assuming sales of $10 million.
Year 1 2 3 4 5 6 7 8 9 10
Sales 7 2 6 4 14 15 16 12 14 20
Profit 0.15 0.1 0.13 0.15 0.25 0.27 0.24 0.2 0.27 0.44
The correlation coefficient (r) should be calculated twice; once between years and
profit, another between sales and profit.
n ∑ xy − ∑ x ∑ y
rx,y =
√n ∑ x 2 − (∑ x)2 √n ∑ y 2 − (∑ y)2
IO –Lecture Notes
Page 6
Introduction to Industrial Organization Course
4th year Mechanical Power
Therefore, the forecasted value should be calculated according to sales (not years)
IO –Lecture Notes
Page 7
Introduction to Industrial Organization Course
4th year Mechanical Power
Averaging Techniques
Why averaging?
Averaging is used in some cases:
5-years
2-years
Year moving
Sales moving x2 xy
(x) average
average
(y)
1 45
45.25
2 45.5
47.8
3 50.1 50.64 9 151.92
50.35
4 50.6 53.24 16 212.96
56.3
5 62 57 25 285
60
6 58 61.02 36 366.12
61.15
7 64.3 65.38 49 457.66
67.25
8 70.2 68.1 64 544.8
71.3
9 72.4
74
10 75.6
IO –Lecture Notes
Page 8
Introduction to Industrial Organization Course
4th year Mechanical Power
80
75
70
65
60
55
50
45
40
0 2 4 6 8 10 12
Values of (N)
IO –Lecture Notes
Page 9
Introduction to Industrial Organization Course
4th year Mechanical Power
90
80
70
60
50
40
0 2 4 6 8 10 12
Exponential smoothing
- For short term forecasting (daily)
- Easy to use and understand
- The new forecast depends on the previous forecast plus a percentage of the
forecast error.
𝐹𝑡+1 = 𝐹𝑡 + 𝛼 (𝐴𝑡 − 𝐹𝑡 )
Act. Sales
Year (t) Forecast (Ft)
(yt)
1 A1 F1
2 A2
… …
T-1 AT-1
T AT
T+1
IO –Lecture Notes
Page 10
Introduction to Industrial Organization Course
4th year Mechanical Power
Solved example:
For F1 = 85, and α = 0.15, forecast the sales of year (9).
1 90 85
2 100 85.75
3 107 87.888
4 113 90.748
5 123 94.09
6 136 98.43
7 144 104.07
8 155 110.06
9 116.8
Values of (α)
Potential / Higher potential for earlier Higher potential for later days
weight days
Uses Used for less stable cases Used for more stable cases
IO –Lecture Notes
Page 11
Introduction to Industrial Organization Course
4th year Mechanical Power
80
75
70
65
60
55
50
45
40
35
0 2 4 6 8 10 12
Values of (𝐹1 )
Naive approach 𝐹2 = 𝐴1
𝐴1 + 𝐴2 + ⋯ + 𝐴𝑛
Subjective estimate 𝐹1 =
𝑛
𝐴1 + 𝐴2 + 𝐴3
Practical approach 𝐹4 =
3
IO –Lecture Notes
Page 12
Introduction to Industrial Organization Course
4th year Mechanical Power
Seasonal decomposition
This is a method to forecast the sales of a product (or service) that faces
seasonality. The basic concept of the method is to smooth and de-seasonalize the
data, so that the data can follow a linear trend. After forecasting, the values
obtained are seasonalized again.
Solved example:
The quarterly unit demand of a product are given below:
Determine the seasonal index, and establish a forecast for each quarter of the next
year.
The steps are as shown in the following table: the fourth column represents the
four quarter moving average. The fifth column is the centred moving average.
When comparing these values to the values of original data, the seasonal index
(seasonal component) can be calculated as in the sixth column. The average
seasonal component for each season is calculated given all its values in column 6.
These average values are added and repeated in column 7. Knowing the original
sales and the average seasonal component for each season, the de-seasonalized
values are calculated and added in column 8.
IO –Lecture Notes
Page 13
Introduction to Industrial Organization Course
4th year Mechanical Power
IO –Lecture Notes
Page 14
Introduction to Industrial Organization Course
4th year Mechanical Power
The obtained values are used together with the seasonal component to calculate the
expected sales according to their seasons.
IO –Lecture Notes
Page 15
Introduction to Industrial Organization Course
4th year Mechanical Power
Deseasonalized
Quarter x2 xy
sales
1 183.220829 1 183.220829
2 257.731959 4 515.463918
3 263.5496 9 790.6489
4 305.5281 16 1222.112
5 241.0471 25 1205.236
6 294.6449 36 1767.869
7 316.2595 49 2213.817
8 229.1461 64 1833.169
9 289.2566 81 2603.309
10 250.4482 100 2504.482
11 274.0916 121 3015.008
12 274.9753 144 3299.704
13 269.9728 169 3509.646
14 294.6449 196 4125.029
15 231.9237 225 3478.855
16 305.5281 256 4888.45
17 337.466 289 5736.922
18 309.3771 324 5568.789
19 358.4275 361 6810.122
20 366.6337 400 7332.675
Sum 210 5653.931 2870 62604.67
The forecasted sales are the de-seasonalized sales multiplied by the index
Forecasted
Year Quarter t Deasonalized sales St
seasonalized sales
1 21 333.6396 1.039 346.65
2 22 338.5072 1.357 459.36
6
3 23 343.3748 0.949 325.86
4 24 348.2424 0.655 228.10
IO –Lecture Notes
Page 16
Introduction to Industrial Organization Course
4th year Mechanical Power
Inventory Control
Definition
Inventory is any idle goods, materials, or assets carried on hand by a company to
be used in the future
Types
• Raw material and purchased parts
• Components
• Work-in-process
• Finished goods
• Supplies
Control methods
Type Method Application
IO –Lecture Notes
Page 17
Introduction to Industrial Organization Course
4th year Mechanical Power
Solved example:
For the following items in the inventory, make an ABC inventory analysis.
1A 1,500 5.00
2B 6,450 20.00
3C 5,000 45.00
4D 200 12.50
5E 20,000 35.00
6F 84 250.00
7G 800 80.00
8H 300 5.00
9J 10,000 35.00
10K 2,000 65.00
11L 5,000 25.00
12M 3,250 125.00
13N 9,000 0.50
14P 2,900 10.00
15Q 800 15.00
16R 675 200.00
17S 1,470 100.00
18T 8,200 15.00
19U 1,250 0.16
20W 2,500 0.20
IO –Lecture Notes
Page 18
Introduction to Industrial Organization Course
4th year Mechanical Power
IO –Lecture Notes
Page 19
Introduction to Industrial Organization Course
4th year Mechanical Power
projected annual
Cumulative dollar Cumulative
Rank Item number dollar usage
usage (dollars) percentage
(dollars)
1 5E 700,000 700,000 27.79%
2 12M 406,250 1,106,250 42.34%
3 9J 350,000 1,456,250 55.73%
4 3C 225,000 1,681,250 64.34%
5 17S 147,000 1,828,250 69.97%
6 16R 135,000 1,963,250 75.14%
7 10K 130,000 2,093,250 80.11%
8 2B 129,000 2,222,250 85.05%
9 11L 125,000 2,347,250 89.83%
10 18S 123,000 2,470,250 94.54%
11 7G 64,000 2,534,250 96.99%
12 14P 29,000 2,563,250 98.10%
13 6F 21,000 2,584,250 98.90%
14 15Q 12,000 2,596,250 99.36%
15 1A 7,500 2,603,750 99.65%
16 13N 4,500 2,608,250 99.82%
17 4D 2,500 2,610,750 99.92%
18 8H 1,500 2,612,250 99.97%
19 20W 500 2,612,750 99.99%
20 19U 200 2,612,950 100.00%
IO –Lecture Notes
Page 20
Introduction to Industrial Organization Course
4th year Mechanical Power
Item Cumulative
percentage percentage
5% 27.79%
10% 42.34%
15% 55.73%
20% 64.34%
25% 69.97%
30% 75.14%
35% 80.11%
40% 85.05%
45% 89.83%
50% 94.54%
55% 96.99%
60% 98.10%
65% 98.90%
70% 99.36%
75% 99.65%
80% 99.82%
85% 99.92%
90% 99.97%
95% 99.99%
100% 100.00%
IO –Lecture Notes
Page 21
Introduction to Industrial Organization Course
4th year Mechanical Power
Graph:
120%
100%
Percent dollar usage
80%
60%
40%
B C
20%
A
0%
0 20 40 60 80 100 120
Percent of items
Another representation:
25%
70% A
35%
B
27% 40%
C
IO –Lecture Notes
Page 22
Introduction to Industrial Organization Course
4th year Mechanical Power
Shipping and handling; Documents and paper work; Insurance; Vendor selection;
Evaluation; Inspection; tendering (order processing)
Calculation:
For product x:
To decrease the procurement cost, it is required to increase the order size (Q).
Chart:
3500
3000
Ordering cost (L.E.)
2500
2000
1500
1000
500
0
0 10 20 30 40 50 60
Order Quantity (units/order)
IO –Lecture Notes
Page 23
Introduction to Industrial Organization Course
4th year Mechanical Power
2. Holding cost (Carrying cost); the cost of keeping units inside the
inventory.
Examples:
120
100
Q
Quantity on hold(units)
80
60
Q /2
40
20
0
0 50 100 150 200 250 300 350 400
Time unit
Calculation:
For product x,
200
𝐻𝑜𝑙𝑑𝑖𝑛𝑔 𝑐𝑜𝑠𝑡 = 1 ×
2
𝑄
𝐻𝑜𝑙𝑑𝑖𝑛𝑔 𝑐𝑜𝑠𝑡 = ℎ ×
2
To decrease the holding cost, it is required to decrease the order size (Q)
IO –Lecture Notes
Page 24
Introduction to Industrial Organization Course
4th year Mechanical Power
Chart:
1200
1000
800
Holding cost (L.E.)
600
400
200
0
0 10 20 30 40 50 60
Order quantity (units/order)
Both costs; the procurement cost, and the holding cost, are conflicting. In order to
decrease the total cost, it is required to find the optimum value of Q that minimizes
the total cost. This is obtained through differentiation. It is the value of Q where
both costs are equal.
Total Cost
3500
3000
2500
2000
Cost
1500
1000
500
0
0 10 20 30 40 50 60
Order Quantity
order cost hold cost sum
When procurement cost is equal to the carrying cost, the inventory cost is
minimized. This value of Q is called “Economic Order Quantity”, and it notified as
E.O.Q.
IO –Lecture Notes
Page 25
Introduction to Industrial Organization Course
4th year Mechanical Power
𝑅 𝑄
∵𝑝 =ℎ
𝑄 2
2𝑝𝑅
∴𝑄=√
ℎ
2𝑝𝑅
∴ 𝐸. 𝑂. 𝑄. = √
ℎ
Puchasing cost
Total Inventory cost
(𝑅 × 𝑢)
Where:
IO –Lecture Notes
Page 26
Introduction to Industrial Organization Course
4th year Mechanical Power
Solved example:
Given Required
R=50,000 (units/ year) E.O.Q,
u = 0.2 (EGP/unit)
2𝑝𝑅 2 × 4 × 50,000
𝐸. 𝑂. 𝑄. = √ = √ = 5164 𝑢𝑛𝑖𝑡𝑠/𝑜𝑟𝑑𝑒𝑟
ℎ 1.5/100
𝑅 𝑄
𝑇𝑜𝑡𝑎𝑙 𝑎𝑛𝑛𝑢𝑎𝑙 𝑐𝑜𝑠𝑡 = 𝑝 × +ℎ× +𝑅×𝑢
𝑄 2
50,000 1.5 5164
=4× + × + 50,000 × 0.2
5164 100 2
= 10,077.45 𝐿. 𝐸 / 𝑦𝑒𝑎𝑟
𝑅 50,000
𝑁𝑜. 𝑜𝑓 𝑜𝑟𝑑𝑒𝑟𝑠 = = = 9.68 𝑜𝑟𝑑𝑒𝑟𝑠 / 𝑦𝑒𝑎𝑟
𝑄 5164
𝑄 5164
𝑂𝑟𝑑𝑒𝑟 𝑟𝑎𝑡𝑒 = = × 300 = 30.98 𝑑𝑎𝑦𝑠 / 𝑜𝑟𝑑𝑒𝑟
𝑅 50,000
IO –Lecture Notes
Page 27
Introduction to Industrial Organization Course
4th year Mechanical Power
Lead time: The time the order takes from placing it till it is received in the
inventory.
3500
3000
Quantity on hold (units)
2500
2000
1500
1000
500
0
0 5 10 15 20 25 30 35
Time
Safety Stock
IO –Lecture Notes
Page 28
Introduction to Industrial Organization Course
4th year Mechanical Power
4000
3500
Quantity on hold (units)
3000
2500
2000
1500
1000
500
0
0 20 40 60 80 100 120
Time
IO –Lecture Notes
Page 29
Introduction to Industrial Organization Course
4th year Mechanical Power
4000
Cycle time
Qp
3000
Qholdmax
Quantity
2000
1000
0
0 5 10 15 20 25 30 35 40
Tp Tc
Time
𝐷 𝑄ℎ𝑜𝑙𝑑𝑚𝑎𝑥
𝑆𝑒𝑡𝑢𝑝 𝑐𝑜𝑠𝑡 = 𝑆 × , 𝐶𝑎𝑟𝑟𝑦𝑖𝑛𝑔 𝑐𝑜𝑠𝑡 = 𝐻 ×
𝑄𝑝 2
𝐷 𝑄ℎ𝑜𝑙𝑑𝑚𝑎𝑥
𝑇𝑜𝑡𝑎𝑙 𝑐𝑜𝑠𝑡 (𝑇) = 𝑆 × +𝐻×
𝑄𝑝 2
𝐷 𝑄𝑝 𝑃 − 𝐶
𝑇=𝑆× +𝐻× ( )
𝑄𝑝 2 𝑃
𝜕𝑇
=0
𝜕𝑄𝑝
2𝐷𝑆 𝑃
∴ 𝑄𝑝 = 𝐸. 𝑃. 𝑄. = √ √
𝐻 𝑃−𝐶
Solved example
A toy manufacturer uses 48,000 rubber wheels per year for its popular truck series.
The firm makes its own wheels at a rate of 800 per day. Carrying cost is $1 per
wheel a year. Setup cost for a production run of wheels is $45. The firm operates
240 days per year. Determine:
IO –Lecture Notes
Page 31
Introduction to Industrial Organization Course
4th year Mechanical Power
Given:
Solution:
𝐷 48000
𝐶= = = 200 𝑤ℎ𝑒𝑒𝑙𝑠 / 𝑑𝑎𝑦
𝑊𝑜𝑟𝑘𝑖𝑛𝑔 𝑑𝑎𝑦𝑠 240
2𝐷𝑆 𝑃
𝑂𝑝𝑡𝑖𝑚𝑎𝑙 𝑝𝑟𝑜𝑑𝑢𝑐𝑡𝑖𝑜𝑛 𝑠𝑖𝑧𝑒 = 𝑄𝑝 = √ √
𝐻 𝑃−𝐶
2 × 48000 × 45 800
√ √ = 2400 𝑤ℎ𝑒𝑒𝑙𝑠 / 𝑟𝑢𝑚
1 800 − 200
𝑄𝑝 2400
𝑃𝑟𝑜𝑑𝑢𝑐𝑡𝑖𝑜𝑛 𝑡𝑖𝑚𝑒 / 𝑟𝑢𝑛 (𝑇𝑝) = = = 3 𝑑𝑎𝑦𝑠/𝑟𝑢𝑛
𝑃 800
𝑃−𝐶 800 − 200
𝑄ℎ𝑜𝑙𝑑𝑚𝑎𝑥 𝑄𝑝 ( 𝑃 ) 2400 ( 800 )
𝐶𝑜𝑛𝑠𝑢𝑚𝑝𝑡𝑖𝑜𝑛 𝑡𝑖𝑚𝑒 (𝑇𝑐) = = = = 9 𝑑𝑎𝑦𝑠
𝐶 𝐶 200
𝐶𝑦𝑐𝑙𝑒 𝑡𝑖𝑚𝑒 𝑓𝑜𝑟 𝑖𝑛𝑣𝑒𝑛𝑡𝑜𝑟𝑦 = 𝑇𝑝 + 𝑇𝑐 = 3 + 9 = 12 𝑑𝑎𝑦𝑠
** Cycle time for inventory can be also calculated through the number of runs
per year (N)
𝐷 48000
No. of runs (N) = = = 20 𝑟𝑢𝑛𝑠/𝑦𝑒𝑎𝑟
𝑄𝑝 2400
IO –Lecture Notes
Page 32
Introduction to Industrial Organization Course
4th year Mechanical Power
2𝑝𝑅 𝐵
∴ 𝐸. 𝑃. 𝑄. = √ √
ℎ 𝐵−𝐴
2𝑝𝑅 𝐴
𝐸. 𝑃. 𝑄. = √ , 𝜔=
ℎ(1 − 𝜔) 𝐵
Quantity discounts
• Quantity discounts are price reduction for large offers.
• They encourage customers to buy in large quantities.
• They result in large quantities in stock.
IO –Lecture Notes
Page 33
Introduction to Industrial Organization Course
4th year Mechanical Power
• The objective is to minimize the carrying cost, ordering cost, and purchasing
cost.
For all the previous costs, the economic order quantity is the same according to:
2𝑝𝑅
∴ 𝐸. 𝑂. 𝑄. = √
ℎ
As shown in the following figure, all the costs have the same EOQ, however, each
cost is valid for a certain category of cost only. The dotted lines represent the limits
of the quantities purchased where:
IO –Lecture Notes
Page 34
Introduction to Industrial Organization Course
4th year Mechanical Power
2500
2000
1500
Cost
1000
500
0
0 100 200 300 400 500 600
Order Quantity
Inventory cost TC3 TC2 TC1
Then, the previous figure should be re-drawn showing the ranges of validity for
each price offer as shown in the following figure. Valid ranges are solid lines.
Dotted lines are the invalid ranges.
2500
2300
2100
1900
1700
Cost
1500
1300
1100
900
700
500
0 100 200 300 400 500 600
Order Quantity
If the problem is to be solved graphically, it is clear that the least cost occurs when
ordering 201 units / order. It might seem that all the time, the least cost occurs for
the lowest unit price. This is not true. The following figure shows the same
previous problem, with the third price category valid for more than 420 units.
IO –Lecture Notes
Page 35
Introduction to Industrial Organization Course
4th year Mechanical Power
2500
2000
Cost
1500
1000
500
0 100 200 300 400 500 600
Order Quantity
From the previous figure, it is clear that the least cost occurs at ordering the
economic order quantity, within the category of the second unit price offer.
The ranges of the price offers control detecting the ordering size of the least cost.
In this case, the economic order quantity varies for each price category (u):
2𝑝𝑅
∴ 𝐸. 𝑂. 𝑄. = √
𝐼𝑢
To detect the order quantity of least cost, we need to investigate the minimum cost
for each price category.
IO –Lecture Notes
Page 36
Introduction to Industrial Organization Course
4th year Mechanical Power
For a certain price category, the point of least cost might either occur at one of the
end values, or at the point of EOQ (in case that the EOQ lies within the validity
range of this price category). This is shown in the next figure.
1400
1300
1200
1100
1000
Cost
900
800
700
600
500
400
0 200 400 600 800 1000 1200 1400
Order Quantity
V1 V1 V2 V2 V2 V3 V3
Solved example:
Surge electric uses approximately 4,000 toggle switches a year. Switches are
priced as given in the table. It costs $30 to place an order. Carrying costs are 40%
of the purchase price per unit on annual basis. Determine the optimal quantity, and
the total annual cost.
IO –Lecture Notes
Page 37
Introduction to Industrial Organization Course
4th year Mechanical Power
@ each point of calculation, the total cost can be calculated through the equation:
𝐷 𝑄 120,000
𝑇 =𝐷∙𝑢+ × 𝑆 + × 𝐼𝑢 = 4000𝑢 + + 0.2𝑄𝑜 𝑢
𝑄 2 𝑄𝑜
IO –Lecture Notes
Page 38
Introduction to Industrial Organization Course
4th year Mechanical Power
Depreciation
Definition:
Depreciation refers to two very different but related concepts:
The former affects values of businesses and entities. The latter affects net income.
Generally the cost is allocated, as depreciation expense, among the periods in
which the asset is expected to be used.
• If the asset is sold at a sales price exceeding the depreciated value (net book
value), the excess would be considered a gain and would be recognized as
ordinary income by the tax office.
• If the sales price is ever less than the book value, the resulting capital loss is
tax deductible.
• If the sale price were ever more than the original book value, then the gain
above the original book value is recognized as a capital gain.
There are several methods for calculating depreciation, generally based on either
the passage of time or the level of activity (or use) of the asset.
IO –Lecture Notes
Page 39
Introduction to Industrial Organization Course
4th year Mechanical Power
Straight-line depreciation
Straight-line depreciation is the simplest and most-often-used technique, in which
the company estimates the salvage value of the asset at the end of the period during
which it will be used to generate revenues (useful life) and will expense a portion
of original cost in equal increments over that period. The salvage value is an
estimate of the value of the asset at the time it will be sold or disposed of; it may be
zero or even negative. Salvage value is also known as scrap value or residual
value.
𝐶𝑜𝑠𝑡 𝑜𝑓 𝑎𝑠𝑠𝑒𝑡 − 𝑆𝑐𝑟𝑎𝑝 𝑣𝑎𝑙𝑢𝑒
𝐴𝑛𝑛𝑢𝑎𝑙 𝐷𝑒𝑝𝑟𝑒𝑐𝑖𝑎𝑡𝑖𝑜𝑛 𝐸𝑥𝑝𝑒𝑛𝑠𝑒 =
𝑈𝑠𝑒𝑓𝑢𝑙 𝑙𝑖𝑓𝑒 𝑜𝑓 𝑎𝑠𝑠𝑒𝑡 (𝑦𝑒𝑎𝑟𝑠)
Book value at the beginning of the first year of depreciation is the original cost of
the asset. At any time book value equals original cost minus accumulated
depreciation.
Solved example:
A vehicle that depreciates over 5 years, is purchased at a cost of EGP 1,000, and
will have a salvage value of EGP 100. Find the book value of the vehicle at the
end of each year.
1000 − 100
𝐴𝑛𝑛𝑢𝑎𝑙 𝐷𝑒𝑝𝑟𝑒𝑐𝑖𝑎𝑡𝑖𝑜𝑛 𝐸𝑥𝑝𝑒𝑛𝑠𝑒 = = 𝐸𝐺𝑃 180
5
IO –Lecture Notes
Page 40
Introduction to Industrial Organization Course
4th year Mechanical Power
100
5 280 180
(scrap value)
Solved example:
An asset has original cost $70,000, salvage value $10,000, and is expected to
produce 6,000 units. The machine is used to produce 1,000 units in the first year.
Production increases by 100 units each year. Find the book value of the machine
at the end of each year, until it reaches its salvage value.
70,000 − 10,000
𝐷𝑒𝑝𝑟𝑒𝑐𝑖𝑎𝑡𝑖𝑜𝑛 𝑝𝑒𝑟 𝑢𝑛𝑖𝑡 = = $10
6,000
The table below illustrates the units-of-production depreciation schedule of the
asset.
Book value at
Units of Depreciation Depreciation Book value at
Yr beginning of
production cost per unit ($) expense ($) end of year ($)
year ($)
70,000
1 1000 10 10,000 60,000
(original cost)
IO –Lecture Notes
Page 41
Introduction to Industrial Organization Course
4th year Mechanical Power
$10,000
5 24,000 1400 10 14,000
(Scrap value)
Depreciation stops when book value is equal to the scrap value of the asset. In the
end, the sum of accumulated depreciation and scrap value equals the original cost.
Activity depreciation
Activity depreciation methods are not based on time, but on a level of activity.
This could be miles driven for a vehicle, or a cycle count for a machine. When the
asset is acquired, its life is estimated in terms of this level of activity.
Solved example:
A vehicle is estimated to go 150,000 Km in its useful lifetime. Its cost is $17,000.
Its scrap value is $2,000. Find its depreciation rate. Find the depreciation value
of the second year if the usage during that year was 2,500 Km.
= $𝟐𝟓𝟎
IO –Lecture Notes
Page 42
Introduction to Industrial Organization Course
4th year Mechanical Power
A famous example is the data show projector. The projector lamp has a specific
lifetime (for example 2000 hours of operation). Therefore, its depreciation rate can
be related to the operating time.
𝑪𝒐𝒔𝒕 𝒐𝒇 𝒇𝒊𝒙𝒆𝒅 𝒂𝒔𝒔𝒆𝒕 − 𝒔𝒄𝒓𝒂𝒑 𝒗𝒂𝒍𝒖𝒆
𝑷𝒆𝒓 𝒕𝒊𝒎𝒆 𝒅𝒆𝒑𝒓𝒆𝒄𝒊𝒂𝒕𝒊𝒐𝒏 𝒓𝒂𝒕𝒆 =
𝑬𝒔𝒕𝒊𝒎𝒂𝒕𝒆𝒅 𝒕𝒐𝒕𝒂𝒍 𝒐𝒑𝒆𝒓𝒂𝒕𝒊𝒏𝒈 𝒕𝒊𝒎𝒆
Solved example:
A training office bought a new projector for EGP 6000. The lifetime of its lamp
is guaranteed for 2500 hours of operation. Its scrap value then is EGP 300. A
“Matlab basics” course is to be trained using this projector. The Matlab course
needs three days of three hours each. Find the deprivation value of the projector
during the Matlab course.
𝟔𝟎𝟎𝟎 − 𝟑𝟎𝟎 𝟐. 𝟐𝟖 𝑳. 𝑬.
𝑫𝒆𝒑𝒓𝒆𝒄𝒊𝒂𝒕𝒊𝒐𝒏 𝒓𝒂𝒕𝒆 = = ⁄𝒉𝒐𝒖𝒓
𝟐𝟓𝟎𝟎
The course requires 9 operating hours.
∴ 𝑫𝒆𝒑𝒓𝒆𝒄𝒊𝒂𝒕𝒊𝒐𝒏 𝒗𝒂𝒍𝒖𝒆 = 𝟐. 𝟐𝟖 × 𝟗 = 𝑬𝑮𝑷 𝟐𝟎. 𝟓𝟐
IO –Lecture Notes
Page 43
Introduction to Industrial Organization Course
4th year Mechanical Power
It is possible to find a rate that would allow for full depreciation by its end of life
with the formula:
𝑵 𝑹𝒆𝒔𝒊𝒅𝒖𝒂𝒍 𝒗𝒂𝒍𝒖𝒆
𝑫𝒆𝒑𝒓𝒆𝒄𝒊𝒂𝒕𝒊𝒐𝒏 𝒓𝒂𝒕𝒆 = 𝟏 − √
𝑪𝒐𝒔𝒕 𝒐𝒇 𝒇𝒊𝒙𝒆𝒅 𝒂𝒔𝒔𝒆𝒕
Solved example:
A business has an asset with $1,000 original cost, $100 salvage value, and 5
years useful life. Find the depreciated value each year using the double-
declining-balance method.
180
The straight-line depreciation rate over the 5 years is = 20% per year.
900
For the double-declining-balance method, as the name suggests, double that rate,
or 40 % depreciation rate is used.
IO –Lecture Notes
Page 44
Introduction to Industrial Organization Course
4th year Mechanical Power
1,000
1 40% 400 600
(Original cost)
2 600 40% 240 360
3 360 40% 144 216
4 216 40% 86.4 129.6
100
5 129.6 ----- 29.6
(Scrap value)
Sum-of-years' digits method
Sum-of-years' digits is a depreciation method that results in a more accelerated
write-off than straight line, but less than declining-balance method. Under this
method annual depreciation is determined by multiplying the Depreciable Cost by
a schedule of fractions.
The formulae used in the calculation of the sum of years’ digits method are:
(N2 + N)
𝑆𝑢𝑚 𝑜𝑓 𝑦𝑒𝑎𝑟𝑠 = 1 + 2 + 3 + ⋯ (𝑁 − 2) + (𝑁 − 1) + 𝑁 =
2
Solved Example:
If an asset has original cost of $1000, a useful life of 5 years and a salvage value
of $100, compute its depreciation schedule using the sum of years’ method.
Book value at
Depreciation Depreciation Book value at
Yr beginning of
rate expense ($) end of year (n)
year
$1,000
1 5/15 (900 * 5/15) = 300 $700
(Original cost)
IO –Lecture Notes
Page 45
Introduction to Industrial Organization Course
4th year Mechanical Power
Scrap Depreciation
Asset Cost Life
value per year
Laptops $20,500 $500 5
Desktops $15,200 $1000 5
Photocopiers $10,000 $200 5
Smart board $20,000 $2,000 5
Group $65,900 $3,700 5 $12,440
IO –Lecture Notes
Page 46
Introduction to Industrial Organization Course
4th year Mechanical Power
Composite life equals the total depreciable cost divided by the total depreciation
per year. $5,900 / $1,300 = 4.5 years.
Depreciation expense equals the composite depreciation rate times the balance in
the asset account (historical cost). (0.20 * $6,500) = $1,300. Debit depreciation
expense and credit accumulated depreciation.
When an asset is sold, debit cash for the amount received and credit the asset
account for its original cost. Debit the difference between the two to accumulated
depreciation. Under the composite method no gain or loss is recognized on the sale
of an asset. Theoretically, this makes sense because the gains and losses from
assets sold before and after the composite life will average themselves out.
IO –Lecture Notes
Page 47
Introduction to Industrial Organization Course
4th year Mechanical Power
Linear Programming
Definition:
Linear programming is a class of mathematical programming models concerned with
the efficient allocation of limited resources to known activities with the objective of
meeting a desired goal (such as maximizing profit or minimizing cost). The distinct
characteristic of linear programming models is that the functions representing the
objective and the constraints are linear.
Problem formulation:
Objective function:
x1 , x2 , x3 , xm 0
Problems can be solved graphically or using the simplex tables depending on the
complexity of the problem.
Solved example 1:
Students at our faculty prefer eating healthy food. During break times, the
available fruits at the cafeteria are oranges and bananas. A kilogram of oranges costs
L.E. 3, and a kilogram of bananas costs L.E. 2. They constitute the following:
IO –Lecture Notes
Page 48
Introduction to Industrial Organization Course
4th year Mechanical Power
If the daily requirements of these supplements for an adult human being are:
Find the amounts (in kilograms) of oranges and bananas that satisfy the daily
requirements and minimize the cost.
Assuming:
For iron 2 x1 + 0 x2 2
IO –Lecture Notes
Page 49
Introduction to Industrial Organization Course
4th year Mechanical Power
Decision variables:
𝑥1 + 2𝑥2 ≥ 6
𝑥1 ≤9
𝑥1 + 9𝑥2 ≤ 54
𝑥1 , 𝑥2 ≥0
Graphically:
12
10 Objective
8 Const1
6 Const2
4 Const3
2 Const4
Const5
0
0 2 4 6 8 10 12
From the graph, the minimum cost occurs at the intersection of constraints 1 & 2.
x1 = 1 kg , x2 = 2.5 kg
x0 = 8L.E.
IO –Lecture Notes
Page 50
Introduction to Industrial Organization Course
4th year Mechanical Power
Solved example 2:
A furniture company produces three types of desks. Each desk requires two
resources: labor and material. The following data were collected:
Decision variables:
4x1+4x2+5x3 ≤ 200
x1 , x2 , x 3 ≥ 0
IO –Lecture Notes
Page 51
Introduction to Industrial Organization Course
4th year Mechanical Power
Solved example 3:
A company has two grades of inspectors; “1” and “2”, who are to be assigned for a
quality control inspection. The company requires that at least 1800 pcs/ 8hrs are
inspected daily.
Grade 1 inspectors can check pieces at the rate of 25 pcs/ hr with an accuracy of
98%. Grade 2 inspectors can check at the rate of 15 pcs/ hr with an accuracy of
95%.
The average cost rate of grade 1 inspectors is L.E.4/hr, while that of grade 2 is
L.E.3/hr.
Each time an error is made by an inspector costs the company L.E. 2. The available
inspectors at the company are 8- grade 1 inspectors, and 10- grade 2 inspectors.
The company wants to determine the optimal assignment of inspectors which will
minimize the total cost of inspection.
Decision variables:
IO –Lecture Notes
Page 52
Introduction to Industrial Organization Course
4th year Mechanical Power
Wages= 4 × 8 𝑥1
+3 × 8 𝑥2
Subject to:
---------------------------
IO –Lecture Notes
Page 53
Introduction to Industrial Organization Course
4th year Mechanical Power
GIVEN DATA J1 J2
Contribution ($) 6 5
A1 (40 hrs) 4 3
A2 (30 hrs) 4 5
The linear programming model is:
6
4
2
0
0 2 4 6 8 10 12
X1
𝑥1 = 7.5 𝑢𝑛𝑖𝑡𝑠 𝑜𝑓 𝐽1 , 𝑥2 = 0 𝑢𝑛𝑖𝑡𝑠 𝑜𝑓 𝐽2 , 𝑍 = $45
IO –Lecture Notes
Page 54
Introduction to Industrial Organization Course
4th year Mechanical Power
Solved example 2:
Find the solution of the following linear programming model graphically:
Plot all the constraints on the graph, as well as the slope of the objective function.
X2 8
0
-2 0 2 4 6 8
-1
X1
-2
IO –Lecture Notes
Page 55
Introduction to Industrial Organization Course
4th year Mechanical Power
Transportation
Definition:
The transportation problem is concerned with shipping a commodity between a set
of sources (e.g. manufacturers) and a set of destinations (e.g. retailers).
IO –Lecture Notes
Page 56
Introduction to Industrial Organization Course
4th year Mechanical Power
with m source nodes, n destination nodes, and a set of m × n “directed arcs.” This
is depicted in the following figure.
Source Destinations
s
a 1 1 b
2 b
a 2
3 b
a 3 4 b
i
j
The Decision Variables
A transportation scheme is a complete specification of how many units of the
product should be shipped from each warehouse to each outlet. Therefore, the
decision variables are:
where i = 1, 2, . . ., m and j = 1, 2, . . ., n.
Minimize 𝑚 𝑛
𝑍 = ∑ ∑ 𝑐𝑖𝑗 ∙ 𝑥𝑖𝑗
𝑖=1 𝑗=1
IO –Lecture Notes
Page 57
Introduction to Industrial Organization Course
4th year Mechanical Power
The Constraints
Consider warehouse i. The total outgoing shipment from this warehouse is the sum
xi1 + xi2 + · · · + xin. In summation notation, this is written as∑𝑛𝑗=1 𝑥𝑖𝑗 . Since the
total supply from warehouse i is ai , the total outgoing shipment cannot exceed ai .
That is, we must require
𝑛
∑ 𝑥𝑖𝑗 = 𝑎𝑖 ∀𝑖
𝑗=1
Consider outlet j. The total incoming shipment at this outlet is the sum of
∑ 𝑥𝑖𝑗 = 𝑏𝑗 ∀𝑗
𝑖=1
This results in a set of m + n functional constraints. Of course, as physical
shipments, the xij ’s should be nonnegative.
LP Formulation
In summary, we have arrived at the following formulation:
Minimize:
𝑚 𝑛
𝑍 = ∑ ∑ 𝑐𝑖𝑗 ∙ 𝑥𝑖𝑗
𝑖=1 𝑗=1
Subject to:
𝑛
∑ 𝑥𝑖𝑗 = 𝑎𝑖 ∀𝑖
𝑗=1
𝑚
∑ 𝑥𝑖𝑗 = 𝑏𝑗 ∀𝑗
𝑖=1
𝑥𝑖𝑗 ≥ 0 ∀ 𝑖, 𝑗
IO –Lecture Notes
Page 58
Introduction to Industrial Organization Course
4th year Mechanical Power
D1 D2 D3 D4
S1 10 0 20 11 15
S2 12 7 9 20 25
S3 0 14 16 18 5
5 15 15 10
IO –Lecture Notes
Page 59
Introduction to Industrial Organization Course
4th year Mechanical Power
The given data is re-filled in a table that shows all the data while giving space for
filling the transported quantities. This is shown in Table (1). Assume that the unit
cost in this problem is EGP.
Table (1)
Destination
Supply
1 2 3 4
10 0 20 11
1 15
Source
12 7 9 20
2 25
0 14 16 18
3 5
Demand 5 15 15 10 45
IO –Lecture Notes
Page 60
Introduction to Industrial Organization Course
4th year Mechanical Power
Table (2)
Destination
Supply
1 2 3 4
10 0 20 11
1 15
5 10
Source
12 7 9 20
2 25
5 15 5
0 14 16 18
3 5
5
Demand 5 15 15 10 45
12 7 9 20
2 25
__ __ 15 10
0 14 16 18
3 5
5 __ __ __
Demand 5 15 15 10 45
IO –Lecture Notes
Page 61
Introduction to Industrial Organization Course
4th year Mechanical Power
1. Evaluate a penalty for each row and each column (Lowest cost – next lowest
cost)
2. Choose the row/ column of highest penalty and allocate as much as possible
in the least cost of this row/column.
3. Eliminate the row/column.
4. Repeat and build new penalties for the remaining rows and columns.
Table (4)
Destination
Supply Penalty
1 2 3 4
10 0 20 11 10
1 15
__
Source
12 7 9 20 2
2 25
__
0 14 16 18 14
3 5
5
Demand 5 15 15 10 45
Penalty 10 7 7 7
Table (4). Highest penalty is 14 (in row 3 for S3). Allocate as much quantities as
possible in the least cost of S3 (from S3 to D1). Remove column1. BUT remove
costs from row 3. They are not assignable any more.
IO –Lecture Notes
Page 62
Introduction to Industrial Organization Course
4th year Mechanical Power
Table (5)
Destination Supply Penalty
2 3 4
0 20 11
1 15 11
Source
7 9 20
2 25 2
15
3 0 --
Demand 15 15 10 45
Penalty 7 11 9
Table (5). The highest penalty has a value of 11. It appears twice. Choose arbitrary
between the penalties of Source1, and Destination3. Choosing Destination3,
allocate as much quantities as possible in the least cost of D3 (from S2 to D3).
Remove column of D3. (Try removing row 1).
Table (6)
7 20
2 10 13
10
3 0 --
Demand 15 10 35
Penalty 7 9
Table (6). Highest penalty is 13of S2. Allocate quantities from S2 to D2. Remove
row of S2.
IO –Lecture Notes
Page 63
Introduction to Industrial Organization Course
4th year Mechanical Power
Table (7)
5 10
3 0 --
Demand 5 10 15
Penalty -- --
Table (7). Highest penalty occurs at S1. Allocate quantities from S1 to D2.
Remove column of D2 as its demand is satisfied.
Table (8)
Destination Supply
4
11
1 10
Supply
10
3 0
0
Demand 10 10
Table (8). The only remaining quantities go from S1 to D4. Solution ends.
If we collect all the variables obtained from all the previous tables in one table,
table (9) is obtained.
IO –Lecture Notes
Page 64
Introduction to Industrial Organization Course
4th year Mechanical Power
Table (9)
Destination
Supply
1 2 3 4
10 0 20 11
1 15
5 10
Source
12 7 9 20
2 25
10 15
0 14 16 18
3 5
5 0
Demand 5 15 15 10 45
(This is the optimal solution. When choosing row 1 instead of column 3 in Table
(5), cost = EGP 335)
IO –Lecture Notes
Page 65
Introduction to Industrial Organization Course
4th year Mechanical Power
Table (10)
D1 D2 D3 D4
10 0 20 11
S1
5 10
12 7 9 20
S2
5 15 5
0 14 16 18
S3
5
The solution is improved by steps. In each step, there is an entering variable, and a
leaving variable.
There are two methods for improving the current solution. Both will be explained.
Table (11) shows the examination of the non-basic variable from S2 to D1. The
dotted line represents the loop along the surrounding basic variables. A step in the
loop must be either vertical or horizontal. Diagonal steps are not allowed. The
IO –Lecture Notes
Page 66
Introduction to Industrial Organization Course
4th year Mechanical Power
vertical step should be followed by a horizontal step, and vice versa. Two
successive horizontal (or vertical) steps are not allowed.
Adding one unit to the cell of S2-D1 requires removing one unit from S1-D1 in
order to keep the demand of D1 unchanged. Similarly, we need to add one unit to
S1-D2 in order to keep the capacity of S1 unchanged. Consequently, we need to
remove one unit from S2-D2 in order to keep the demand of D2 unchanged.
Returning back to S2-D1 closes the loop.
Table (11)
D1 D2 D3 D4
S1 - 10 + 0 20 11
5 10
S2
+ 12 - 7 9 20
5 15 5
0 14 16 18
S3
5
This move of one unit causes the cost to increase twice, and decrease twice. The
net change in cost can be calculated as follows:
Table (12). The move of one unit in the loop of S2-D1 causes a decrease in the cost
by EGP 5. Hence, this cell will be denoted by (-5). Similarly, all the non-basic
variables cells are examined, and their effect is registered in the table. If a cell
causes an increase in the cost, there is no need to have the exact value of the
increase. It is enough to denote the cell by (+ve). This means that this cell will
cause an increase in the cost, and not a decrease.
IO –Lecture Notes
Page 67
Introduction to Industrial Organization Course
4th year Mechanical Power
Table (12)
D1 D2 D3 D4
10 0 +18 20 -2 11
S1
5 10
-5 12 7 9 20
S2
5 15 5
-15 0 +9 14 +9 16 18
S3
5
This indicates that the best improvement is moving units in the cell of S3-D1. Each
unit will decrease the cost by 15 units. The maximum units that can be moved is 5
units. The loop of increasing and decreasing units can be summarized as:
Notice that in the previous table, only one non-basic variable becomes basic, and
only one basic variable becomes non-basic. Cells S1-D1, and S2-D2 should be
filled by zeros in order to keep the total number of basic variables the same.
Table (13) shows the quantities transported after making that movement of the 5
units around the loop. Mind that
IO –Lecture Notes
Page 68
Introduction to Industrial Organization Course
4th year Mechanical Power
Table (13)
D1 D2 D3 D4
10 0 20 11
S1
0 15
12 7 9 20
S2
0 15 10
0 14 16 18
S3
5
Table (14) is the same as Table (13) after making the calculations of ΔCost for
each cell of the non-basic variables.
Table (14)
D1 D2 D3 D4
10 0 +ve 20 -2 11
S1
0 15
-5 12 7 9 20
S2
0 15 10
0 +ve 14 +ve 16 +ve 18
S3
5
Table (14) indicates that quantities should now be added to cell S2-D1 because of
its high negative value according to the following:
Theoretically, values will stay the same. The only change is in the basic, and non-
basic variables.
Table (15) shows the new transported quantities, and the calculations of ΔCost for
each cell of the non-basic variables.
IO –Lecture Notes
Page 69
Introduction to Industrial Organization Course
4th year Mechanical Power
Table (15)
D1 D2 D3 D4
+ve 10 0 +ve 20 -2 11
S1
15
12 7 9 20
S2
0 0 15 10
0 +ve 14 +ve 16 +ve 18
S3
5
The values of (Δ Cost) indicate that quantities should now be added to cell S1-D4
because of its negative value according to the following:
Table (16) shows the updated values of the quantities transported. All the Δ cost
values are positive which indicates that there is no more improvement, and an
optimum solution is reached.
Notice that the optimum solution reached after three steps of improvement is the
same solution that was reached from the first time using Vogel’s method. In this
case the total transportation cost is EGP 315.
Table (16)
D1 D2 D3 D4
+ve 10 0 +ve 20 11
S1
5 10
12 7 9 +ve 20
S2
0 10 15
0 +ve 14 +ve 16 +ve 18
S3
5
IO –Lecture Notes
Page 70
Introduction to Industrial Organization Course
4th year Mechanical Power
U-V method:
The U-V method will be used to improve the start solution obtained by the north-
west corner method. U values will be assigned to the rows, while V values will be
assigned to the columns. Start by assuming u1 = 0, then calculate the rest u and v
using the rule:
cij = ui + v j , for all the cells with basic variables.
Table (17)
v1 = 10 v2 = 0 v3 = 2 v4 = 13
10 0 20 11
u1 = 0
5 10
12 7 9 20
u2 = 7
5 15 5
0 14 16 18
u3 = 5
5
After calculating all the U and V values, calculate the change in cost (𝑐̅) for all the
empty cells (non-basic variables) using the equation:
cij = cij − ui − v j
The 𝑐̅ values are given in the following table:
Table (18)
IO –Lecture Notes
Page 71
Introduction to Industrial Organization Course
4th year Mechanical Power
v1 = 10 v2 = 0 v3 = 2 v4 = 13
10 0 +18 20 -2 11
u1 = 0
5 10
-5 12 7 9 20
u2 = 7
5 15 5
-15 0 +2 14 +9 16 18
u3 = 5
5
Transport units (as much as possible) through the cell whose 𝑐̅ is of highest
negative value; from Supplier 3 to Destination 1.
Table (19): transported quantities are decided according to the stepping stone
method. Choose a suitable path for removing and adding units to keep the
constraints satisfied. The path is illustrated in the table. The (+) and (-) signs show
the cells where the units will be added (+), and where the units will be removed (-).
Table (19)
v1 = 10 v2 = 0 v3 = 2 v4 = 13
10 0 +18 20 -2 11
u1 = 0
- 5 + 10
-5 12 7 9 20
u2 = 7 15
- 5 + 5
-15 0 +2 14 +9 16 18
u3 = 5
+ - 5
The cells with -ve values are the cells from which units will be removed. The
maximum possible quantity to be removed is 5. Add and remove 5 units from the
cells with +ve and –ve signs. The following table is obtained.
Then, the new U and V values are calculated. The new 𝑐̅ values are calculated as
shown in table (20).
IO –Lecture Notes
Page 72
Introduction to Industrial Organization Course
4th year Mechanical Power
Table (20)
v1 = 10 v2 = 0 v3 = 2 v4 = 13
10 0 +18 20 -2 11
u1 = 0
- 0 + 15
-5 12 7 9 20
u2 = 7 + - 0 15 10
0 +24 14 +24 16 +15 18
u3 = -10
5
A new table (21) is established to show the transportation of the 0 units, and the
calculation of the new U and V.
Table (21)
v1 = 5 v2 = 0 v3 = 2 v4 = 13
+5 10 0 +18 20 -2 11
u1 = 0
- 15 +
-5 12 7 9 20
u2 = 7
0 + 0 15 - 10
0 +19 14 +19 16 +10 18
u3 = -5
5
IO –Lecture Notes
Page 73
Introduction to Industrial Organization Course
4th year Mechanical Power
From table (21), the cell with the highest negative 𝑐̅ value is from Supplier1 to
Destnation4. By drawing the suitable path, and writing the (+) and (-) signs, the
maximum amount to be transported through this cell is 10.
Table (22) shows the transportation of 10 units and the calculation of the new U
and V values. The new 𝑐̅ values are also calculated.
Table (22)
v1 = 5 v2 = 0 v3 = 2 v4 = 11
+5 10 0 +18 20 11
u1 = 0
5 10
-5 12 7 9 +2 20
u2 = 7
0 10 15
There are no negative values for 𝑐̅, which means that the optimal solution is reached.
IO –Lecture Notes
Page 74
Introduction to Industrial Organization Course
4th year Mechanical Power
1 2 3 4
1 1 4 6 3 15
2 9 7 10 9 25
3 4 5 11 7 15
5 15 15 10
Sum (supplies) = 55 units. Sum (Demand) = 45 units
Add a dummy destination to increase the Sum of Demand to 55. The demand of the
dummy destination is 10 units. (55-45 = 10 units).
The costs of transportation associated with the dummy destination are zeros.
1 2 3 4 D
1 1 4 6 3 0 15
2 9 7 10 9 0 25
3 4 5 11 7 0 15
5 15 15 10 10
Destination
Supply
1 2 3 4 D
10 0 20 11 0
1 15
5 10
Source
12 7 9 20 0
2 25
5 15 5
0 14 16 18 0
3 15
5
Demand 5 15 15 10 10 55
IO –Lecture Notes
Page 75
Introduction to Industrial Organization Course
4th year Mechanical Power
Prohibited routes
Sometimes one or more of the routes in the transportation problem are prohibited
(units cannot be transported from a certain source to a certain destination). In order
to ensure that no units will be transported from this source to this destination, the
prohibited route is assigned a Big M value.
In the following table, the route between S2 and D4 is temporarily closed. The
route is assigned a big M cost.
Destination
Supply
1 2 3 4
10 0 20 11
1 15
Source
12 7 9 M
2 25
0 14 16 18
3 5
Demand 5 15 15 10 45
In this case, the least cost method is replaced by the maximum profit.
In Vogel’s method, the penalty is calculated as the difference between the highest
two profits. Quantities are transported for the maximum profit cells.
In the improvement method, the cells of the highest positive values of 𝑐̅ have
priority.
IO –Lecture Notes
Page 76
Introduction to Industrial Organization Course
4th year Mechanical Power
Scheduling
Definition:
It is determining the order in which jobs at a work center will be processed.
Priority rules
• First Come First Served (FCFS) / First In First Out (FIFO)
• Rush
Performance measures
• Job Flow time: It is the length of time the job spends in a work station
(including waiting)
• Job tardiness: It is the length of time the job completion date exceeds its due
date.
IO –Lecture Notes
Page 77
Introduction to Industrial Organization Course
4th year Mechanical Power
• Makespan: It is the total time to complete a group of jobs; from the start of
the first job, till the end of the last job.
Solved example:
In a workshop, six jobs are to be processed on one Work Centre. Determine the
sequence and the performance measures (Average flow time, Average tardiness,
Makespan, Average number of jobs) for the different priority rules (FCFS, SPT,
EDD)
Due
Arrival Processing
Job date
order time (days)
(days)
A 1 2 7
B 2 8 16
C 3 4 4
D 4 10 17
E 5 5 15
F 6 12 18
FCFS
Sequence:
IO –Lecture Notes
Page 78
Introduction to Industrial Organization Course
4th year Mechanical Power
SPT
Sequence:
EDD
Sequence:
IO –Lecture Notes
Page 79
Introduction to Industrial Organization Course
4th year Mechanical Power
Solved example:
For six jobs to be processed on a two-machine flow shop, find the sequence that
minimizes the total completion time of all jobs.
Processing time (hrs)
Job
Work centre 1 Work centre 2
A 5 5
B 4 3
C 8 9
D 2 7
E 6 8
F 12 15
Sequence: D-E-C-F-A-B
10 20 30 40 50
C1
C2
Makespan =
IO –Lecture Notes
Page 80
Introduction to Industrial Organization Course
4th year Mechanical Power
Solved example
- Given the roads of the city, go from (A) to (H) by the shortest route. Determine
the path and its distance.
B 5 G
E
5 4 10
A 1 C 9 6
3
9
7 2
3 F 8 H
D
Sink
Solving steps:
Step L (0):
Step L (1):
• Calculate the new distances from the temporary label (as explained in the
last table).
• Temporary label is permanent.
• Choose a new node to have the temporary label at L (2).
IO –Lecture Notes
Page 81
Introduction to Industrial Organization Course
4th year Mechanical Power
Repeat the previous steps till all the nodes are labeled as permanent nodes.
A B C D E F G H
L(0)= [0, 5, 1, 7, ∞, ∞, ∞, ∞]
* .
Follows is the table of comparing distances. L (1) will be explained. Its table goes
as follows:
• The first column is the starting node. This is the node with the temporary
label in L (0). “Node C”
• The second column is the list of the nodes that have no labels in L (0).
Nodes “B, D, E, F, G, H”
• The third column lists the current values of the distances as in L (0).
• The fourth column calculates the new distance to each node when reached
through the current temporary node (C). This is the addition of the value of
IO –Lecture Notes
Page 82
Introduction to Industrial Organization Course
4th year Mechanical Power
the current temporary node (1) and the distance between it and the required
node.
• When comparing the Current and New distances, choose the minimum value
of both and record in the new trial of L (1).
L(1) L(3)
From To Current New From To Current New
C B 5 1+4 B E 11 5+∞
C D 7 1+2 B F 6 5+∞
C E ∞ 1+10 B G ∞ 5+∞
C F ∞ 1+9 B H ∞ 5+∞
C G ∞ 1+∞
C H ∞ 1+∞ L (4)
F E 11 6+3
L(2) F G ∞ 6+9
D B 5 3+∞ F H ∞ 6+8
D E 11 3+∞
D F 10 3+3 L(5)
D G ∞ 3+∞ E G 15 9+5
D H ∞ 3+∞ E H 14 9+∞
L(6)
G H 14 14+6
The shortest path is 14 units length. This is the last value obtained in L (6).
The shortest path is detected first in a reverse order.
• The last node is the sink node (H). Its value is 14. The first appearance of the
“14” was in L (4). That was because node (F) was temporary in L (3).
Therefore, node (F) becomes before the sink node (H).
• For node (F) with value “6”, the first appearance of “6” was in L (2). That
was because (D) was temporary in L (1). Therefore, node (D) becomes
before node (F).
IO –Lecture Notes
Page 83
Introduction to Industrial Organization Course
4th year Mechanical Power
• For node (D) of value of value “3”, the first appearance of “3” was in L (1).
That was because (C) was temporary in L (0). Therefore, node C becomes
before node (D).
• For node (C) of value of value “1”, the first appearance of “1” was in L (0).
Therefore, the source node (A) comes before node (C).
IO –Lecture Notes
Page 84