Abstract
This paper studies a Container Trucks (CTs) dynamic dispatching strategy in which multiple tasks are matched with multiple CTs and proposes Multi-Agent contract net protocols based on two-way negotiation mechanism. It could assign optimal tasks to CTs through tendering, bidding and contracting of tasks. Fuzzy set theory and method is adopted to couple multiple factors on the tasks to assess to their dispatching emergency degree in the process. One of the factors is the distance from the current position of CT to the loading/unloading position. Through judging obstruction status by using related data of the GPRS system, the steps of ant colony algorithm are designed to find the predicted travel distance of the optimal route. After fuzzification and defuzzification in MATLAB, the decision query table of dispatching plan is obtained. Finally, a case study is given to describe the scheduling scheme in detail.
Access provided by CONRICYT-eBooks. Download conference paper PDF
Similar content being viewed by others
Keywords
- Container truck dynamic scheduling
- Multi- agent system
- Fuzzy control
- Ant colony algorithm
- Path optimization
1 Introduction
The loading/unloading equipment at most container terminals in China are mainly Quay Cranes (QCs), Yard Cranes (YCs) and CTs. The scheduling system of CTs is well known to possess complex logistics system characteristics for there are many factors effecting scheduling, such as time, space, resources, and uncertain factors. Optimize the scheduling system is meaningful, which can improve the efficiency of loading and unloading.
The physical entity resource network and the control decision-making information network were integrated into the modeling and optimization architecture using Harvard architecture and Agent based computing [1, 2]. In [3], Relationship between transport tasks and service of CTS has been taken as a contract net using the fuzzy set theory and method. The dispatching model based on Contract Network Protocol (CNP) using bidirectional negotiation is provided and fuzzy reasoning process of dispatching decisions is suggested. But the distance from the current position of CT to the loading/unloading position is calculated by the established coordinate system. In the case of road congestion, CT should choose a smooth route, so the distance should be the length of the route. Recently, the path planning problem is a hot research area [4, 5], the main algorithms used are genetic algorithm, ant colony algorithm and so on.
This paper proposes Multi-Agent contract net protocols based on two-way negotiation mechanism. The fuzzy control system is designed to couple multiple factors on the tasks to assess to their dispatching emergency degree. The steps of ant colony algorithm considering obstruction status were designed to find the optimal route. After fuzzification and defuzzification, the decision query table of dispatching plan is obtained.
2 MAS Framework of Container Terminal Scheduling
Container terminal consists of containers, ships, handling equipment (QC, YC, and CT) communication equipment, berths, container yards and human resource, etc. Superior and subordinate subsystems have command and obedience relationships, and parallel subsystems have collaboration, consultation, competitive relationships. Figure 1 shows the hierarchical structure of the whole system.
As we can see, there are three types of individual agents, namely Control Agent (fixed), Execution Agent (moving with wireless mobile terminal) and Operation (Mobile) Agent (dynamically generated).
Operation Agents are created dynamically and freely by the Central Processing Agent throughout the whole system just like computer software, and they are assigned by the Control Agent, executed by the Execution Agent.
3 Dynamic Dispatching Strategy
In the traditional static scheduling mode, the truck is unloaded at half of the distance. A dynamic dispatching strategy in which multiple tasks are matched with multiple CTs is adapted in this study, which can guarantee the truck in the idle state can be quickly put into the operation point which needs trucks. So how to arrange a truck for the task should be considered. In this paper, considering the load of communication and consultation efficiency in system, Multi-Agent contract net protocols based on two-way negotiation mechanism was adopted to achieve the best arrangement. Figure 2 shows the contract net.
In the contract negotiation protocol Agent network, different types of equipment in collaboration between the task request and response with announcing, bidding, and awarding in contract net. In evaluating tender, fuzzy set theory and method is adopted to couple multiple factors on the tasks to assess to their dispatching emergency degree. The higher evaluation of dispatching emergency is, the greater probability to select the CT is.
4 Fuzzy Set Theory and Method
The structure of fuzzy reasoning controller is shown in Fig. 3. Here are the two inputs, namely, predicted travel distance, priority of handling operation. The output is dispatching emergency degree. Dispatching decision knowledge set consists of n subset, R1, R2, … Rn. Each subset contains some knowledge of dispatching decision, which is described in a matrix form according to certain rules. The input information is given according to bidding document and database of Agents. The meaning or interpretation of the function module is based on the input linguistic variables to determine its value corresponding fuzzy sets A1, A2; Effect of fuzzy reasoning is to use and expertise subset R1, R2,… Rn, and the information of synthesis module A to obtain comprehensive information on the fuzzy relation composition operations in order to generate output result. The result is also indicated by fuzzy sets. Linguistic matching function with the fuzzy decision module is translate the result into output language, or the result of this reasoning is converted to exact amount of that task dispatching emergency degree, to which Agents can refer to bid.
Heavy weights and the closed space on the dock make the truck more likely to be involved in traffic crash which leads to road congestion. So the travel time and distance from the current position of CT to the loading/unloading position cannot just calculated according to the shortest route. Through judging obstruction status, the steps of ant colony algorithm were designed to find the optimal route. Then the predicted travel distance and time can be calculated.
4.1 The Ant Colony Algorithm Design for the Optimal Route of Container Truck Definition and Control of Congestion
Definition and Control of Congestion.
Traffic flow model is a kind of math equation to express the correlation of traffic parameters like speed, density and flux etc. Obstruction status can be judged according to related data gathered by GPRS. Take the spur track i → j for instance.
- \( {\text{u}}_{\text{ij}} \)::
-
The vehicle speed
- \( {\text{u}}_{\text{ijf}} \)::
-
The free driving speed
- \( {\text{k}}_{\text{ij}} \)::
-
The vehicle density
- \( {\text{k}}_{{{\text{ij}}0}} \)::
-
The jam density
- \( {\text{q}}_{\text{ij}} \)::
-
The traffic flux
Suppose the average minimum distance headway at the port of congestion density as \( {\text{h}}_{\text{ijs}} \), and average minimum time headway as \( {\text{h}}_{\text{ijt}} \), then
- \( {\text{q}}_{\text{ijm}} \)::
-
The maximum traffic capability
- \( {\text{k}}_{\text{ijm}} \)::
-
The corresponding density
- \( {\text{u}}_{\text{ijm}} \)::
-
Critical speed of the congestion
The judging procedure about the congestion for the spur track is as follows:
-
Step 1:
If \( {\text{q}}_{\text{ij}} > {\text{q}}_{\text{ijm}} \), then switch to step 3, otherwise, switch to step 2.
-
Step 2:
If \( {\text{u}}_{\text{ij}} < {\text{u}}_{\text{ijf}} \), then switch to step 3.
-
Step 3:
The spur track is under congestion, and the jam knots are recorded in the congestion table Ck.
Confirming Principle of Allowed Knot Set allowedk.
Considering the reality of dock, the container is abstracted into some grids. The dynamic control over the change of ants position comes to be true through modifying Relation Matrices by utilizing coordinate to confirm the direct pre-knot or sub-knot.
The allowed knot set allowedk equals n minus Ck and Pk at knot i for ant number k, in which n is the total number of knots and Pk is the knots passed by ant k. There is no repetition at the same knot for the consequent knots considering the traffic rules of container terminals.
The Steps of Ant Colony Algorithm of Optimal Route for Container Trucks.
-
Step 1:
Initialization. To set up a starting point and ending point and set the maximum number of cycles Nmax. To initialize the control parameters α, β, Q (user-defined). At the initial, m ants are randomly put on n nodes and the amount of information on each path is equal. The data gathered by GPRS for every spur track are: uij, hijs, hijt, qij.
-
Step 2:
Put the initial knot of ant k into Pk to search till find target knot. If does, end the loop, and turn to step 3. If doesn’t find the target knot, determine allowedk and work out the transfer probability \( p_{ij}^{k} \), then adjust knot and keep searching.
The transfer probability from knot i to j of ant k can be defined as:
-
Step 3:
End a loop iteration when the last ant find the target knot and record the length Lk.
-
Step 4:
Update the pheromone intensity
If the arrival time is between t and t + 1, the pheromone intensity is to be updated according to the following formula:
Q is a constant denoting the pheromone intensity. Lk is the gross route length covered in repetition by the ant number k. ρ symbolizes the left-over elements of pheromone, and ρ ought to be defined as a number less than 1 in order to avoid the endless accumulating of pheromone.
-
Step 5:
To compare all the routes passed by the ants and the minimum route length is the optimal route. To output the result, the algorithm is to be ceased.
Case Analysis.
The optimal route and the shortest route are shown in Figs. 4 and 5, respectively.
The speed of the spur tracks which are under the congestion is 10 km/h, and the speed of other spur tracks are 25 km/h. The length of each grid in the map is 50 m, and the oblique line is simplified into two straight segments. The travel time and distance between the current position of CT to the loading/unloading position are calculated. The distance and time of the optimal route is respectively 1.25 km, 0.05 h, and the shortest route respectively 0.95 km, 0.06 h. The application of ant colony algorithm can help to search out the optimal route while the route is under the congestion. The study of optimal route is helpful in instructing the running of container trucks so as to avoid or relieve traffic congestion.
4.2 Fuzzification
Fuzzification of Distance.
Table 1 shows container truck steer distance partition.
R represents distance. According to the actual situation, the distance is segregated into 8 grade: 1, 2, 3, 4, 5, 6, 7, 8. The fuzzy linguistic value is defined as very near, near, nearer, general, far, farther, very far, extremely far, and the corresponding fuzzy set is N1, N2, N3, N, R3, R2, R1, VR. According to the distribution of discrete points, the triangular membership function is adopted for its convenience.
Fuzzification of Priority of Handling Operation.
Suppose P as the artificially defined priority, N as the number of arranged CTs, and L as the priority of handling operation.
The fuzzy linguistic value is defined as unimportant, a little important, important, very important and extremely important, and the corresponding fuzzy set is P1, P2, P3, P4, VP.
Fuzzification of Dispatching Emergency Degree.
Suppose S as dispatching emergency degree. The fuzzy linguistic value is defined as very low, lower, low, general, high, higher, very high, and the corresponding fuzzy set is D1, D2, D3, M, M2, M1, VM.
Determination of Fuzzy Rules.
Scheduling principle:
-
(1)
Dispatcher’s assignment is preferential;
-
(2)
The important task has priority;
-
(3)
The close distance is preferential;
-
(4)
The requirements of QCs are preferential.
The experience of terminal scheduling engineers and operators is summarized, so that the fuzzy rules can maximally reflect the actual scheduling principle of terminal. Table 2 shows the rule table for fuzzy control.
Fuzzy Inference and Defuzzification.
Method of centroid is used in this system. Clear outputs corresponding to each of the input values are calculated through MATLAB tool. Table 3 shows the decision query table.
In practical work, the terminal management system can directly query the table for the dispatching emergency degree.
Figure 6 shows the relationship between R, L and S in MATLAB.
The two axis represents the input of the system (L, R), and the vertical axis represents the output (S). It can be seen from this figure that S increases with the decrease of L and R. Space surface is smooth, illustrating the design of membership functions and fuzzy rules are basically correct.
5 Case Analysis
There are four operations requested, shown in Table 4, and three idle CT, shown in Table 5. After CT dispatching Agent announce the four tasks, three free CT Agents gain task dispatching emergency degree by fuzzy reasoning controller, shown in Tables 6, 7 and 8.
Three CT Agents bid to QC105 whose emergency degree is the highest. CT dispatching Agent evaluates these bidders, shown in Table 9. As the table shown, evaluated dispatching emergency degree of CT301 is the highest (shown in Table 9), CT dispatching Agent rewards Agent of CT301 and meanwhile refuses to application of CT311 and CT312.
Then CT311 and CT312 select tasks to bid, whose dispatching assessed value of emergency is the highest among the remaining, namely QC111 and YC208. CT dispatching Agent respectively issue orders to CT311 and CT312 after evaluating.
6 Conclusion
A model of container terminal scheduling system was established based on Multi-Agent and how to dispatch Container Trucks (CTs) in dynamic dispatching strategy was studied. Relationship between transport tasks and service of CTs has been taken as a contract net using the fuzzy theory and method of optimum allocation of multiple tasks to multiple CTs, and the bidirectional negotiation mechanism was adopted. It coupled multiple factors on the tasks to get the assessment score of dispatching emergency. Through judging obstruction status by using related data of the GPRS system, the steps of ant colony algorithm were designed to calculate the distance of the optimal route. Further research is necessary to study on the method considering more practical factors before it can be applied in practice and the optimization of algorithm.
References
Li, B., Li, W.: Container terminal logistics systems collaborative scheduling based on multi-agent systems. Comput. Integr. Manuf. Syst. 17, 2502–2513 (2011)
Li, B., Li, W., Zhang, Y.: Agent-based modeling and simulation for vehicle dispatching at container terminals. J. Syst. Simul. 20(19), 5158–5161 (2008)
Meng, Y., Shaomei, W.: Study on scheduling system based on multi-agent of container terminal. In: Proceedings 2006 10th International Conference on Computer Supported Cooperative Work in Design, Nanjing, China, pp. 579–584 (2006)
Li, G.R., Yang, D.B., Ren, D.W.: Path optimization algorithm of dynamic scheduling for container truck. Jiaotong Yunshu Gongcheng Xuebao 12(3), 86–91 (2012)
Cao, Q., Zhao, F.: Port trucks route optimization based on GA-ACO. Syst. Eng. Theor. Pract. 33(7), 1820–1828 (2013)
Acknowledgements
This paper has been funded by the National Natural Science Foundation of China (No. 71672137 and No. 61503291).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG
About this paper
Cite this paper
Yu, M., Li, D., Wang, Q. (2018). The Research on the Container Truck Scheduling Based on Fuzzy Control and Ant Colony Algorithm. In: Zu, Q., Hu, B. (eds) Human Centered Computing. HCC 2017. Lecture Notes in Computer Science(), vol 10745. Springer, Cham. https://doi.org/10.1007/978-3-319-74521-3_16
Download citation
DOI: https://doi.org/10.1007/978-3-319-74521-3_16
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-74520-6
Online ISBN: 978-3-319-74521-3
eBook Packages: Computer ScienceComputer Science (R0)