Professional Documents
Culture Documents
(DYNAMIC PROGRAMMING)
Dr Maaz Akhtar
Associate Professor
MED, NED UET
Outline
• In some construction projects, hiring and
firing are exercised to maintain a labor
force that meets the needs of the project.
• Given that the activities of hiring and firing both
incur additional costs, how should the labor
force be maintained throughout the life of the
project?
• Let us assume that the project will be executed
over the span of n weeks and that the minimum
labor force required in week i is bi laborers.
• Theoretically, we can use hiring and firing to keep
the work-force in week i exactly equal to bi.
• Alternatively, it may be more economical to
maintain a labor force larger than the minimum
requirements through new hiring. This is the case
we will consider here.
• Given that xi is the actual number of laborers
employed in week i, two costs can be incurred in
week i: C1(xi - bi), the cost of maintaining an
excess labor force xi - bi, and C2 (xi - xi-1, the cost
of hiring additional laborers, xi - xi-1.
• It is assumed that no additional cost is incurred
when employment is discontinued.
Workforce size method
The elements of the DP model are defined as
follows:
5, 7, 8, 4, 6
0 5 7 8 4 6
6 8 5
7 6
8
Solution: Example-1
The data of the problem are summarized as
5, 7, 8, 4, 6
0 5 7 8 4 6
6 8 5
7 6
8
5, 7, 8, 4, 6
0 5 7 8 4 6
6 8 5
7 6
8
Example-2: