An Algorithm for the Loading Planning of Air Express Cargoes
59
space. The container giving the maximum revenue
i
*
is de-
termined using
∈
where
r
i
is the revenue of container
i. The best position of
container
j* to be located is determined by considering the
load limit of the location including the position as :
≥
∈
where
L
j
is the load limit of the location including position
j and
w
i
is the weight of container
i. However, if there is
no
available position, container
i* is never added in the re-
cursive routine of generating the initial solution. This routine
continues until all sets of containers and their positions are
determined.
A solution with selected containers and their positions in
the cargo space could be infeasible in terms of constraints
in the model of Kim et al
. [3]. To make it feasible, we re-
cursively
eliminate containers, each giving the minimum rev-
enue among selected containers, until the corresponding sol-
ution satisfies all required constraints.
Next, to improve the current solution (or initial solution),
a neighborhood solution is generated by adding
m containers
into the current solution. That is, value
m is randomly chosen
and
m containers are randomly selected among
non-selected
containers in the current solution. Then,
m selected contain-
ers are randomly located at empty positions in the cargo
space. Although one may think that those containers may
be better being located at the best empty positions as in the
solution construction method, a series of preliminary tests
has indicated that locating at empty positions randomly chos-
en is better than locating at the best empty positions. If the
resulting solution is infeasible, we recursively eliminate con-
tainers randomly chosen from the current
solution until all
constraints are satisfied.
If the solution is improved, the move to the new solution
is accepted. Otherwise, the move can be accepted with a
specified probability controlled by a temperature. Our SA
begins a high temperature and the
temperature is decreased
with a certain rule, called the cooling schedule or annealing
schedule in the literature. The temperature is kept the same
for a certain number of iterations, called the epoch length.
The epoch length
L is set to
β․[
n․(
n−1)/2], where β is
a parameter to be determined and
n is the number of
containers. The initial temperature
t
0
is set as follows. First,
Chia sẻ với bạn bè của bạn: