Discrete Dynamics in Nature and Society / 2018 / Article / Alg 2

Research Article

Integrated Berth Allocation and Time-Variant Quay Crane Scheduling with Tidal Impact in Approach Channel

Algorithm 2

The greedy heuristic for time-variant QC scheduling.
Input: The berthing position and the processing start time ;
Output: The time-variant QC scheduling for vessels and the assignment feasibility ;
(1) Initialize ;
(2) for    do
(3) Initialize , , ;
(4)for    do
(5) if  vessel is being processed in time step   then
(6) ;
(7) ;
(8) end
(9) end
(10) end
(11) for    do
(12) ;
(13) for    do
(14) ;
(15) if  vessel starts processing at time step    then
(16) ;
(17) ; // is the preseted processing time for vessel in the solution representation;
(18) end
(19) ;
(20) ;
(21) end
(22) for    do
(23) ;
(24) ;
(25) ;
(26) if    then
(27) ;
(28) end
(29) if    then
(30) ;
(31) end
(32) Adjust to satisfy Constraints (39) and (40);
(33) ;
(34) if    and    then
(35) ;
(36) break;
(37) end
(38) end
(39) end

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.