Method for scheduling resource-constrained project by invasive weed optimization
Granted 16 Jan 2024 · no office action yet
Assignee: GUANGZHOU METRO DESIGN & RESEARCH INSTITUTE CO., LTD.
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Xingzhong Nong, Haiou Shi, Wenqu Zeng, Yunlin Zhang +2 · Examiner: Bing Zhao · AU 2198 · TC 2100
Life of the application
6 dated eventsAbstract
Provided is a method for scheduling resource-constrained project by IWO. The method establishes a resource-constrained project scheduling model first, converts the project scheduling issue in actual engineering into the combination and optimization in a mathematical model, then the optimization aims at minimizing the project total duration, while considering the immediate predecessor/successor constraints of the project activities and a variety of renewable resource constraints, to construct project scheduling model, lastly IWO is used to seek the solution for large-scale project scheduling. In the solution process, a right-shift decoding strategy was designed to rectify the ineligible solutions that occurred during the generation of weed seeds, ensure that all solutions are in compliance with the immediate predecessor/successor constraints of the project activities, and improve the efficiency of algorithm. Solution efficiency. The resource-constrained project scheduling scheme of the present invention can effectively shorten the total construction period of large-scale project.
Description
7 parts›CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims priority to PCT Application No. PCT/CN2020/097665, having a filing date of Jun. 23, 2020 based on Chinese application No. 202010310920.9 having a filing date of Apr. 20, 2020, the entire contents of foresaid documents are hereby incorporated by reference.
›TECHNICAL FIELD
The following relates to the field of construction project scheduling.
›BACKGROUND OF INVENTION
Construction project involves not only many entities, e.g. proprietors, general contractor, design institutes, construction enterprises, operation maintenance organization during the design and construction process, but also dozens of professional aspects in relation to the design and implementation of construction, structure, ventilation, water supply and drainage, safety control, geology condition and so on. Massive information can be generated in design drawings, construction and operation maintenance among the entities and professional aspects. Although the information can be obtained through the BIM system, each entity may only involve the limited resource apart from their professional aspect, and the dynamical information brings challenges to the resource allocation and scheduling in each sub-project and its activities. It is often necessary to re-schedule each sub-project and its activities constantly based on the information. In view of the entirely massive scale schedule due to the number of sub-projects and activities, the conventional solution of scheduling resource-constrained project is thereby challenged in terms of efficiency and accuracy, and an effective solution of scheduling resource-constrained project is needed to improve the overall efficiency of the project.
The resource-constrained project scheduling has been proved to be a complex and strong non-deterministic polynomial-time hard (NP-hard) problem. From the solution point of view, the algorithms for solving the Resource Constrained Project Scheduling Problem (RCPSP) and its extended problems have three categories including an exact algorithm, a heuristic algorithm, and meta-heuristic algorithm (intelligent algorithm). Although the exact algorithm can obtain theoretically optimal solutions, it applies to small-scale solution only, whereas an approximate algorithm is initially applied to solve large-scale RCPSP problems. Since the scheduling scheme was proposed in 1963, various heuristic algorithms have been applied to the problems, but they have no optimal abilities and there were always no satisfactory solutions due to the affect from the problem itself. The meta-heuristic algorithms and intelligent algorithms were utilized to develop the solution in problem, for example, Simulated Annealing (SA) in local search is introduced to solve RCPSP problems, and the evolutionary algorithm (e.g. Genetic Algorithm, GA) and the swarm intelligence algorithm (e.g. Ant Colony Optimization, ACO) have been widely used in solving RCPSP problems.
Invasive Weed Optimization (IWO) is a novel, simple and effective numeric optimization algorithm, which was proposed by Lucas and Mehrabian in 2006. The algorithm was inspired by the aggressive propagation of weeds. Its optimization process simulates the colonization process of weeds and is highly robust, adaptive and random. The researches have shown that the IWO has excellent performance in solving large-scale scheduling problems. However, for the problem of project scheduling, the IWO is unable to avoid the ineligible solutions in the process of generating seeds, resulting in a low efficiency of the algorithm. In view of this problem, the present invention discloses a right-shift decoding strategy to rectify the ineligible solutions that occurred in the process of generating weeds seed, and to improve the efficiency of algorithm while ensuring the optimization effect, realizing IWO for solution of scheduling resource-constrained project, a large-scale resource-constrained project in particular.
›SUMMARY OF THE INVENTION
An aspect relating to a method for scheduling resource-constrained project by IWO, this method can avoid the ineligible solutions in the resource-constrained project scheduling.
The method for scheduling resource-constrained project by IWO, according to the present invention, comprises the following processes:
1. Establishing a mathematical model for optimizing the resource-constrained project scheduling.
The research for the resource-constrained project scheduling problem is how to optimize the scheduling of certain management objectives in the projects containing variously constrained activities in immediate predecessor/successor sequence in the condition of constrained resource, the details are as follows: Firstly, a project is supposed to be comprised of a set of activities J={0, 1, 2, . . . , n+1}, wherein the activities 0 and n+1 in this set are dummy activities, and represent the beginning and end of the project only without relating to the time and resources; j denotes a certain activity in the set, apart from the dummy activities, j∈J, P j denotes a set of immediate predecessor activities of j, and S j denotes a set of immediate successor activities of j; t; denotes the time duration of activity j, st j denotes the start time of the activity j; the project requires k kinds of resources, q denotes one of these resources, r jq denotes the demand amount for the resource q in unit time in the activity j, b q is maximum supply of the resource q in unit time; the time duration of project can be discretized, e.g. d={1, 2, . . . , T} where d is the timing of the discretized time duration, and T is the total time period of project; A d ={j|st j <d≤st j +t j } where A d is the set of activities that are being executed at the timing d; Secondly, the mathematical model for optimizing the resource-constrained project scheduling can be established below on the basis of the above assumption.
Step 1: Setting parameters. Setting initial population size Q size , maximum population number Q max , maximum seed number S max , minimum seed number S min , initial standard deviation σ init , final standard deviation σ final , maximum iteration number iter max and non-linear harmonic index N. Step 2: Initializing population. Initializing the weed population, wherein each individual weed includes a first code layer and a second code layer; the first code layer includes n+1 decimals between 0 and 1 that are generated randomly, to form a position code denoting the position of the weed; the second code layer includes a plurality of numbers denoting the sequence of activities, where each number corresponds to the sequence position of each decimal, as all the decimals are sequenced from small to large, such that all of these numbers become an activity sequence; the process of converting the position code in the first code layer to the activity sequence in the second code layer is called a conversion; each activity sequence, which corresponds to an individual weed, is a feasible solution for project scheduling, and its corresponding position code in the first code layer denotes the position of the feasible solution; meanwhile, as there are the immediate predecessor/successor constraints between the project activities, it is necessary to adjust the generated activity sequence through the right-shift decoding strategy and make it become the eligibly feasible solution in compliance with the immediate predecessor/successor constraints, using the following ways: Starting from the first position on the activity sequence, determine whether there is an immediate predecessor activity in the sequence after the activity. If not, it means that the immediate predecessor/successor activities have ended, thereby this activity can be initiated, and the position denoted by the sequence number in the activity sequence is unchanged. If there is an immediate predecessor activity in the sequence after this activity, it means that the immediate predecessor activities of this activity have not yet ended, thereby this activity cannot be initiated, and its sequence number needs to move backward to the last position of the sequence; then continuing such determination for all activities in the sequence, until an complete activity sequence that meets the immediate predecessor or successor constraints is obtained, and such activity sequence is an eligible feasible solution for the project. Therefore, the initial weed population is formed by Q size weed individuals that generated by the above-mentioned population initialization operation and meet the eligible feasible solution. Step 3: Executing an iteration of the weed population, and calculating the fitness value of the weed. Multiplying the reciprocal of the objective function (1/T) by the coefficient C as the fitness function Fitness, i.e. Fitness=C/T, C is a constant, to calculate the fitness value of all weed individuals in the population. Step 4. Calculating the number of seeds propagated by each individual weed in the population, and update the standard deviation of this iteration. The number of seeds, weed, produced in the reproduction process of each individual weed is proportional to the fitness value f of the weed, the equation is as follows:
The present invention has the following benefits compared to the prior art.
1. As the limitation of the IWO optimization, IWO has not currently been applied to the field of project scheduling. This present invention improves the algorithm encoding and decoding method, and applies IWO to seek the solution of scheduling resource-constrained project. The present invention has obvious optimization effect, and certain advantages over other intelligent algorithms, especially when the project size increases. 2. The present invention establishes a right-shift decoding strategy, and avoids the ineligible solutions in the resource-constrained project scheduling, whereas the current method is usually to discard the ineligible solutions directly until the eligible solution appears when dealing with such problem in the prior art. The method according to the present invention improves the efficiency of algorithm greatly and makes the algorithm simple and feasible.
›BRIEF DESCRIPTION OF DRAWINGS
FIG. 1 shows the propagation process of weeds according to the present invention;
FIG. 2 is a flow chart of IWO according to the present invention.
›DETAILED DESCRIPTION OF THE INVENTION · 1 of 2
Some examples in Project Scheduling Problem Library (PSPLIB) are utilized, and 5 sets of initial input data, in 4 working conditions that have 30, 60, 90, 120 activities respectively, are selected here randomly. This project in PSPLIB involves four kinds of renewable resources. Each activity has a certain demand for one or more resources in unit time, and each resource has a maximum supply in unit time.
Embodiment
1. Determining the description and assumption for the resource-constrained project scheduling problem, and establishing a mathematical model for optimizing the resource-constrained project scheduling.
The research for the resource-constrained project scheduling problem is how to optimize the scheduling of certain management objectives in the projects containing variously constrained activities in immediate predecessor/successor sequence in the condition of constrained resource, the details is as follows: Firstly, a project is supposed to be comprised of a set of activities J={0, 1, 2, . . . , n+1}, wherein the activities 0 and n+1 in this set are dummy activities, and represent the beginning and end of the project only without relating to the time and resources; j denotes a certain activity in the set, apart from the dummy activities, j∈J, P j denotes a set of immediate predecessor activities of j, and S j denotes a set of immediate successor activities of j; t; denotes the time duration of activity j, st j denotes the start time of the activity j; the project requires k kinds of resources, q denotes one of these resources, r jq denotes the demand amount for the resource q in unit time in the activity j, b q is maximum supply of the resource q in unit time; the time duration of project can be discretized, e.g. d={1, 2, . . . , T} where d is the timing of the discretized time duration, and T is the total time period of project; A d ={j|st j <d≤st j +t j } where A d is the set of activities that are being executed at the timing d; Secondly, the mathematical model for optimizing the resource-constrained project scheduling can be established below on the basis of the above assumption.
According to the examples selected from PSPLIB, the initial data in the four working conditions, i.e. n=30, n=60, n=60 and n=90, is input to the Equations (1)-(8). In addition to data n, the data also comprises the time duration t j of each activity, the immediate predecessor activities set P j , the immediate successor activities set S j , the resource demand r jq per unit time and the maximum supply b q of each resource per unit time, thereby a complete mathematical model for the certain example to optimize the resource-constrained project scheduling can be obtained.
2. The method for optimizing the solution by IWO is as follows:
Step 1: Setting parameters. Setting initial population size Q size =5, maximum population number Q max =20, maximum seed number S max =10, minimum seed number S min =0, initial standard deviation σ init =100, final standard deviation σ final =0.01, maximum iteration number iter max =50, non-linear harmonic index N=3. Step 2: Initializing population. Initializing the weed population, wherein each individual weed includes a first code layer and a second code layer. The first code layer includes n+1 decimals between 0 and 1 that are generated randomly, to form a position code denoting the position of the weed. The second code layer includes a plurality of numbers denoting the sequence of activities, where each number corresponds to the sequence position of each decimal, as all the decimals are sequenced from small to large, such that all of these numbers become an activity sequence. The process of converting the position code in the first code layer to the activity sequence in the second code layer is called a conversion; each activity sequence, which corresponds to an individual weed, is a feasible solution for project scheduling, and its corresponding position code in the first code layer denotes the position of the feasible solution. Meanwhile, as there are the immediate predecessor/successor constraints between the project activities, it is necessary to adjust the generated activity sequence through the right-shift decoding strategy, to make it become the eligibly feasible solution in compliance with the immediate predecessor/successor constraints, using the following ways: Starting from the first position on the activity sequence, determine whether there is an immediate predecessor activity in the sequence after the activity. If not, it means that the immediate predecessor/successor activities have ended, thereby this activity can be initiated, and the position denoted by the sequence number in the activity sequence is unchanged. If there is an immediate predecessor activity in the sequence after this activity, it means that the immediate predecessor activities of this activity have not yet ended, thereby this activity cannot be initiated, and its sequence number needs to move backward to the last position of the sequence; then continuing such determination for all activities in the sequence, until an complete activity sequence that meets the immediate predecessor or successor constraints is obtained, and such activity sequence is an eligible feasible solution for the project. Therefore, the initial weed population is formed by Q size weed individuals that generated by the above-mentioned population initialization operation and meet the eligible feasible solution. Step 3: Executing an iteration of the weed population, and calculating the fitness value of the weed. Multiplying the reciprocal of the objective function (1/T) by the coefficient C as the fitness function Fitness, i.e. Fitness=C/T, C is a constant, to calculate the fitness value of all weed individuals in the population. Step 4. Calculating the number of seeds propagated by each individual weed in the population, and update the standard deviation of this iteration. The number of seeds, weed, produced in the reproduction process of each individual weed is proportional to the fitness value f of the weed, the equation is as follows:
›DETAILED DESCRIPTION OF THE INVENTION · 2 of 2
Performing numerical experiments using Matlab2014b platform, utilizing IWO to get a solution for the resource-constrained project scheduling problem in the PSPLIB, and comparing the solution with the current optimal solution and the solution by Genetic Algorithm (GA). Calculating 10 times in each working condition, and recording the optimal solution (Upper Boundary, UB), the worst solution (Lower Boundary, LB) and the average value of the 10 calculation results. The experimental results are shown in Table 1, where opt is the current optimal solution in the PSPLIB, and GAP is the difference percentage between the two algorithms.
The experimental results show that IWO found the optimal solution in 10 operations at 4 scales. Compared with GA solution, the results by the two algorithms at scale 30 all reach the optimal solution. With the increase of scale, the IWO solution is gradually better than GA solution, the difference of the mean value in 10 operations is gradually increased, for example, the average difference percentage (based on the GAP in the above table) at scale 60 is 1.15%, the one at scale 90 is 2.97%, the one at scale 120 is 4.91%, and the GA solution at the scale 120 cannot guarantee that the optimal solution is reached within 10 operations. It can be seen that method for scheduling resource-constrained project by IWO, proposed in this application, is effective, especially, with the increase of project size, the optimization effect of the algorithm is more significant.
›Tables in the description — 2
| GAP | = | ||||||
| T | 1 | - | T | 2 | |||
| T | 2 | ||||||
| × | 100 | | % |
| IWO | GA | ||||||||
| aver- | aver- | GAP/ | |||||||
| Scale | Number | opt | UB | LB | age | UB | LB | age | % |
| 30 | 1 | 43 | 43 | 43 | 43 | 43 | 43 | 43 | 0 |
| 2 | 47 | 47 | 47 | 47 | 47 | 47 | 47 | 0 | |
| 3 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 0 | |
| 4 | 62 | 62 | 62 | 62 | 62 | 62 | 62 | 0 | |
| 5 | 39 | 39 | 39 | 39 | 39 | 39 | 39 | 0 | |
| 60 | 1 | 77 | 77 | 80 | 78.5 | 77 | 85 | 80.2 | 2.17 |
| 2 | 68 | 68 | 68 | 68 | 68 | 68 | 68 | 0 | |
| 3 | 76 | 76 | 79 | 77.1 | 76 | 79 | 77.8 | 0.91 | |
| 4 | 91 | 91 | 97 | 93.6 | 91 | 97 | 95.2 | 1.71 | |
| 5 | 73 | 73 | 76 | 73.9 | 73 | 76 | 74.6 | 0.95 | |
| 90 | 1 | 66 | 66 | 74 | 67.2 | 66 | 74 | 69.3 | 3.13 |
| 2 | 92 | 92 | 100 | 95.7 | 92 | 104 | 99.1 | 3.55 | |
| 3 | 73 | 73 | 80 | 76.7 | 73 | 80 | 78.5 | 2.35 | |
| 4 | 86 | 86 | 97 | 90.4 | 86 | 101 | 93.6 | 3.54 | |
| 5 | 87 | 87 | 98 | 91.9 | 87 | 98 | 94.0 | 2.29 | |
| 120 | 1 | 105 | 105 | 125 | 116.8 | 116 | 128 | 122.1 | 4.54 |
| 2 | 109 | 109 | 126 | 119.7 | 118 | 128 | 125.5 | 4.85 | |
| 3 | 125 | 125 | 136 | 129.3 | 125 | 136 | 133.6 | 3.33 | |
| 4 | 97 | 97 | 111 | 107.0 | 108 | 120 | 113.9 | 6.45 | |
| 5 | 112 | 112 | 124 | 117.6 | 112 | 129 | 123.9 | 5.36 |
Claims as granted
1 claimLog in to read the claims of this application.
Log in to unlockClassifications
5 codes- G06F9/46
- G06F9/48
- G06F9/50
- G06N3/006
- G06Q10/0631
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock