Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

Süleyman Demirel Üniversitesi Süleyman Demirel University

Fen Bilimleri Enstitüsü Dergisi Journal of Natural and Applied Sciences


Cilt 22, Sayı 2, 615-627, 2018 Volume 22, Issue 2, 615-627, 2018

DOI: 10.19113/sdufbed.35437

Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks


Using Genetic Algorithms
M. Hanefi CALP*1, M. Ali AKCAYOL2
1Karadeniz Technical University, OF Technology Faculty, Software Engineering, Trabzon, Turkey
2Gazi University, Engineering Faculty, Computer Engineering, Ankara, Turkey

(Alınış / Received: 12.02.2018, Kabul / Accepted: 27.06.2018, Online Yayınlanma / Published Online: 06.07.2018)

Keywords Abstract: Projects consist of interconnected dimensions such as objective, time,


Project management, resource and environment. Use of these dimensions in a controlled way and their
CPM, effective scheduling brings the project success. Project scheduling process includes
PERT,
defining project activities, and estimation of time and resources to be used for the
Project scheduling,
Genetic algorithm,
activities. At this point, the project resource-scheduling problems have begun to
Optimization attract more attention after Program Evaluation and Review Technique (PERT)
and Critical Path Method (CPM) are developed one after the other. However,
complexity and difficulty of CPM and PERT processes led to the use of these
techniques through artificial intelligence methods such as Genetic Algorithm (GA).
In this study, an algorithm was proposed and developed, which determines critical
path, critical activities and project completion duration by using GA, instead of
CPM and PERT techniques used for network analysis within the scope of project
management. The purpose of using GA was that these algorithms are an effective
method for solution of complex optimization problems. Therefore, correct
decisions can be made for implemented project activities by using obtained results.
Thus, optimum results were obtained in a shorter time than the CPM and PERT
techniques by using the model based on the dynamic algorithm. It is expected that
this study will contribute to the performance field (time, speed, low error etc.) of
other studies.

Dinamik CPM ve PERT Ağlarında Genetik Algoritmalar Kullanarak Proje Çizelgeleme


Aktivitelerinin Optimizasyonu

Anahtar Kelimeler Özet: Projeler; amaç, zaman, kaynak ve çevre olmak üzere birbirleriyle ilişkili
Proje yönetimi birtakım boyutlardan oluşmaktadır. Bu boyutların kontrollü kullanılması ve etkin
CPM, planlanması proje başarısını getirmektedir. Proje planlama süreci, proje
PERT,
faaliyetlerinin tanımlanması ve projedeki faaliyetler için zaman ve kaynak tahmini
Proje çizelgeleme,
Genetik algoritma,
yapılması süreçlerini kapsar. Bu noktada, proje kaynak planlama problemleri,
Optimizasyon Program Değerlendirme ve Gözden Geçirme Tekniği (PERT) ve Kritik Yol Metodu
(CPM) birbiri ardına geliştirildikten sonra daha fazla dikkat çekmiştir. Bununla
birlikte, CPM ve PERT işlemlerinin karmaşıklığı ve zorluğu, bu teknikleri Genetik
Algoritma (GA) gibi yapay zeka yöntemleri ile kullanmaya itmiştir. Bu çalışmada,
proje yönetimi kapsamında şebeke analizi için kullanılan CPM ve PERT
tekniklerinin yerine, GA kullanılarak kritik yol, kritik faaliyet ve proje tamamlanma
süresini belirleyen bir algoritma önerilmiş ve geliştirilmiştir. GA kullanılmasının
amacı, bu algoritmaların karmaşık optimizasyon problemlerin çözümünde etkili
bir yöntem olmasıdır. Böylece, elde edilen sonuçlar kullanılarak gerçekleştirilecek
proje faaliyetleriyle ilgili doğru kararlar alınabilmektedir. Nitekim, geliştirilen
dinamik algoritma ile CPM ve PERT tekniklerinden daha kısa sürede optimum
sonuçlara ulaşılmıştır. Çalışmanın diğer çalışmaların performans alanına (zaman,
hız, düşük hata vb.) katkı sağlaması beklenmektedir.

*Corresponding author: mhcalp@ktu.edu.tr

615
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

1. Introduction At this point, GAs from evolutionary approaches have


begun to take an important place. GAs overcome from
It is necessary to manage the sources properly in above disadvantages since they are genetically
today where time is important and sources are powerful. GAs are a search and optimization method
limited. In the opposite case, undesired consequences based on natural selection principals. There are
may be encountered. Evaluation and use of these successful applications of GAs in fields such as
resources optimally can be possible by planning function optimization, scheduling, mechanical
process from the beginning to the end of the project. learning, design, and cellular production. Generally,
This situation reveals the concept of project there are four main steps in optimization procedure
management. Project management is described in of the GAs: selection, crossing, mutation and
literature as follows: "planning and controlling of evaluation. GA optimization procedure performs an
process in order to make project arrive desired iterative selection strategy, applies crossing and
targets in a best ways and in an effective manner" [1], mutation, and then evaluates suitability of
"planning, programming (scheduling) and controlling chromosomes. In this procedure, population includes
of project activities to achieve project targets" [2], good solutions and at the end, it supplies the best
"planning, organizing, executing and controlling of optimal solution [9-12].
common activities of financial and human resources
used in order to achieve a certain desired result" [3]. In this section, CPM and PERT methods that are the
The main aim of project management is to complete a subject of study are briefly explained before going
project in the planned period with the minimum cost into details of the study.
and at the wanted quality level [4].
1.1. Critical path method
As it is seen from the above-mentioned definitions of
the project management, planning and controlling of
projects to be carried out are significant effecting In CPM method, fixed and defined processing times
elements for success of the project. Network analysis are accepted. This method also seems necessary
is one of the most widespread methods in the identification of the missing elements of the network,
planning and controlling of the project. Sources of and project completion duration, critical activities
complex projects can be managed more effectively by and critical path of the network when differences are
analyzing with networks that are modal illustrations ignored [5, 13]. Critical path is a path that has the
of a series of events and activities. Network means longest total activity period that supplies project to
schedule that occurs from needed activities and be completed in the shortest time between starting
events to achieve the aim of the program, and shows and ending point on the project network. The
connections and relations between activities and importance of critical path is that this length
events for planning requirement. In this study, GA determines the completion duration of the project,
was applied for the project analyzing on the networks and a delay in the activities that constitute the critical
instead of PERT or CPM methods. PERT and CPM path retard the project in the same amount. For this
have been developed to help planning, shape and reason, this path is critical path, and activities that
controlling of large scaled complex projects. The make up this path are also called critical activities.
networks are usually large and detailed so this
situation forces to use a computer program to find 1.2. Program evaluation and review technique
project completion period by applying these models
[5, 6]. PERT method is established on probability estimation
of operation times and completion duration of the
For this reason, today’s complex and hard conditions project [5, 14]. The most important difference
lead to find new methods for rapid and easy between CPM and PERT is estimation of operation
solutions. It is possible to group these methods as time. PERT was designed for projects in which
analytical or heuristic models that used to solve the durations are unclear such as research and
problems in the complex and hard conditions. development projects. CPM and PERT are calculated
However, successful results couldn’t be obtained with the same method. The only difference is that
using analytical models since analytical models are PERT makes three predictions for each activity as
not effective to solve difficult or complex problems. seen in the Fig. 1. Here, a represents optimistic time
Heuristic or evolutionary models are more effective (if all goes well), b represents pessimistic time (if all
in this regard, as they are problem-dependent. goes wrong), and m represents approximate time
Especially, use of easy computing and evolutionary (under normal conditions).
algorithms instead of difficult optimization
techniques have come into prominence [7].
Evolutionary algorithms are very effective to resolve
search and optimization problems. It seem that
utilizing evolutionary algorithms is a highly effective
way of finding various effective solutions in the Figure 1. The displaying of the duration estimates for PERT
realized studies [8]. Networks
616
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

The probability of occurrence of each activity within Yakhchali suggested path-sorting algorithm for
the estimated time is determined as a result of analysis of critical activities on CPM/PERT networks.
mathematical and statistical calculations done using In this study, it was intended to find the most suitable
these time estimates. The expected duration of critical activities and paths by using fuzzy activity
activity (mean time) is calculated by the formula in time values. In addition, an effective algorithm that
Eq. 1. based on a path enumeration technique was
suggested to calculate the probability criticality
T= (a+4m+b) / 6 (1) degrees of activities. Performance of the algorithm
was evaluated by using real project networks [19].
After durations of activity reduces to single time by
using formulas, Ei and Li values of each node are Pan et al. realized a study on planning project
calculated from the first node to the last node. The optimization by using Tabu Search Algorithm. In this
nodes that have same E and L values give the critical study, results of developed algorithm and other
path, the activities that are performed in this path artificial intelligence techniques were compared, and
give critical activities, and total length of the path give optimum parameters’ settings were proposed for the
also project completion duration [15]. models that are suggested through sensitivity
analysis. In addition, suggested method provided a
The study consists of four sections. In the first section good user interface [20].
of the article, a general introduction, and brief
information about CPM and PERT were given. In the Abbasi and Mukattash analyzed solution of PERT
second section, related studies were given. In the network by using mathematical programming. In the
third part, design and application of the model study, it was aimed to minimize pessimistic time
developed (material, method, structure and process) estimation of activities on the critical path. Suggested
using genetic algorithm and, finally, in the fourth model showed that minimizing pessimistic time
section, conclusions and future study were explained reduces project time. In addition, results of the model
in detail. indicated that possibility of realizing the end node
increased [21].
2. Related Studies
Haixiang et al. studied on a smart optimization to use
There are many studies on network analysis within for planning a coal-mining project in China. The
the context of project management. In this section, optimization techniques they used include genetic
well-known and current studies were given. For algorithm, part bulk optimization and regular part
example, Leu et al. suggested a new optimal bulk optimization. They handled the study in two
construction time/cost trade-of method based on stages. In the first stage, PERT network was created.
genetic algorithm by using network models for time- In the second stage, they worked up to conclude by
cost analysis on construction projects. Results assigning estimated operation time of the activities to
demonstrated optimum adjustment of time and cost arrows [22].
under different risk levels [16].
Hashemin et al. made a study that optimizes
Azaron et al. suggested a genetic algorithm for the allocation of limited nonrenewable source on PERT
time-cost analysis on PERT networks. The study was networks with different activity times. In the study,
applied on the only PERT networks by taking into dynamic programming was utilized, and the aim is to
account Erlang distributed activity time and direct maximize project completion duration without
costs. Researchers performed a few factorial skipping any activity. The duration of each activity
experiments to specify suitable genetic algorithm were categorized as either reducible or irreducible
parameters that generate optimal results within a depending on network structure. Authors presented
given performing duration in the three typical status an analytical algorithm for each network structure.
with different configurations. In addition, they The algorithms were demonstrated by giving some
compared genetic algorithm results with discrete- examples [23].
time approximation method results [17]. Ke and Liu studied on solving project planning
problem with mixture of randomness and fuzzy. In
Baradaran et al. developed a hybrid distributed the study, it was aimed to adjust total cost and project
search approach for source-limited project planning completion duration by using genetic algorithm and
problems on PERT type networks. Solutions was fuzzy logic with available sources. Fuzzy simulations
compared with optimal solution for small networks were given for unclear functions and they were
to validate the performance of new hybrid embedded into genetic algorithm to develop a hybrid
metaheuristic algorithm. Results demonstrated that intelligent algorithm. As a result, some numerical
suggested algorithm is suitable for small networks experiment results were given for demonstration of
and other real problems [18]. performance of the algorithm [24].

617
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

Baar et al. suggested Tabu search algorithm for results demonstrated that reduction of project
limited source project planning problems. The aim of duration by 17% is achieved by increasing cost by
the study is to define a schedule with minimal 3.73%, which is satisfactory [30].
completion duration. Finally, a column-generation
approach for a linear programming-based lower Studies in the literature were summarized in Table 1
bound was presented and computational results due to a better understanding.
were reported [25].
Difference of this study from others, is that it can be
Demirel et al. solved problem of multistage applied on both CPM and PERT networks for the first
integrated logistic network optimization with hybrid time, and network models used in this study are
genetic algorithm. In their study, a mixed integer dynamic. In addition, critical path of the project,
linear programming model that has limited capacity, critical activities and project completion duration can
multi-staged, and multi-product was developed for a be obtained by entering desired number of nodes and
general integrated logistic network design [26]. activities through proposed model.

Kumar, firstly said that source management supplies 3. Design and Implementation of the Algorithm
that a project should be completed on time, at cost; Developed by Using Genetic Algorithm
and later source shortage is an expected cause for
project delays. Suggested method, activity selected This study handles network analysis for project
first for changing is based on the largest value of management on CPM and PERT networks. It searches
source rate. This procedure is repeated for all current solving of problems to be encountered in case
activities for probable shifting of resources by network is very large during network analysis. The
searching optimal solution with GA. Developed GA aim of this study is to solve network analysis
model for project planning of sources has resulted in problems by using GA, and to show that such complex
optimized output with reduced cost [27]. problems can be solved by intuitional methods. In
this study, "Genetic Algorithm" that is within
Rajeevan and Nagavinothini said that resource- heuristic methods were widely analyzed, and a new
constraint project scheduling problem is one of the algorithm which is suitable for this strategy was
very hard problems in Operations Research and it has developed and proposed.
lately become a popular area for the newest
optimization models or techniques. For the resource- 3.1. Genetic algorithm
constraint project scheduling, meta-heuristic GA is the first artificial intelligence technique inspired
algorithm of optimization supplements conventional by basic elements and phenomena of the Theory of
CPM technique and MSP (Microsoft Office Project) Evolution brought to scientific world by Charles
software for scheduling by optimizing project time. Robert Darwin. A typical GA is generally based on
Results of this study showed that the algorithm is subjecting a variety of genetic manipulations
capable to meet best known solutions from problem according to fitness values of individuals represented
space [28]. by chromosome, which are to be initially used for
solution and are represented as chromosomes in a
Hussain stated that resource allocation and leveling selected coding. According to results of initial
are two top challenges in construction project population, processes such as crossing and mutation
management, due to complex nature of construction are carried out. New individuals are obtained and
projects, and CPM and PERT is not capable of created through relatively better individuals, and
minimizing undesirable fluctuations in resource each new generation is examined until desired result
utilization profile. In the study, researcher obtained is obtained or a certain stop criterion is obtained. In
results an optimum set of tasks and priorities that conclusion, GAs produce resolutions to optimization
generate better-leveled resources profiles using problems utilizing methods of natural evolution
Genetic Algorithm technique in MATLAB software (inheritance, mutation, selection, and crossover). GA
[29]. starts with creation of population. Solutions are
obtained from population and utilized to form a new
Chitra and Halder aimed to develop a model that population. This process continues until the best
finds a proper trade-off between duration and cost to solution is produced or until the number of
accelerate execution process in this study. He said population is determined [31-38].
that CPM is utilized to determine the longest time and
cost needed for finalizing the project, and then the In Table 2, general pseudo-code of GA was given [36,
time-cost trade–off problem is formulated as a linear 38].
programming model. Karmake used LINDO program
to define solution of the model. Data of proposed 3.2. Material and method
model were collected through interviews and direct
discussion with the project managers of Chowdhury Developed application to supply optimization with
Construction Company, Dhaka, Bangladesh. Analysis GA on CPM and PERT networks within the context of

618
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

project management was briefly named as networks. In the application, first of all nodes used
"GACPMPERT". Delphi 7 programming language was on CPM and PERT networks, and then predecessor-
used for coding the designed algorithm. All successor status of mentioned nodes are determined.
simulations were practiced on the computers that Operation durations of the activities are transferred
have Intel Core I7 3.40 GHz processor. Algorithm was to table according to above status. User inserts
designed to be applied for all CPM and PERT operation durations in order to use in CPM networks.

Table 1. Summary of the literature


Author(s)
No Problem Method(s) Result(s)
Name

A fuzzy optimal model Optimum adjustment of time


Time-cost analysis on
1 Leu et al. [16] based on genetic and cost under different risk
construction projects.
algorithm levels

Optimal results within a given


Genetic algorithm and implementation duration in the
Azaron et al. The time-cost analysis on
2 discrete-time three typical status with
[17] PERT networks
approximation method different configurations

Suitable results for small


Source-limited project
Baradaran et A hybrid distributed networks and other actual
3 planning problems on PERT
al. [18] search approach problems
type networks
Most suitable critical activities
Analysis of critical activities
4 Yakhchali [19] Path-sorting algorithm and paths
on CPM/PERT networks
Optimum parameters
5 Pan et al. [20] Planning project optimization Tabu search algorithm
Minimizing the pessimistic
Abbasi and duration decreases project time
Mathematical
6 Mukattash Solving PERT networks and its variance and increase of
programming
[21] the possibility of realizing the
terminal node.
Planning a coal-mining
Haixiang et al.
7 project A smart optimization Optimal results
[22]
Allocation of limited
nonrenewable source on
Hashemin et
8 PERT networks with different Dynamic programming Optimum source allocation
al. [23]
activity times

Solving project planning


Ke and Liu Genetic algorithm and Successful arranging of total cost
9 problem
[24] fuzzy logic and project completion duration
Limited source project
10 Baar et al. [25] planning problems Tabu search algorithm Minimal completion duration

The problem of multistage


Demirel et al. integrated logistic network Hybrid genetic Minimum cost that satisfying the
11
[26] optimization algorithm demands of customers

Possible shifting of resources


Optimized output with reduced
12 Kumar [27] by searching the optimal Genetic algorithm
cost
solution
Rajeevan and
The resource constraints Meta-heuristic Best known solutions from the
13 Nagavinothini
project scheduling problem algorithm problems space
[28]
Optimum set of tasks and
14 Hussain [29] The resource allocation Genetic algorithm priorities that generate better-
leveled resources profiles
Finding a proper trade-off
between time and cost to
Chitra and Developed model using Reduction of project duration by
15 expedite the execution
Halder [30] LINDA 17%, increasing cost by 3.73%
process

619
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

Table 2. Pseudo-code of the GA users' desire. However, only crossover is prepared to


be applicable for all entered GA assumptions. As a
Step 1. Create population with N individuals
result, genetic algorithm phases were completed
according to target problem and selected coding
rapidly and easily to optimize values and to reach
scheme.
optimal solution. Flow diagram of proposed
Step 2. Iterative steps (for each individual and each algorithm is given at Fig. 2.
purpose function size):
3.3. Structure and functioning of the algorithm
2.1. Step: Calculate the fitness function value
with individual.
Developed and proposed algorithm can be applied on
2.2. Step: Select individuals who will enter dynamic CPM and PERT networks. The algorithm was
reproductive process. explained systematically in the frame of GA. Applying
of suggested GA on any project was tried to be
2.3. Step: Apply crossover process to selected
explained through a simple network example given in
individuals.
Fig. 3. Application was showed on CPM network
2.4. Step: Apply mutation to some individuals. diagram. The only difference of PERT networks is
that operation duration is determined after
Step 3. Optimal solution at the end of iterative
calculating optimistic, pessimistic, and approximate
process is global best position and value(s).
duration.

In that case, in PERT networks, after optimistic, Chromosome and Gene: It shows each solution of
pessimistic, and approximate times are inserted, problems desired to be solved by genetic algorithm.
operation durations are calculated by using Equality In this study, genes and chromosomes were
1 given in first part. In this point, application also constituted depending on number of nodes entered
presents a visual possibility by preparing a scenario by user. Each node can go their neighbor nodes one
CPM and PERT networks depending on different way and without skipping. Each node constitutes a
project situations entered. Later, genetic algorithm gene, and paths formed by nodes constitute
assumptions (size of population, elitism rate, chromosomes. For example, in the Fig. 3, there are
generation number, and iteration number) for 11 nodes and 8 different paths. It means that there
optimizing can be inserted dynamically depending on are 11 genes, and 8 chromosomes.

Figure 2. Flowchart of the proposed algorithm

620
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

D 5 I
11 10
6
E N
A 7 17
3
İ 9
H M
B 4 6 12
1 4 10 16
J 11
13 L
8 15
C F 8
K
5
G 14
3 7
9
Figure 3. The example of network

Figure 4. Algorithm that was developed for creating population

Initial Population: The set of solutions used to search initial population were constituted. When the
for the best solution of the problem and randomly example in the Fig. 3 was taken into account, all paths
determined solutions were determined by the (chromosomes) that form initial population were
randomly generated set. The code line that was given in the Fig. 7, and some of the possible solutions
developed for initial population is given in the Fig. 4. were also given in the Fig. 8 with operation duration.

The entered nodes paths are taken into account in the Crossing: "Single Point Crossing" technique was used
process of population creation. The cells which is in the developed application. In this application, a
diagonal in the Fig. 5 should be zero (0) since CPM single cut-point was selected and it was obtained
and PERT networks are one-way. The fact that the from the first ancestor chromosome till the cut-point.
cells above the diagonal have zero (0) value indicates Offspring chromosome was created by combining the
that there is no direct connection between the nodes. remaining part with the next part of the second
For example, the node 1 has a direct connection to ancestor's cut-point. Cut-point mentioned in crossing
the nodes 2, 3, and 4; however, it has not any direct over was obtained from one third of length of the
connection to other nodes (nodes 5-11) since its cell chromosome (path length). In case the length of the
value is zero. In the Fig. 6, a simple example was chromosome was not threefold, the obtained result
given for this situation. was rounded up and then crossovered. A crossing
example applied by algorithm developed on
In this way, direct connection status of each node is individuals created by the paths was given in the Fig.
controlled one by one. Thus, the paths that form 9 and 10.

621
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

Figure 5. The displaying in table of processing times among nodes

D 5

B
1 4

Figure 6. The displaying of the connections among nodes

Figure 7. The chromosomes belong to initial population

Figure 8. Some of the possible solutions belong to chromosomes


622
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

Figure 9. Crossover I

Figure 10. Crossover II

Mutation: It is applied in case some genetic Displaying of the results: All these genetic algorithm
information is lost in population and genes that operations are repeated in equal amount to the
create chromosome are all the same. Because same number of iterations entered by the user and the
results were obtained in the study, there was no need gained optimum solution was presented to the user
to apply mutation on the application developed. It (Fig. 11).
means that mutation did not affect the result of
operation. In the study, for example, the values in Table 1 were
entered for the activity and operation times of the
Fitness Function (FF): Fitness function used in the network. GACPMPERT application reached the result
developed application was determined by detect the by considering defined aim function depending on
biggest operation duration in the paths after the available operation times.
calculating sum of all one-way paths from the initial
node of activities to the last node. The aim, here, was Results were also demonstrated over the network
to obtain the path with the longest total activity time with GACPMPERT application (Fig. 12). Path made by
that ensure the project completed as soon as possible dashed lines indicates the critical path, activities on
between the starting and ending point on the project this road indicates critical activities, and sum of the
network. Fitness function was given in Equality 2. durations on the critical path indicates project
completion period.
FF = max (Yfirstnode,j + Yj,k + Yk,l + Yl,m + Ym,n + Yn,o + ….. +
Ylastnode-1,lastnode) (2) Therefore, it can be seen clearly that the critical path
is 1-3-4-6-8-11, critical activities (from the activities
Elitism: Elitism method was used in this application introduced between these paths) are C-F-H-J-L, and
despite the fact that different methods have been the project completion duration is 51 weeks (fifty-
developed to create new population. In the study, the one).
number of chromosome rate entered by user from The application was tested with five different
generated population was selected as a best solution projects data and all the results obtained were given
cluster, and others were omitted. Consequently, the in Table 4. According to Table 4, it was seem that
best individuals were reached at each iteration, and accurate results were obtained in a short time using
thus the best optimum result was obtained at the last the proposed GACPMPERT application.
iteration.

Figure 11. The displaying of the results

623
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

Table 3. The results of the GACPMPERT application example


Line Number Activite Name Activite Duration
START* 0
1 A 3
2 B 4
3 C* 5
4 D 6
5 E 7
6 F* 8
7 G 9
8 H* 10
9 I 11
10 İ 12
11 J* 13
12 K 14
13 L* 15
14 M 16
15 N 17
16 FINISH* 0
Proje Duration 51
Critical Path START (D1) - D3 - D4 - D6 - D8 - FINISH(D11)
Critical Activities C-F-H-J-L

D 5 I
11 10
6
E N
A 7 17
3
İ 9
H M
B 4 6 12
1 4 10 16
J 11
13 L
8 15
C F 8
K
5
G 14
3 7
9
Figure 12. The displaying of the result on the network

4. Conclusions and Future Study to determine how long it will complete the work to be
performed by taking into account its own resources
In this study, an algorithm was developed that finds and constraints, which method to be used, and so
the critical paths, critical activity, and project they will be able to take measures depending on each
completion duration by using genetic algorithm new situation. Algorithm was developed for dynamic
instead of CPM and PERT techniques used for CPM and PERT networks, was tested using different
network analysis within the context of project GA acceptances, and the optimum results were
management. Calculating critical path, critical obtained in a very short time.
activity, and project completion duration (without
using GA) is a quite complex and long period in In the next step of the study, all results obtained by
normal conditions. The algorithm is easy to applying hybrid approaches will be compared with
implement for all CPM and PERT networks that are the results obtained by applying GA algorithm
complex and time-consuming, too difficult to developed in this study. Thus, more meaningful and
calculate manually. With the use of the developed productive results will be obtained and success of the
software, any institution or organization will be able proposed algorithm will reveal itself better.

624
D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 START (D1) NO
P1 (CPM)
P2 (CPM)

P: Project
L K J I H G F E D C B A - P3 (CPM) ACTIVITY NAME
P4 (PERT)
P5 (PERT)
- - - - - E C,D B A,B A - - - P1 (CPM)
D,I A D C,F A D G B A - - P2 (CPM)
F,K I,J A E C,G A D,E H B B A - - P3 (CPM) PUNITIVE ACTIVITIES
- - - - C D,E B,C C B A A - - P4 (PERT)
- - H,I G F B,C,E B,E D A - - - - P5 (PERT)
- - - - - 22 30 28 30 15 15 70 0 P1 (CPM)
- - 65 15 30 25 90 75 48 36 25 10 0 P2 (CPM)
16 8 11 49 82 38 33 19 94 68 23 17 0 P3 (CPM) DURATION (WEEK)
- - - - 47 63 45 82 18 34 25 12 0 P4 (PERT)
- - 33 41 60 22 25 34 62 50 14 23 0 P5 (PERT)
130 P1 (CPM)
Table 4. The results obtained depending on different inputs

190 P2 (CPM)
PROJECT DURATION

625
258 P3 (CPM)
(WEEK)
191 P4 (PERT)
215 P5 (PERT)
START (D1) – D2 – D5 – D7 - FINISH (D9) P1 (CPM)
START (D1) – D2 – D7 – D8 – D11 - FINISH (D12) P2 (CPM)
START (D1) – D2 – D3 – D4 – D9 – D6 – D7 – D13 - FINISH (D14) P3 (CPM) CRITICAL PATH
START (D1) – D4 – D6 – D8 - FINISH (D9) P4 (PERT)
START (D1) – D2 – D5 – D6 – DUMMY PATH– D8 – D10 – D11 – FINISH (D12) P5 (PERT)
A-D-F P1 (CPM)
A-F-G-D-J P2 (CPM)
A-B-C-H-E-F-L P3 (CPM) CRITICAL ACTIVITIES
A-C-E-G P4 (PERT)
A-D-E-DUMMY PATH-G-I-J P5 (PERT)
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

5.4 P1 (CPM)
5.7 P2 (CPM)
7.3 P3 (CPM) TIME (s)
7.8 P4 (PERT)

The time given in the PERT examples are the final values obtained from the calculation with the formula T = (a + 4m + b) / 6.
8.2 P5 (PERT)
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

References [15] PROTEC. 2012. Project Management-PERT,


http://www.protec.com.tr/index.php?option=co
[1] Yildiz, S. 2001. Resource Leveling and Earned m_content&view=article&id=135&Itemid=67&la
Value Analysis in Project Management: an ng=tr.
Application in Construction Sector, Master
Thesis, Baskent University Institute of Social [16] Leu, S.S., Chen, A. T., Yang, C.H. 2001. A GA-based
Sciences, Ankara, 7-37. fuzzy optimal model for construction time-cost
trade-off, Int. J. Proj. Manage. 19, 47–58.
[2] Sivri, G. 2001. Monitoring and controlling
progress in construction projects and an [17] Azaron, A., Perkgoz, C. and Sakawa, M. 2005. A
application for project information management genetic algorithm approach for the time-cost
system, Master Thesis, Istanbul Technical trade-off in PERT networks, Applied
University Institute of Social Sciences, Istanbul, Mathematics and Computation, Vol. 168, 1317–
1-48. 1339.
[3] Kutlu, N. T. 2001. Project planning techniques [18] Baradaran, S., Fatemi Ghomi, S. M., Mobini, T. M.,
and a study on application of PERT technique in Hashemin, S. S. 2010. A hybrid scatter search
construction sector, Dokuz Eylul University approach for resource-constrained project
Journal of Social Sciences Institute, Izmir, 3 (2): scheduling problem in PERT-type networks",
164-207. Advances in Engineering Software, 41(7-8): 966-
[4] Duncan, W. R. 1996. A Guide to the Project 975.
Management Body of Knowledge, Project [19] Yakhchali, S. H. 2012. A path enumeration
Management Institute, USA, 3-27. approach for the analysis of critical activities in
[5] Ozdemir, G. 2006. The genetic algorithm methods fuzzy networks, Elsevier, Information Sciences,
used in resource constrained project scheduling V:204, 30 October, 23-35.
problems and their comparison, Master Thesis,
Ankara University Institute of Social Sciences. [20] Pan, N. H., Hsaio, P. W., Chen, K.Y. 2008. A study
of project scheduling optimization using Tabu
[6] Hoscan, Y. 1988. Package programs developed Search algorithm, Eng. Appl. of AI, 21(7): 1101-
for CPM/PERT methods and solution used to 1112.
check the project, Anadolu University, Eskisehir.
[21] Abbasi, G. Y. and Mukattash, A.M. 2001. Crashing
[7] Leu, S. S., & Yang, C. H. 1999. A genetic-
PERT networks using mathematical
algorithm-based resource-constrained
programming, International Journal of Project
construction scheduling system. Construction
Management, 19: 181-188.
Management & Economics, 17(6), 767-776.
[8] Deb, K. 2001. Multi-objective optimization using [22] Haixiang, G., Kejun, Z., Chang, D., Lanlan, L. 2001.
evolutionary algorithms (Vol. 16). John Wiley & Intelligent optimization for project scheduling of
Sons. the first mining face in coal mining, Expert
Systems with Application, 37(2): 1294-1301.
[9] Goldberg, D.E. 1989. Genetic Algorithms in
Search, Optimization and Machine Learning, [23] Hashemin, S. S., Fatemi Ghomi, S. M. T. Modarres
Addison-Wesley, USA. M. 2012. Optimal constrained non-renewable
resource allocation in PERT networks with
[10] Figlali, A. and Engin, O. 2002. Reproduction
discrete activity times, Sciencedirect, Scientia
method optimization in flow-type scheduling
Iranica, Available Online 30 April 2012.
with Genetic Algorithms, Journal of ITU/d,
Turkey, 1 (1): 1-7. [24] Ke, H. and Liu, B. 2005. Project scheduling
[11] Chang, C. K., Christensen, M. J., Zhang, T. 2001. problem with mixed uncertainty of randomness
Genetic algorithms for project management, and fuzziness, Proceedings of the First
Annals of Software Engineering, 11: 107-139. International Conference on Complex Medical
Engineering, Takamatsu, Japan, May 15-18, 957-
[12] Kim, K. W., Yun, Y. S., Yoon, J. M., Gen, M.,
962.
Yamazaki, G. 2005. Hybrid genetic algorithm
with adaptive abilities for resource-constrained [25] Baar, T., Brucker, P., Knust, S. 1997. Tabu-search
multiple project scheduling, Computers in algorithms for the resource constrained project
Industry, 56: 143-160. scheduling problem, Technical Report,
[13] Ozturk, A. 1984. Operations Research, Uludag Osnabrück.
University Press. [26] Demirel, N., Gokcen, H., Akcayol M. A. and
[14] Trietsch, D., Mazmanyan, L., Gevorgyan, L. Baker, Demirel, E. 2011. A Hybrid Genetic Algorithm for
K.R. 2012. Modeling activity times by the Multistage Integrated Logistics Network
Parkinson distribution with a lognormal core: Optimization Problem, Journal of the Faculty
theory and validation, European Journal of Engineering and Architecture of Gazi University,
Operational Research, 216, 386–396. Vol 26, No 4, 929-936, 2011.

626
M. H. Calp, M. A. Akcayol / Optimization of Project Scheduling Activities in Dynamic CPM and PERT Networks Using Genetic Algorithms

[27] Satheesh Kumar, N. and Raj Kumar, R. 2014. [34] Kramer, O. 2017. Genetic Algorithm Essentials,
Study On Application Of Genetic Algorithm In Springer.
Construction Resource Levelling, IJIRSET
Volume 3, Special Issue 2, April 2014. [35] Haznedar, B., Arslan, M. T., & Kalınlı, A. 2017.
Training ANFIS structure using genetic
[28] Rajeevan, M., Nagavinothini, R. 2015. Time
algorithm for liver cancer classification based on
Optimization for Resource-Constrained Project
microarray gene expression data, Sakarya
Scheduling Using Meta-heuristic Approach,
University Journal of Science, 21(1), 54-62.
IJSETR Vol. 4 March 2015.
[29] Hussain, W., Trivedi, M. K., Kansal R. 2015. [36] Köse, U. 2017. Development of Artificial
Optimization of Construction Resource Intelligence Based Optimization Algorithms,
Allocation and Levelling Using Genetic Ph.D Thesis, The Graduate School Of Natural and
Algorithm, IJIRSET Vol. 4, Issue. Applied Science of SELCUK University, Computer
Engineering ABD.
[30] Chitra, K., & Halder, P. 2017. Scheduling Project
Crashing Time Using Linear Programming [37] John, A. K., & Krishnakumar, K. 2017. Performing
Approach: Case Study. International Journal of multiobjective optimization on perforated plate
Research in Industrial Engineering, 6(4), 283- matrix heat exchanger surfaces using genetic
292. algorithm. International Journal for Simulation
[31] Darwin, C. 2015. (Trans.). The Origin of Species, and Multidisciplinary Design Optimization, 8,
İstanbul, Universal Publishing. A3.
[32] Goldberg, D. E. 2016. Genetic Algorithms, [38] Dener, M., Calp, M. H. 2018. Solving the exam
Pearson Education India. scheduling problems in central exams with
[33] Karaboga, D. 2014. Artificial Intelligence genetic algorithms, Mugla Journal of Science and
Optimization Algorithms, Ankara, Nobel Technology, 4(1), 102-115.
Academic Publishing.

627

You might also like