166 ◾ Vehicle Scheduling in Port Automation
generates a job, it puts the job into a hole of the buer. e software marks the
nodes and arcs associated with the fullled and new jobs. e most important events
that aect the spanning tree are the fullled and new jobs. e fullled jobs are
removed from the list of vehicles and model, whereas the new jobs are appended to
remaining jobs and inserted into the model. Note that any change in the problem,
without any fullled or new job, does not aect the spanning tree. In this case, only
the body of the algorithm is executed and nds out the optimal solution.
e software processes the recorded events and updates the MCF-AGV model.
After removing the nodes and arcs (associated with the fullled jobs) from the
model and omitting the jobs from the vehicle’s lists, a new spanning tree is made.
Next, the nodes and arcs associated with the new jobs are put into the new model
and then the spanning tree is repaired. ese jobs are assigned to one or more
vehicles, randomly. ese two tasks are made by reconstruct new BFS. After repair-
ing the spanning tree, the main body of the algorithm is executed and it nds out
the optimal solution. Note that these tasks are not preemptive; that is, when a task
starts execution on the processor, it nishes to its completion.
Execute main body of the algorithm
(solve the MCF-AGV model and
generate new schedule based on the
solution)
List for
vehicle
1
List for
vehicle
2
List for
vehicle
M
While the time is
being progressed.
List for
vehicle
m
Generate jobs for
any idle crane
Find a hole in the
buffer and put the
job into the hole
Delete a fulfilled
job
Delete the job from the list
of vehicle and mark the
associated arcs and nodes
for deleting
Mark the job and associated
arcs and nodes with it for
inserting
Update the MCF-AGV
model in the memory
Reconstruct new BFS (repair the
basic feasible solution based on
the DELETION nodes and
INSERTION nodes associated with
the fulfilled and new jobs)
(a) Update status of each
vehicle; (b) make a few
random changes in the
distance table, from
time to time
Make a hole in the
buffer and mark the
job for deleting
Figure 7.10 Block diagram of the software and algorithm (DNSA+) in the
dynamic aspect.