{'fraction_non_alphanumeric': 0.017642907551164433, 'fraction_numerical': 0.0035285815102328866, 'mean_word_length': 5.246696035242291, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Scheduling External Trucks Appointments in Container Terminals to Minimize Cost and Truck Turnaround Times

Background: Scheduling the arrival of external trucks in container terminals is a critical operational decision that faces both terminal managers and trucking companies. This issue is crucial for both stakeholders since the random arrival of trucks causes congestion in the terminals and extended delays for the trucks. The objective of scheduling external truck appointments is not only to control the workload inside the terminal and the costs resulting from the excessive waiting times of trucks but also, to reduce the truck turnaround time. Methods: A binary programming model was proposed to minimize the waiting time cost, demurrage cost, and container delivery cost. Moreover, a sensitivity analysis was performed to compare various scenarios in terms of cost and to study to what extent the workload level is affected. The mathematical model was solved using Gurobi© 8.1.0 software. Results: 30 instances found in the literature were solved and evaluated in terms of the objective function value (i.e., cost) and truck turnaround time before and after controlling the workload inside the container terminal using the new proposed constraint. Conclusions: The obtained results showed a better distribution of the terminal workload, as well as a lower truck turnaround time that reduces the total cost.