Automation in Construction: Zhenyuan Liu, Liu Yang, Raoyi Deng, Jing Tian
Automation in Construction: Zhenyuan Liu, Liu Yang, Raoyi Deng, Jing Tian
Automation in Construction: Zhenyuan Liu, Liu Yang, Raoyi Deng, Jing Tian
Automation in Construction
a r t i c l e i n f o a b s t r a c t
Article history: Resource-constrained project scheduling problem is a classic problem in construction project. Aimed at solving
Received 8 May 2016 this problem, an effective approach with decomposition on time windows is proposed in this paper. This ap-
Received in revised form 14 November 2016 proach is to select one activity to do decomposition and to partition the feasible space of the original problem
Accepted 24 November 2016
into some feasible subspaces, in which solutions are generated by using an extended serial scheduling scheme.
Available online 8 December 2016
Double justification is also performed in the process of searching in subspace. Four strategies for selecting activity
Keywords:
to do decomposition, three strategies for decomposition and a strategy on sampling size in various subspaces are
Project scheduling designed. The results of experiments on two real construction projects show that the strategy based on degree for
Decomposition-based approach selecting activity and the strategy based on initial schedule for decomposition can obtain the best results. When
Extended serial scheduling scheme compared with some other exiting algorithms, it is proven that the decomposition-based approach is effective
Double justification and competitive.
Construction management © 2016 Elsevier B.V. All rights reserved.
1. Introduction During the past 30 years, kinds of meta-heuristic methods have been
put forward to find more accurate solutions within shorter computing
The resource-constrained project scheduling problem (RCPSP) is a time. In their procedures, solutions are usually encoded firstly. Then
classic NP-hard optimization problem [1] which can be found frequent- the codes are visited by using some meta-heuristic strategy and finally
ly in construction project, production development etc. Various proce- decoded to generate schedules. Random-key and activity-list are two
dures for solving the RCPSP including exact and heuristic ones have typical encoding methods [8]. Also choosing a decoding process accord-
been developed in the last several decades years [2,3]. Among them, ing to characteristics of the problem reflects the flexibility of the algo-
branch-and-bound method is a typical exact procedure, which is able rithm [9]. The widely used meta-heuristic algorithms include Genetic
to find optimal solutions in feasible time [4,5]. However, exact solution Algorithms (GAs) [10–12], particle swarm optimization [13,14], simu-
procedures are restricted to small or medium-scale RCPSPs. In order to lated annealing algorithm [15] and ant system algorithm [16], etc. For
solve large-scale problems, heuristic methods have been proposed example, Zamani presented a Genetic Algorithm with a magnet-based
which could generate optimal or suboptimal solutions within accept- crossover operator [10], Kadam and Mane combined GA with local
able time. Serial Scheduling Scheme (SSS) and Parallel Scheduling search algorithm [11], and Chen and Weng presented a two-phase GA
Scheme are two popular schedule generation schemes (SGSs) in this model for RCPSP [12]. Georgios Koulinas et al. proposed a particle
area, which can generate feasible schedules with priority rules-based swarm optimization based hyper-heuristic algorithm by using random
selection of activities stage by stage [6]. In recent decades, these two keys as the solution representation [13]. Similarly, Anantathanvit and
schemes have been widely combined with lots of meta-heuristic algo- Munlin extended the particle swarm optimization by regrouping the
rithms to solve the large-scale RCPSPs. Besides, priority rules were pro- agent particle within the appropriate radius of the circle to solve the
posed to construct schedules based on the SGS. The most popular problem [14]. Anagnostopoulos and Koulinas proposed simulated an-
priority rules include latest finish time (LFT), shortest process time, nealing hyper-heuristics [15] and Li and Zhang put forward an ant colo-
minimum slack etc. The priority rules can make different influences ny optimization-based multi-mode scheduling algorithm [16].
on the performance of heuristics [7]. As for the new approaches in recent years, such as bee algorithm
[17], analogous immune algorithm [18], shuffled frog-leaping algorithm
[19], and neurogenic algorithms [20] have also been applied to the
⁎ Corresponding author at: College of Automation, Huazhong University of Science and
Technology, Wuhan 430074, China. RCPSP. For other heuristic algorithms, Wang and Fang developed a hy-
E-mail address: [email protected] (Z. Liu). brid estimation of distribution algorithm [21] and Liu et al. designed
http://dx.doi.org/10.1016/j.autcon.2016.11.012
0926-5805/© 2016 Elsevier B.V. All rights reserved.
2 Z. Liu et al. / Automation in Construction 75 (2017) 1–9
3 2 1 di
1 3 5
i
2 4 3 ri
start end
4 2 4 Deadline=20
2 4 6 Rmax=4
3 4 2
Fig. 1. Activity on node network of project example. Fig. 2. Decomposition Operation on Feasible Space.
Z. Liu et al. / Automation in Construction 75 (2017) 1–9 3
Start windows at time point 10, then the subspaces after decomposition are
as the following:
Calculate the finish times of activities Ω1 : ½3; 17 ½4; 14 ½5; 19 ½6; 10 ½6; 20 ½10; 20
Ω2 : ½3; 17 ½4; 14 ½5; 19 ½11; 16 ½6; 20 ½10; 20
Generate an Initial Schedule
Select an decomposed activity Assuming the precedence relationship between activities couple
(i, j) is denoted as Pre(i, j). If Pre(i, j) = 1, then activity i is a predecessor
of activity j, otherwisePre(i, j) = 0. For an activities couple (i, j) in an ac-
Do decomposition on feasible space tivity network G = (V,A) where V is the activities set and A is the prece-
dence relationship set, ifPre(i0, i1) × ⋯ × Pre(is − 1, is) =
1 , ∃(i0,i1) , ⋯ , (is−1,is) ∈ A , i0 , i1 , ⋯ , is−1 ,is ∈ V, i0 = i , is =j, then activ-
Generate schedules in subspaces ity i is called a transitive predecessor of activity j.
TPj and TSj are respectively the set of all the transitive predecessors
of j and the set of all transitive successors of j. The union of all transitive
Output the optimal solution
successors and all transitive predecessors of activity j is denoted as
Qj , Qj =TPj ∪ TSj.
Stop After partitioning on time window of some activities, it is probably
that time windows of the related activities will be changed because of
the precedence relationship. If the latest finish time (the earliest finish
Fig. 3. The flow chart of OPDA. time) of some activity was changed, we need to redefine the latest finish
times (the earliest finish time) of its transitive predecessors (transitive
successors). Critical Path Method is employed to redefine the changed
[EF2i , LF2i ], …, [EFM M 1 M l l−1
i , LFi ], where EFi = EFi, LFi = LFi, EFi = LFi + 1, time windows of activities accordingly so that the feasible subspace will
l l
2 ≤ l ≤ M. Then, the lth sub-window [EFi, LFi] of activity i will be utilized be changed.
to substitute its original finish time window [EFi, LFi ] in Ω to form the In the example in Fig. 1, subspace 1 and 2 are redefined as the follow-
lth feasible subspace: ing, where the finish time window of activity 2 is changed in Ω1 and the
finish time window of activity 6 is changed in Ω2.
h i
Ωl : ½EF 1 ; LF 1 … EF li ; LF li … EF J ; LF J ð6Þ
Ω1 : ½3; 17 ½4; 8 ½5; 19 ½6; 10 ½6; 20 ½10; 20
a) Case 1
4 5 6 di
6 3 6 10 5 i
1 2 9 6 16 5 ri
2 6 1 2 4 19
5 11 14
3 2 2
3 4 3 end
start 2 18
3
3 2 2 3 5 20
8 12 15
6 8 5
5 8 6
4 2 2 4 17 Rmax=9
5 7 9 13 1
3 3 5
b) Case 2
15 10 10
7 9 16 di
5 8 10 5
11 12 21 24 27 i
2 5 4 10 32
2 14 11 10 7 4 5 5 ri
23 3 2 7 14
2 18 5 13 17 10
7 end
start 4 4 4 14 30 34 36
4 5 19
10 14 7 3 10 1 1
25 6 9 26 9 1 7
12 12 14 16 4 37
1 6 4 28 33 35
9 4 5 3 1
2 21 3
7 9 10 14 6 5 2 1
3 5 12
15 18 20 22 29
4 7 31 Rmax=12
4 6 6 3 2
25 4
5
It has been proved that any feasible solution in Ω must be in some Without loss of generalization, it is assumed that the scheduling
feasible subspace after decomposition [28]. procedure will be called in some subspace: Ω′ = [EF1′, LF1′] ×
[EF2′, LF2′] × … × [EF′,J LF′].
J
4. One-Point Decomposition-Based Approach for RCPSP Similar to the classic SSS, the whole base procedure of ESSS consists of
J iterations shown as Fig. 4. In each iteration, an activity is selected by
4.1. The framework of OPDA using a priority rule. Its start time and finish time will be decided accord-
ing to the finish time constraints in the subspace and the constraints on
Here, we only select one activity to do decomposition, so we call the resource availability and precedence relationships. The procedure will
approach One-Point Decomposition-Based Approach (OPDA). Fig. 3 is be called iteratively until all activities are scheduled. If resource con-
the flow chart of the approach. The detailed procedure is described as straints cannot be satisfied during the procedure, it will stop.
the following. In Fig. 4, En is an activity set in which activities could be scheduled
with precedence constraints in iteration n. Cn is an activity set in
Step 1: Calculate the earliest and latest finish times of activities. which activities have already been scheduled in iteration n. Vj is the pri-
ority value of activity j with some rule for selection.
Step 2: Generate an initial schedule using the SSS. Priority rules for selecting activities in each iteration are usually ESj,
Step 3: Set the makespan of the initial schedule as the deadline of the LS j ; LF j ; r j ; FT j 0 ; SLK which means earliest start time, latest start time,
project and calculate the finish times of activities again. Then, the latest finish time, resource consumed in unit time, finish time of the op-
feasible space Ω can be defined. timal result in initial scheduling of the activity and time lag between
Step 4: Select an activity for decomposition with some selection earliest start time and latest start time [7]. In this paper we use the pri-
strategy. ority rule of LFj in ESSS for activity selection. The mode used to select ac-
Step 5: Do decomposition on Ω with some decomposition strategy to tivities to do scheduling randomly is Regret-based Biased Sampling [6],
form feasible subspaces.
Step 6: Generate schedules in each feasible subspace respectively
using an extended SSS (ESSS) with a strategy on sampling size. Table 2
Step 7: Find the optimal solution from all the schedules generated in Design of Experiments for the OPDA.
a) Case 1
9 17
7 3
10 15 13 18
5 4 2 6 20
12
3 8
7 5 11
9 14 16
1 1 19
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 T
b) Case 2
12
2 5 16 22
10 8 7 14 25 24 27 30
29
8 10 18 20
15 21
6 10 12 6 23
4
4 9 11 13 28 33
2 3 17 19 26 31 37
1 32 34 35 36
8 16 24 32 40 48 56 64 72 80 88 96 104 112 120 128 136 144 152 160 168 176 184 190 T
in which regret value ρ(j) on selection of activity j will be set according Definition 2. Degree is defined as the number of other nodes connected
to the priority value with the worst sequence among the feasible activ- with a node in a graph. Let de1 , de2 , …,deJ be the degree of activities 1,
ities in En, 2 , … , J respectively. Degree of activity j is represented as dej = -
count(Pj)+count(Sj), where function count(.) is to record the number of
ρð jÞ ¼ maxi∈En φðiÞ−φð jÞ ð7Þ elements in a set and Sj is the set of immediate successors of activity j.
Wherein it assumed that a “minimal” priority rule is employed. Definition 3. Central degree is defined as the absolute value of the differ-
Then, the probability for activity j to be selected is: ence between the number of activities in the set of all the transitive pre-
decessors and the number of activities in the set of all the transitive
ðρð jÞ þ 1Þα successors. Let ctj =|count(TPj)−count(TSj)| be the central degree of ac-
Φð jÞ ¼ X ð8Þ tivity j.
i∈E
ðρðiÞ þ 1Þα
n
According to the above definitions, four strategies are developed for
In ESSS, double justification is additionally performed to improve the selecting the decomposed activity. They are denoted as S1 , S2 , S3 , S4.
results obtained in the base procedure, which has testified to be an effi- n o
cient method to improve a feasible solution [29]. S1: min jj max pr j ð9Þ
j∈V
Table 3
Results comparison between different strategies in sampling size 1000.
Success rate Optimal value Time(s) Success rate Optimal value Time(s)
Best Avg. Std. Worst. Avg. Best Avg. Std. Worst Avg.
R1 S1 80% 42 42.2 0.407 43 0.013 3.33% 190 191.733 1.2299 195 0.0598
S2 80% 42 42.2 0.407 43 0.0125 3.33% 190 191.733 1.2299 195 0.0593
S3 83.3% 42 42.2 0.379 43. 0.0198 6.67% 190 191.533 1.2794 196 0.0796
S4 80% 42 42.2 0.407 43 0.0125 3.33% 190 191.733 1.2298 195 0.0582
R2 S1 93.33% 42 42.07 0.25 43 0.0146 6.67% 190 191.13 0.6814 194 0.084
S2 93.33% 42 42.07 0.25 43 0.0166 6.67% 190 191.13 0.6814 194 0.0852
S3 93.33% 42 42.07 0.25 43 0.0156 16.67% 190 191.2 0.9613 194 0.0822
S4 83.33% 42 42.17 0.38 43 0.0177 6.67% 190 191.13 0.6814 194 0.0848
R3 S1 53.33% 42 42.5 0.57 44 0.0109 0 191 191.93 1.285 195 0.0567
S2 53.33% 42 42.5 0.57 44 0.0119 0 191 191.93 1.285 195 0.0535
S3 73.33% 42 42.27 0.45 43 0.0156 3.33% 190 192.33 1.539 196 0.0614
S4 53.33% 42 42.5 0.57 44 0.0114 0 191 191.93 1.2847 195 0.0557
6 Z. Liu et al. / Automation in Construction 75 (2017) 1–9
Rules Case 1 In this approach, the finish time window of the selected activity j will
Success rate Optimal value Time(s)
be partitioned into some sub-windows. Here, we take two sub-win-
dows for example. The two sub-windows will be left: [EFj , Δj] and
Best Avg. Std. Worst. Avg.
right: [Δj + 1 , LFj]. In this case, there are two rules set to get Δj, which
R1 S1 100.00% 42 0 0 42 0.0354 have been proposed in our previous work [26].
S2 100.00% 42 0 0 42 0.0338
R1. Average: Decompose the original time window into two equal
S3 100.00% 42 0 0 42 0.0557
S4 100.00% 42 0 0 42 0.03537
sub-windows. ⌈.⌉ is the minimum integer not less than “.”.
R2 S1 100.00% 42 42 0 42 0.0551
S2 100.00% 42 42 0 42 0.0523 Δ j ¼ ⌈ L F j −E F j =2þE F j ⌉ ð13Þ
S3 100.00% 42 42 0 42 0.0536
S4 100.00% 42 42 0 42 0.0556
R2. Biased: Select the best finish time of activity j generated in the
R3 S1 100.00% 42 42 0 42 0.0322
S2 96.67% 42 42.033 0.1826 43 0.0458 initial scheduling as the decomposition time point.
S3 100.00% 42 42 0 42 0.0307
S4 100.00% 42 42 0 42 0.0343 Δ j ¼ FT j 0 ð14Þ
This strategy considers the degree of transitive successors and tran- In this section we present the results of numerical experiments. In
sitive predecessors of activity j on the basis of S3. the analysis of experimental results, we firstly discuss the results by
Table 5
Results comparison between different strategies in sampling size 5000.
Success rate Optimal value Time(s) Success rate Optimal value Time(s)
Best Avg. Std. Worst. Avg. Best Avg. Std. Worst Avg.
[31] P. Kenneth, R.M. Storn, J.A. Lampinen, Differential Evolution: a Practical Approach to [33] W. Herroelen, E. Demeulemeester, B. De Reyck, A classification scheme for project
Global Optimization, Springer-Verlag, Berlin Heidelberg, 2005, ISBN 978-3-540- scheduling, Project Scheduling: Recent Models, Algorithms and Applications,
31306-9http://dx.doi.org/10.1007/3-540-31306-0. Springer, US, ISBN: 978-1-4613-7529-6 1999, pp. 1–26, http://dx.doi.org/10.1007/
[32] M. Hajdu, Point-to-point versus traditional precedence relations for modeling activ- 978-1-4615-5533-9_1.
ity overlapping, Procedia Eng. 123 (2015) 208–215, http://dx.doi.org/10.1016/j.
proeng.2015.10.079.