Research Article

The Optimization of Transportation Costs in Logistics Enterprises with Time-Window Constraints

Procedure 1

BEGIN:
  (1) Randomly generate a number , such that and ;
  (2) Let ;
  (3) Randomly select a gene in ;
  (4)   FOR   TO length();
  (5)   Generate the partial schedule ;
  (6)   Compute the total transportation cost of . If is infeasible, let = a sufficiently large number;
  (7)   Let and reinsert gene in the position of ;
  (8)   Update and ; ENDFOR
  (9)   If , return to Step (3); otherwise, terminate the procedure.
END