A method for optimizing resource scheduling for long-span bridge construction
Through task-resource binary coding and deep reinforcement learning network, combined with multi-objective reinforcement learning and domain knowledge, optimized scheduling decisions are generated, which solves the problems of unreasonable resource allocation and inaccurate construction period estimation in long-span bridge construction, and achieves Improve the intelligence and refinement of project management.
Patent Information
- Application Number
- CN202411047257.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-01
AI Technical Summary
There are problems in the construction of long-span bridges such as high technical difficulty, large management span, and many resource constraints, resulting in unsatisfactory project efficiency and benefits. Traditional construction organization and management relies on experience and heuristic rules, resulting in unreasonable resource allocation and inaccurate construction period estimates. allow.
Using task-resource binary encoding and a deep reinforcement learning network based on encoder-decoder, combined with multi-objective reinforcement learning paradigm and domain knowledge constraints, an optimized scheduling decision sequence is generated, and the dynamics of construction period and cost are realized through adaptive reward functions. Trade-offs to build an intelligent framework for automatically learning scheduling policies.
Significantly improves the intelligence and refinement level of large-scale and complex project plan management, generates high-quality and applicable scheduling plans, can achieve global optimization and dynamic trade-offs between multiple management objectives, alleviate the limitations of manual experience, and improve construction organization decision-making efficiency.
Smart Images

Figure CN118569609B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent optimization scheduling of engineering projects, and in particular to a method for optimizing scheduling of construction resources of a large-span bridge. Background Art
[0002] At present, my country is in a critical period of digital construction of new infrastructure. As an important part of the transportation network, the number of long-span bridge projects continues to increase, and the scale of construction continues to expand. However, the construction of long-span bridges generally faces challenges such as high technical difficulty, large management span, and multiple resource constraints. Traditional construction organization and management mainly rely on experience and heuristic rules, and often have problems such as high labor costs, unreasonable resource allocation, and inaccurate construction period estimation, resulting in unsatisfactory project efficiency and benefits.
[0003] How to use the new generation of information technology to transform the traditional engineering management model, scientifically allocate human resources, machinery and other resources, optimize construction plans, and shorten critical paths has become a common topic of concern in the current academic and engineering communities. The progress of information technology in recent years has brought new ideas for solving this problem. Summary of the invention
[0004] In order to solve the problems existing in the prior art, the present invention proposes a method for optimizing resource scheduling for large-span bridge construction. The method combines construction tasks and required resources into compact binary features, and extracts the deep semantics of tasks and resources through an encoder, and then directly generates an optimized scheduling decision sequence by a decoder. The multi-objective reinforcement learning paradigm is integrated to split the network output into two parallel decision branches of construction period optimization and cost optimization. Each branch interacts with the environment as an independent agent to generate a scheduling strategy, and realizes the dynamic trade-off of multiple objectives through an adaptive reward function. Field knowledge such as task topology constraints and resource occupancy restrictions is embedded in the reinforcement learning environment to guide the agent to generate a more practical and feasible scheduling solution. Finally, a distributed learning algorithm is used to efficiently train multiple scheduling agents, so that the trained model can quickly solve complex actual engineering scheduling problems. Specifically, a method for scheduling resources for large-span bridge construction includes the following steps:
[0005] Step 1: Establish task-resource binary coding. In view of the heterogeneity of long-span bridge construction tasks and the dynamic change of resource occupancy, a joint coding strategy is proposed. Each construction operation is defined as a "task-resource requirement" atomic unit, and the task attributes and resource occupancy are simultaneously encoded into the feature vector to enhance the feature expression capability. Task and The binary features of class resources are:
[0006] ;
[0007] in, For the The inherent attribute feature vector of each task includes static information such as duration, logical relationship between tasks before and after. For the The inherent properties of the class resource, including information such as resource quantity and unit cost; For the Tasks for The demand for class resources; and Respectively The above characteristics not only describe the heterogeneity of tasks, but also incorporate the differences and constraints of resources, providing complete information for subsequent scheduling optimization.
[0008] Step 2: Build a deep reinforcement learning network based on the encoder-decoder structure. Using the task-resource binary features obtained in step 1 as input, design an end-to-end neural network model to directly generate an optimized scheduling decision sequence from the original scheduling problem. The network consists of two modules:
[0009] Encoder: Use a bidirectional LSTM network to convert the input binary feature sequence Mapped into a set of latent semantic features ,Right now:
[0010] ;
[0011] in, is the total number of decision steps for the scheduling problem, is the total number of task-resource pairs. Represents a bidirectional LSTM network, which can better capture the bidirectional dependencies between features.
[0012] Decoder: Uses a multi-layer LSTM network to decode the feature vector output by the encoder into a series of scheduling decision actions , and introduces the attention mechanism to dynamically focus on different tasks:
[0013] ;
[0014] in, for Hidden state of the decoder at this moment; for The scheduling decision at the moment, that is, choosing to execute a feasible task; for At any time, according to the attention weight Aggregated context vector; and are the parameter matrices of the attention network. That is, Moment based on state Select Action The above network structure fully draws on the experience in the field of NLP, enabling the model to understand the internal logic of the scheduling problem and make reasonable decisions that meet the constraints.
[0015] Step 3: Introduce the multi-objective reinforcement learning paradigm. Considering that the construction scheduling of long-span bridges needs to take into account multiple management objectives such as construction period and cost, and there may be conflicts between the objectives, the multi-objective reinforcement learning paradigm can dynamically weigh different objectives according to actual needs. The output of the network is expanded into two parallel branches, corresponding to construction period optimization and cost optimization, respectively, expressed as:
[0016] ;
[0017] in, and They are Scheduling decisions for the selection of time-limited and cost-optimized branches, and is the state of the two branches, and is a parameterized decision strategy. The above structure gives the model the ability of multi-task learning, enabling it to flexibly switch between multiple objectives.
[0018] Different from classical reinforcement learning, this invention adopts the reward definition method of multi-objective reinforcement learning. The immediate reward of each branch is determined by the marginal benefit of the duration or cost. Defined as:
[0019] ;
[0020] in, for The cumulative duration of the tasks executed at the moment. It can be seen that completing the task as early as possible can get a higher reward. Similarly, the immediate reward of the cost branch Defined as:
[0021] ;
[0022] in, for The cumulative cost of resources consumed at the moment. Minimizing the incremental cost can get more rewards. Considering the discrete scheduling decision space, the optimization goal of the model is to maximize the expectation of the cumulative reward:
[0023] ;
[0024] in, and The state-action trajectories generated for the duration branch and the cost branch respectively, and is the trajectory distribution, is the reward attenuation factor. The policy gradient method can be used to optimize the above objective function:
[0025] ;
[0026] in, and They are the duration branch and the cost branch respectively. The action value function estimated at each moment. By continuously iterating the above gradient ascent process, the policy networks of the two branches can gradually learn to select the optimal action under a given state and seek a balance between multiple goals.
[0027] Step 4: Embed domain knowledge constraints. To further improve the rationality and feasibility of model-generated scheduling decisions, the present invention embeds construction domain knowledge and rule constraints into the state transfer and reward function of reinforcement learning. This includes the following aspects:
[0028] (1) Task precedence constraints;
[0029] (2) Resource usage constraints;
[0030] (3) Target value estimation;
[0031] Step 5: Training and inference. First, the Monte Carlo method is used to sample and estimate the gradient, and then the network parameters are updated based on the policy gradient theorem. After multiple rounds of iterations, the policy networks of the two branches will converge to the optimal solution set that balances the duration and cost. Based on the trained policy network, inference decisions are made on new scheduling problems from the perspectives of duration optimization and cost optimization.
[0032] The beneficial technical effects of the present invention are as follows: The present invention proposes a method for optimizing resource scheduling for large-span bridge construction, which comprehensively utilizes technologies such as task-resource binary encoding, multi-objective optimization, and domain knowledge constraints to construct an intelligent framework for automatically learning scheduling strategies. Compared with traditional heuristic algorithms and manual experience, this method can fully explore the inherent laws of engineering data, achieve global optimization and dynamic trade-offs among multiple key management objectives, and closely combine engineering practice to generate high-quality, highly applicable scheduling solutions. Therefore, the present invention significantly improves the level of intelligence and refinement of large-scale and complex project planning management, provides strong technical support for construction organization optimization decisions, and has good application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a flowchart of the steps of the present invention. DETAILED DESCRIPTION
[0034] like Figure 1 As shown, the method proposed in the present invention mainly includes 5 steps, which are step 1: establishing task-resource binary encoding; step 2: constructing a deep reinforcement learning network based on an encoder-decoder structure; step 3: introducing a multi-objective reinforcement learning paradigm; step 4: embedding domain knowledge constraints; step 5: training and inference. In conjunction with the accompanying drawings, the implementation steps and technical details of the resource scheduling optimization method for large-span bridge construction of the present invention are described in detail.
[0035] Step 1: Create a task-resource pair encoding.
[0036] The first step of this embodiment is to jointly encode all construction tasks and resources involved in the project according to the overall construction schedule of the project to be optimized. Here are some key points to grasp:
[0037] (1) Task granularity division. All process activities in the overall construction schedule are further divided into several task units. The granularity division needs to balance the modeling accuracy and computational complexity: too rough task division may not accurately describe the dynamic changes in resource occupancy, while too detailed division will significantly increase the computational burden. This embodiment recommends the smallest construction unit that can continuously occupy the same type of resources. For example, "reinforcement binding of the first section of the second floor of the third section" is taken as a task unit.
[0038] (2) Task attribute extraction. For each task unit, extract its inherent spatiotemporal attribute characteristics, such as operation section, duration, preceding task, and succeeding task, to form a task attribute vector To simplify the representation, each attribute value can be normalized and encoded in advance. For example, the operation segment can be mapped to a unique integer ID, and the duration can be normalized to the interval [0, 1].
[0039] (3) Resource attribute extraction. According to the construction organization design and resource allocation plan, determine the demand for various resources for each task unit, such as the use time of the tower crane, the amount of steel bars used, the area of the formwork, etc., to form a resource attribute vector Similarly, the original demand can be normalized for the convenience of subsequent processing.
[0040] (4) Time window calculation. Use construction schedule optimization software or critical path method to estimate the earliest start time of each task unit. and the latest start time This time window can provide an important reference for subsequent scheduling decisions. It should be noted that and It may change dynamically. When the actual completion time of the predecessor task of a task unit is determined, its time window also needs to be updated synchronously.
[0041] (5) Two-tuple construction. Comprehensive task attributes , Resource attributes , Resource Requirements , Time Window , , you can construct a complete task-resource binary feature :
[0042] ;
[0043] Step 2: Build a deep reinforcement learning network based on the encoder-decoder structure.
[0044] This step aims to design an end-to-end deep neural network , used to directly extract the feature matrix from the task-resource binary Learn the optimal scheduling strategy and generate a sequence of scheduling decisions about the start time of each task The core of the network is an encoder-decoder structure:
[0045] (1) Encoder. A multi-layer bidirectional LSTM network is used to transform the input binary feature matrix Mapped into a set of hidden semantic feature sequences :
[0046] ;
[0047] Bidirectional LSTM can better capture the bidirectional dependencies between tasks and explore the rules of resource collaboration. Next, we will introduce the calculation process of forward and backward LSTM respectively.
[0048] For The time step task unit, the forward LSTM state is updated as:
[0049] ;
[0050] in, for Moment The forward hidden state of each task unit, Initialized to an all-zero vector, is the hidden state dimension. is the LSTM unit function, and its formula is:
[0051] ;
[0052] in, They are input gate, forget gate, cell state, and output gate. is the cell state vector at the current time step, Represents element-wise multiplication. and are the model parameters to be learned.
[0053] Similarly, the backward LSTM state The update formula is:
[0054] ;
[0055] Note that the backward LSTM is from time step Start by recursively calculating the hidden state forward, the initial value Also set to an all-zero vector.
[0056] Finally, the forward hidden state and the backward hidden state Splice to get Time step The final hidden feature of the task:
[0057] ;
[0058] All time step The hidden features of the task units are connected to obtain the output feature sequence of the encoder .
[0059] (2) Decoder. A multi-layer LSTM network is used to encode feature sequences. As input, it autoregressively decodes the task start probability distribution at each time step. The decoding process focuses on the hidden features of different time steps through the attention mechanism.
[0060] Specifically, at each decoding step The decoder LSTM firstly calculates the hidden state of the previous step , the scheduling decision of the previous step And attention aggregation features Update the hidden state:
[0061]
[0062] Next, using the hidden state Calculate the encoding features The attention weights at each time step in:
[0063] ;
[0064] That is The context vector that we are always paying attention to. and Splicing, obtained through a multi-layer perceptron The probability distribution of task start at time :
[0065] ;
[0066] in, and are the learnable parameters of the attention network. express The tasks in Whether construction has started at this time.
[0067] Step 3: Introduce the multi-objective reinforcement learning paradigm.
[0068] In order to strike a balance between multiple objectives such as construction period and cost, this embodiment innovatively expands the output of the decoder into two parallel decision branches, corresponding to construction period optimization and cost optimization respectively.
[0069] Specifically, the environment state is defined as ,in:
[0070] :Each task is The completion status of the moment, 1 if completed, otherwise 0;
[0071] : The actual start time of each task. The value of unstarted tasks is 0.
[0072] : Resources in Cumulative occupancy at the time;
[0073] : Current scheduling time, initial ;
[0074] The decoder Hidden state at the moment Input two independent multi-layer perceptrons and , generating task start probability distributions with respect to duration and cost and :
[0075]
[0076] and They are parameterized duration optimization and cost optimization strategies. Next, the optimization objectives and training methods of the two branches are explained respectively.
[0077] For the construction period optimization branch, the decision at each time step is After that, the environment state is transferred according to the following rules:
[0078] ;
[0079] in, It is the resource requirement matrix of each task unit. At the same time, the environment feedbacks the instant reward:
[0080] ;
[0081] The above formula indicates that if the scheduling decision satisfies the resource upper limit constraint , then the reward is the negative value of the actual start time increment of the completed task, otherwise a large negative penalty is imposed When the constraints are satisfied, the smaller the start time increment, the higher the reward. This guides the agent to learn to start work as early as possible and shorten the construction period.
[0082] Strategic network for construction period optimization branch The REINFORCE algorithm is used for training, and its goal is to maximize the expected cumulative reward:
[0083] ;
[0084] in is a complete state-action trajectory. The gradient of the objective function is:
[0085] ;
[0086] in The state-action value function is estimated by Monte Carlo:
[0087] ;
[0088] The training method of the cost optimization branch is similar to that of the duration branch, except that the immediate reward of environmental feedback is the cost of adding new resource occupancy for each time step:
[0089] ;
[0090] in is the unit cost of each resource. The optimization goal is to minimize the total cost, that is, to maximize the expected cumulative reward of the negative value of the cost:
[0091] ;
[0092] The policy networks of the two branches are trained separately, and the parameters are averaged regularly at the connection layer to achieve information sharing. In addition, considering the trade-off between the two objectives, this embodiment proposes an adaptive weight adjustment strategy: dynamically updating the relative weights of the duration and cost objectives according to the current default risk.
[0093] set up and is the initial weight, satisfying In the After iterations, calculate the estimated duration of the current scheduling solution and estimated costs , respectively, and the theoretical optimal value and Compare and update the weights as:
[0094] ;
[0095] Then normalize the updated weights:
[0096] ;
[0097] From the formula, we can see that if or The closer it is to its optimal value, the smaller the penalty coefficient is, and the slower the corresponding target weight decreases. On the contrary, if it deviates from the optimal value, the weight decreases faster. Control the rate of weight adjustment. Experiments show that adaptive adjustment of weights helps the algorithm maintain a dynamic balance between the two objectives and avoid over-optimization of a single objective.
[0098] Step 4: Embed domain knowledge and constraints.
[0099] To further improve the feasibility of the scheduling scheme, this embodiment also uses construction domain knowledge and rules to constrain and guide the search space of the model:
[0100] (1) For the task precedence constraint, the technical logic relationship between task units is represented as a directed acyclic graph (DAG) to construct an adjacency matrix When the task Must be on task When you can start after you finish, .Will As part of the environment state, state transition constraints are introduced:
[0101] ;
[0102] Indicated in Always The scheduling decision vector of tasks, where For the The tasks in Whether the moment has started.
[0103] Represents the dependency adjacency matrix between tasks, where If and only if the task Dependent tasks Completed, otherwise . for The transpose of .
[0104] Indicates that each task is The execution state vector at time Representation Task Completed, Indicates the task Not yet completed.
[0105] The above formula ensures that At this moment, the start probability of a task can be non-zero only if all its predecessor tasks have been completed. At the same time, the DAG constraint penalty term is set in the reward function:
[0106] ;
[0107] If the scheduling decision violates the DAG constraint, that is, there are unfinished predecessor tasks, the reward value will be penalized The above two methods work together to guide the agent to follow the construction process logic.
[0108] (2) For resource occupation constraints, a penalty mechanism based on resource occupation conflicts is designed to modify the immediate rewards for over-limit decisions:
[0109] ;
[0110] when The scheduling decision at the moment makes the resource usage at the next moment Beyond Constraints When , the immediate reward will be punished, where This design forces the agent to optimize scheduling within limited resource constraints and avoid generating infeasible decision sequences.
[0111] (3) For target value estimation, the shortest construction period calculated based on the critical path method is and lowest cost As the lower bounds of duration and cost optimization, they are included in the reward function: when the actual duration or actual cost When the performance is better than the lower bound, additional positive incentives are introduced in the immediate reward. The immediate reward for the duration branch is modified to:
[0112] ;
[0113] The immediate bonus of the cost branch is modified to:
[0114] ;
[0115] in is the incentive coefficient.
[0116] Step 5: Training and inference.
[0117] In model training, the Monte Carlo method is first used to sample and estimate the gradient, and then the network parameters are updated based on the policy gradient theorem. The sampling trajectory of the episode, the unbiased estimate of the objective function gradient is:
[0118] ;
[0119] in and Respectively represent Among the sampling trajectories, The discount is accumulated after the step.
[0120] Substituting the above estimated values into the Adam optimizer, the policy network can be and The parameters are updated.
[0121] After multiple rounds of iterations, the policy networks of the two branches will converge to the optimal solution set that balances the duration and cost. Based on the trained policy network, inference decisions can be made for new scheduling problems from the perspectives of duration optimization and cost optimization. The steps of the inference process include:
[0122] (1) Based on the new overall construction schedule, construct the task-resource binary feature matrix according to the method in step 1 ;
[0123] (2) Use the trained encoder to Encoded as a hidden feature sequence ;
[0124] (3) Input decoders of construction period optimization branch and cost optimization branch;
[0125] (4) Follow the environment settings during training and use and Sampling at each time step generates scheduling decisions and ;
[0126] (5) Output two sets of scheduling decision sequences regarding optimal construction period and optimal cost respectively.
[0127] It should be pointed out that due to the many uncertainties in the actual construction process, the scheduling decision output by the model should be regarded as a support rather than the only answer. Project managers can combine the model recommendation plan with experience judgment and flexibly adjust and optimize according to dynamically changing construction conditions and management goals. This embodiment provides a new idea for end-to-end learning of construction scheduling knowledge, aiming to reduce the limitations of manual experience, improve scheduling efficiency and decision-making level, and provide managers with more intelligent and refined decision-making support tools.
Claims
1. A method for optimizing resource scheduling for long-span bridge construction, characterized in that: The method comprises the following steps: Step 1: Establish task-resource binary encoding, specifically: define each construction operation as a "task-resource requirement" atomic unit, and simultaneously compile task attributes and resource occupancy into feature vectors to enhance feature expression capabilities. Task and The binary features of class resources are: ; in, For the The inherent attribute feature vector of each task, including the static information of duration and logical relationship between the task and the task; For the The inherent attributes of the class resource, including resource quantity and unit cost information; For the Tasks for The demand for class resources; and Respectively The earliest and latest start times of each task; Step 2: Construct a deep reinforcement learning network based on the encoder-decoder structure, which specifically includes: taking the task-resource binary features obtained in step 1 as input, designing an end-to-end neural network model to directly generate an optimized scheduling decision sequence from the original scheduling problem. The network consists of two modules: encoder and decoder; encoder: uses a multi-layer bidirectional LSTM network to convert the input binary feature sequence into Mapped into a set of latent semantic features ; Decoder: Use a multi-layer LSTM network to decode the feature vector output by the encoder into a series of scheduling decision actions , and introduces the attention mechanism to dynamically focus on different tasks; Step 3: Introduce a multi-objective reinforcement learning paradigm, specifically including: the multi-objective reinforcement learning paradigm dynamically weighs different objectives according to actual needs to expand the output of the network into two parallel branches, corresponding to construction period optimization and cost optimization, respectively, expressed as: ; in, and They are Scheduling decisions for the selection of time-limited and cost-optimized branches, and is the state of the two branches, and For parameterized decision strategies; Specifically, the environment state is defined as ,in: :Each task is The completion status of the moment, 1 if completed, otherwise 0; : The actual start time of each task. The value of unstarted tasks is 0. : Resources in Cumulative occupancy at the time; : Current scheduling time, initial ; The decoder Hidden state at the moment Input two independent multi-layer perceptrons and , generating task start probability distributions with respect to duration and cost and : ; For the construction period optimization branch, the decision at each time step is After that, the environment state is transferred according to the following rules: ; in, It is the resource requirement matrix of each task unit; at the same time, the environment feedbacks instant rewards: ; Strategic network for construction period optimization branch The REINFORCE algorithm is used for training, and its goal is to maximize the expected cumulative reward: ; in is a complete state-action trajectory; For the cost optimization branch, the immediate reward of environmental feedback adds the cost of resource occupation for each time step: ; in is the unit cost of various resources, and the optimization goal is to minimize the total cost, that is, to maximize the expected cumulative reward of the negative value of the cost: ; The policy networks of the two branches are trained separately, and the parameters are averaged regularly at the connection layer. is the reward attenuation factor; Step 4: Embed domain knowledge constraints, specifically: (1) Task precedence constraint: The technical logical relationship between task units is represented as a directed acyclic graph (DAG) to construct an adjacency matrix. ; When the task Must be on task When you can start after you finish, ;Will As part of the environment state, state transition constraints are introduced: ; Indicated in Always The scheduling decision vector of tasks, where For the The tasks are Whether the moment has started; Represents the dependency adjacency matrix between tasks, where If and only if the task Dependent tasks Completed, otherwise ; for The transpose of Indicates that each task is The execution state vector at time Representation Task Completed, Representation Task It is not yet finished; The above formula ensures that At this moment, the start probability of a task can be non-zero only when all its predecessor tasks have been completed; at the same time, the DAG constraint penalty term is set in the reward function: ; If the scheduling decision violates the DAG constraint, that is, there are unfinished predecessor tasks, the reward value will be penalized ;The above two methods work together to guide the agent to follow the construction process logic; (2) Resource occupation constraints: design a penalty mechanism based on resource occupation conflicts to modify the immediate rewards for over-limit decisions: ; when The scheduling decision at the moment makes the resource usage at the next moment Beyond Constraints When , the immediate reward will be punished, where represents the penalty intensity; this design forces the agent to optimize scheduling within limited resource constraints and avoid generating infeasible decision sequences; (3) Target value estimation, the shortest construction period calculated based on the critical path method and lowest cost As the lower bounds of duration and cost optimization, they are included in the reward function: when the actual duration or actual cost When the result is better than the lower bound, additional positive incentives are introduced in the immediate reward; the immediate reward of the duration branch is modified to: ; The immediate bonus of the cost branch is modified to: ; in is the incentive coefficient; Step 5: Training and inference, specifically: first use the Monte Carlo method to sample and estimate the gradient, and then update the network parameters based on the policy gradient theorem; after multiple rounds of iterations, the policy networks of the two branches will converge to the optimal solution set that balances the duration and cost; based on the trained policy network, make inference decisions on new scheduling problems from the perspectives of duration optimization and cost optimization.
Citation Information
Patent Citations
Effective method for solving multi-target resource-constrained project scheduling
CN104217293A
