Abstract

This paper presents a model for solving a multiobjective vehicle routing problem with soft time-window constraints that specify the earliest and latest arrival times of customers. If a customer is serviced before the earliest specified arrival time, extra inventory costs are incurred. If the customer is serviced after the latest arrival time, penalty costs must be paid. Both the total transportation cost and the required fleet size are minimized in this model, which also accounts for the given capacity limitations of each vehicle. The total transportation cost consists of direct transportation costs, extra inventory costs, and penalty costs. This multiobjective optimization is solved by using a modified genetic algorithm approach. The output of the algorithm is a set of optimal solutions that represent the trade-off between total transportation cost and the fleet size required to service customers. The influential impact of these two factors is analyzed through the use of a case study.

1. Introduction

In a competitive environment, obtaining the maximum profit plays a key role in the success of an enterprise. Logistics costs make up a large portion of the total costs of enterprises but can be reduced through supply chain optimization. Analysis of the logistics costs of enterprises reveals that transportation costs are an important part of the costs of logistics enterprises. Therefore, it is very important to study how transportation costs can be optimized in logistics enterprises.

The transportation costs of logistics enterprises are influenced by the fixed costs and variable costs involved in the transportation process. However, transportation costs are more closely related to time-window constraints, which are governed by customers’ arrival times. Logistics enterprises must pay penalties when time-window constraints are violated, and this causes increases in transportation costs.

Many past studies have been dedicated to determining how to achieve the lowest possible transportation cost. For example, McCann [1] addressed two interrelated questions: the optimum size of a vehicle or vessel and the structure of transportation costs with respect to haulage distance. C. Pilot and S. Pilot [2] focused on minimizing the total costs involved in a transportation problem. Jha et al. [3] considered a joint-location inventory problem and minimized the transportation cost involved in a joint inventory location model by using a modified adaptive different evolution algorithm. Chanas and Kuchta [4] proposed what they see as an optimal solution to the transportation problem, which makes use of fuzzy cost coefficients and an algorithm determining the nature of the solution.

As exploration of transportation problems has developed, multiobjective transportation cost problems have emerged. For instance, Prakash et al. [5] drew attention to a cost-time trade-off bulk transportation problem, which they solve by using Pareto optimal solutions. Ojha et al. [6] formulated a multiobjective transportation solution, with fuzzy relations under fuzzy logic. The objectives of their model are the minimization of the total transportation cost and total time for transportation required for the system.

The conditions that force each vehicle to start with each customer at a period specified by that customer are called time-window constraints. Existing literature on transportation problems with time-window constraints has mainly concentrated on vehicle routing problems. Vehicle routing problems, with different variations and generalizations, have been studied for several decades, since the pioneering work of Dantzig and Ramser [7] on a truck dispatching problem.

Alvarenga et al. [8] proposed a robust heuristic approach to vehicle routing problems with time windows (VRPTW), using travel distance as the main objective through an efficient genetic algorithm and a set partitioning formulation.

Ghoseiri and Ghannadpour [9] presented a new model and solution for multiobjective VRPTW using goal programming and genetic algorithm, in which decision makers specify optimistic aspiration levels to objectives and deviations from those aspirations are minimized. They used a direct interpretation of VRPTW as a multiobjective problem, in which both total required fleet size and total traveling distance were minimized, while capacity and time-window constraints were secured.

Al-Khayyal and Hwang [10] formulated a model for finding the minimum-cost route in a network for a heterogeneous fleet of ships engaged in the pickup and delivery of several liquid bulk products. They showed that the model can be reformulated as an equivalent mixed-integer linear program with a special structure.

Yu et al. [11] proposed a hybrid approach, which consists of ant colony optimization (ACO) and Tabu search, to solve VRPTW.

Chiang and Hsu [12] proposed their own approach to solve a multiobjective vehicle routing problem with time windows. The objectives were to simultaneously minimize the number of vehicles and the total distance. Their approach was based on an evolutionary algorithm and it aims to find a set of Pareto optimal solutions.

Because of the many applications of different vehicle routing problems, a wide variety of researchers have focused on developing solutions to them. Useful techniques for solving general vehicle routing problems can be found in [1315].

Our analysis of the works described above has shown that existing literature based on accurate algorithms and heuristic algorithms aims to achieve the lowest transportation cost possible. To our knowledge, no study has considered the time-window constraints in the transportation cost model. Time-window constraints increase transportation costs in logistics enterprises, and so it is necessary for logistics enterprises to take the time-window constraints into consideration when making decisions.

This paper presents a biobjective transportation cost model with time-window constraints, which is modeled through modified genetic algorithm. In our study, the simultaneous minimization of fleet size and total transportation cost are considered objective functions.

The model is formulated under the following assumptions:(1)Time-window constraints are soft, and the time windows specified by customers are elastic.(2)The service time for a vehicle at its destination is equal to zero.(3)A route is defined as starting from a depot, going through a number of customers, and ending at the depot. Every customer on the route must be visited only once by one of the vehicles.

2. Model Formulation

This paper assumes that a logistics enterprise is the single supplier in a transportation process. The logistics enterprise distributes goods to customers according to the number of orders. The customer number for a route is uncertain, and the vehicle route must be determined in order to optimize transportation cost.

The system of logistics enterprise transportation can be regarded as a simple network. In this network, the start node and end node are both the central depot of the logistics enterprise. Each arc of the network represents the transportation relationship between customers. The number of the arc represents the travel time between the two customers. Let us assume there are customers, , and for simplicity denote the depot as customer 0. Figure 1 presents a network representation of the transportation process.

The transportation cost model in this paper takes time-window constraints into consideration. Any customer must be serviced within a predefined time interval , limited by an earliest arrival time , and a latest arrival time . Vehicles arriving later than the latest arrival time are penalized, while those arriving earlier than the earliest arrival time have to pay for the inventory cost involved.

In order to formulate the model, the notations in it are defined as follows:: the maximum possible size of the fleet,: the transportation cost per unit mass or volume of vehicle ,: the customer set,: the transportation process from customer to customer ,: the travel time between customer and customer ,: the demand of customer ,: the limited capacity of vehicle ,: : the maximum route time allowed for vehicle ,: the predefined time interval that customer must be serviced within, with being the earliest arrival time of customer , and being the latest arrival time of customer ,: the inventory cost that the logistics enterprise has to pay if a vehicle arrives one day earlier than the earliest arrival time,: the penalty cost that the logistics enterprise has to pay if a vehicle arrives one day later than the latest arrival time,: the arrival time in advance for vehicle at node ,: the delayed arrival time for vehicle at node ,: the real arrival time for vehicle at node .

There are two objectives in the transportation cost model. One is to minimize the transportation cost, and the other is to minimize the fleet size used to serve the customers. The model has four constraints. This paper observes vehicle capacity constraints and time-window constraints. In it, each customer is served exactly once and each vehicle starts its journey from a depot and ends at the depot.

The transportation cost model in this paper can be written as

subject to

Constraint (2) specifies that every route starts and ends at the central depot. Constraints (3) and (4) define that every customer node is visited only once by one vehicle. Constraint (5) is the capacity constraint. Constraint (6) is the maximum travel time constraint. Constraints (7)–(10) define the time windows.

3. Modified Genetic Algorithm

As mentioned before, Ghoseiri and Ghannadpour [9] studied a vehicle routing problem with time windows and presented a genetic algorithm (GA) to solve it. In this section, we modify the presented GA to be used in the multiobjective optimization model above, by further considering the total transportation cost and time-window constraints. The specific content is described below.

A GA starts with a set of chromosomes referred to as the initial population. Each chromosome represents a solution to the problem, and the initial population is randomly generated. A selection mechanism is then used to select prospective parents based on their fitness, computed by the evaluation function. The selected parent chromosomes are then recombined via the crossover operator to create a potential new population. The next step is to mutate a small number of newly obtained chromosomes, in order to introduce a level of randomness that prevents the GA from converging to a local optimum.

3.1. Chromosome Representation and the Initial Population

To solve a transportation cost model, each individual is usually represented by just one chromosome, which is a chain of integers (as discussed by Ghoseiri and Ghannadpour [9]). In this representation, each vehicle identifier is represented by 0 and is also a separator between two different routes. There are vehicle identifiers in the chromosome, which can divide the chromosome into routes. The customer identifiers are represented by , and a string of customer identifiers represents the sequence of deliveries that a vehicle must cover during its route. Figure 2 shows a representation of a possible solution with 10 customers and 6 vehicles. The route of vehicle 1 is , the second route is , and the third is . There are no travel tasks for vehicles 4, 5, and 6.

An initial population is built such that each individual must at least be a feasible candidate solution (i.e., every route in the initial population must be feasible). In this paper, an individual is feasible when the limited capacity of the vehicle and the maximum route time allowed are satisfied. Based on this, the population initialization algorithm can be written as follows.

Step 1. Determine the set of all unscheduled customers and the maximal size of fleets . Denote and as the rest capacity and travel time of vehicle (), respectively. Let be the set consisting of all customers served by vehicle . Initialize , , and for all .

Step 2. Randomly select an unscheduled customer who has higher demand than others (i.e., ). Let () be the last customer in the set (if , then represents the central depot). Then, determine the set , which consists of all vehicles whose rest capacities and rest route times are sufficient to serve customer (i.e., ). Finally, randomly choose a vehicle from the set to serve customer and update , , , and .

Step 3. If , go to the next step; otherwise, go to Step 2.

Step 4. Rearrange the sequence of customers in set and randomly generate a feasible travel route for vehicle , denoted by , for all . Finally, a complete individual can be represented as .

Using the above presentation method, the individual shown in Figure 2 is coded as .

3.2. Selection

A feasible solution (i.e., individual solution) for the models is said to dominate another solution if it is not worse with regard to any of the objectives and clearly better with regard to at least one. In the current problem, a feasible solution (, ) is said to dominate another solution (, ) if both and are smaller than or equal to and , where and denote the total transportation costs and and denote the total number of vehicles. The feasible solution (, ) is said to be a nondominated solution (or a Pareto solution), if there is no other solution that can dominate it. Based on this nondomination criterion, this paper evaluates and selects the individuals through the following procedure.

Step 1. Calculate the objective function values for all individuals, where the total transportation costs are determined by (11), and total numbers of vehicles are determined directly by decoding the chromosome.

Step 2. Assign a rank value to each individual, depending on its position within the population. The smaller the number of solutions that dominate an individual, the smaller the rank of the individual. If we suppose that, for a given generation , an individual is dominated by the number of of individuals in the considered population, its rank will be determined as follows:It is easy to determine that all nondominated solutions will have a rank equal to 1. Note also that, for a given individual, this metric may vary across generations because of the population distribution changes.

Step 3. Compute the fitness value of an individual in a population at a generation by calculating the following (as discussed by Elloumi and Fortemps [16]):

Step 4. Randomly select POP/2 pairs of individuals, by roulette selection, to undergo forthcoming evolutionary operations, where POP denotes the number of individuals within a population. The selection probability of individual in generation is given by the following:

3.3. Crossover

This paper employs a problem-specific best cost-route crossover (as discussed by Ombuki et al. [13]), with the probability of crossover . This aims to simultaneously minimize the fleet size and the total transportation cost, while also assessing the feasibility of constraints. For any pair of individuals randomly selected through the selection operation above, one is called the “father” and is denoted by . Another is termed the “mother” and is denoted by .

First, a random route from the father is selected. Second, all of the genes in the selected route are removed from the mother, and the remaining chromosome is directly passed on to the son, . Third, each of the removed genes is reinserted into the son’s line, based on the minimum cost principle, and the whole offspring is then obtained by the end of this step. We proceed similarly for the daughter, , but replace the father with the mother and vice versa.

The pseudocode for generating the son can be described as shown in 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

In Procedure 1, length () is the number of genes of . is the chromosome of between position and position .

3.4. Mutation

The mutation operator is applied to newly generated individuals with a probability of mutation . First, we randomly choose two positions, and , such that , , and (recall that and are the numbers of customers and vehicles, resp.). Then, we check whether customers in positions and can be permuted. In other words, if the change does not result in infeasibility, we can permute the customers. Otherwise, we choose another position, . We repeat the procedure until two customers are permuted or until a certain number of unsuccessful attempts are made.

Finally, the main process of proposed GA can be described as shown in Procedure 2.

BEGIN
  Input: all necessary data related to customers and vehicles
  GA parameters:
  Generate a new population of individuals
  While maximal iteration number is not met DO
   Evaluate the individuals
   Select the better individuals
   Generate the offspring population using evolutionary operators
  Output: a set of non-dominated solutions
END

4. Experimental Results and Comparisons

A logistics enterprise named S has 10 vehicles, the situation of which is shown in Table 1. S needs to deliver goods to 10 customers. Table 2 shows the travel time for S’s logistics enterprise. The positions and demands of the customers can be seen in Figure 3 and Table 3. Table 4 presents the time-windows constraints for each customer. When a vehicle’s arrival time is one day earlier than the earliest permitted arrival time, the inventory cost is equal to 0.44 yuan/(ton × day). The penalty cost, when the vehicle’s arrival time is one day later than the latest permitted arrival time, is 4,000 yuan/weekday. The maximum travel time for each route is 30 weekdays.

In real life, it is important to confirm the trade-off between fleet sizes and total transportation costs of logistics enterprises. These two aspects may positively correlate with each other. In other words, a higher transportation cost may be incurred if more vehicles are involved. At the same time, these two values may conflict with each other. Such situations are difficult to determine when using the classical approach but are easily analyzed with our suggested approach.

In this paper, the proposed GA is run under the MATLAB development environment and performed on a computer with a 2 GHz Intel dual-core processor with 2 GB RAM, running Windows 7. We tuned the algorithm parameters, including population size, max iteration, mutation rate, and crossover rate, by using crossover values of and mutation rates of . After many trials, the population size, crossover rate, mutation rate, and max iteration were set to 50, 0.8, 0.4, and 500, respectively. The example case was solved and repeated 30 times, and the average CPU time was 102 seconds. The best results for the GA are listed in Tables 5 and 6.

The results with time-window constraints are shown in Table 5, and the results without time-window constraints are shown in Table 6. Table 5 shows that the transportation cost of a solution is reduced as the number of vehicles is increased. For example, when the fleet size is 2, the total transportation cost is 65,320 yuan, while when the fleet size is 3, the total transportation cost is 34,581 yuan. When the fleet size is increased by 1, the total transportation cost is thus reduced by 47.06% (from 65,320 to 34,581).

Comparing the results of Tables 5 and 6, we can find that the total transportation cost with time-window constraints is higher than the transportation cost without them. In particular, when the fleet size is equal to 2, the gap between the two costs can be as high as 26,520 yuan. Tables 5 and 6 present the different vehicle routes for the two results. This situation can be explained by the real transportation process. In reality, in daily life, some customers determine the goods arrival time interval according to their demand, and this arrival time interval is called a time window. If a customer is serviced before the earliest arrival time, extra inventory costs are incurred. If the customer is serviced after the latest arrival time, penalty costs have to be paid. Therefore, time-window constraints may influence transportation costs and vehicle routes. It must be mentioned that decision-makers may make the wrong decisions when they ignore the effects of time-window constraints, which results in resource wasting and customer dissatisfaction.

The vehicle routes with time-window constraints of different fleet sizes are shown in Figure 4. When the fleet size is equal to 2, there are two routes, when the fleet size is equal to 3, there are three routes, and so on. When the fleet size is increased by 1, the vehicle routes also increase by 1. Note that the results in Table 5 and Figure 4 are clearly comparable, and the decision-maker of S can decide which vehicle route is more preferable, based on specific preferences. For instance, if the decision-maker wants fewer transfers to occur, in order to use vehicle space efficiently, the two-vehicle route may be more reasonable. If the decision maker wants to lower cost, the six-vehicle route may be more reasonable.

The results of this example case allow us to obtain information on the trade-off relationship between fleet size and total transportation cost, as shown in Figure 5. It can be found that these two objectives conflict with each other, and the total transportation cost is reduced as the fleet size is increased. The reason for this is that the transportation weight is a dominant part of transportation cost. However, transportation cost reduction decreases gradually with the increase of fleet size. When the fleet size is six, the transportation cost is at a minimum and will not change further if the fleet size keeps increasing. This situation may be due to fuel consumption, driver salaries, or vehicle maintenance costs, which increase transportation cost.

Based on these findings, this paper emphasizes that the number of vehicles involves separate objectives, beyond the total cost of traveling. This is because there is a cost associated with having more vehicles, and considering this in different cases is important. In some cases when a vehicle and its associated costs (namely, manpower costs, fuel consumptions cost, etc.) are negligible, the routing plan will be irrational. This model represents a range of possible answers, with different numbers of vehicles and costs, with which a decision-maker can decide which kind of solution is preferable.

5. Conclusion

In this paper, we have considered a transportation cost problem with time-window constraints as a biobjective problem in which the size of a fleet of vehicles and total transportation costs are minimized, while capacity and time-window constraints are not violated. This paper uses a modified algorithm approach to solve this transportation cost problem. The proposed GA employs a string of customer identifiers, which represent the sequence of deliveries that must cover a vehicle during its route. Each vehicle identifier represents a separator between two different routes in the chromosome. A selection mechanism is then used to select prospective parents based on their fitness, as computed by an evaluation function. In this paper, the selected parent chromosomes are then recombined via a crossover operator to create a potential new population. A special mutation is applied to introduce a level of randomness that will preserve the GA from converging to a local optimum.

Finally, the algorithm is applied to solve an enterprise transportation problem for S logistics. In the last part of this paper, we compare two results (results with time-window constraints and results without time-window constraints). Based on the gap between these two situations, we find that the total transportation cost with time-window constraints is higher than the transportation cost without time-window constraints. In addition, time-window constraints also change vehicle routes during transportation.

Through an analysis of the case, we also find that total transportation cost and fleet size conflict with one another and that the total transportation cost is reduced as fleet size is increased. The results with time-window constraints are clearly comparable, and the decision-maker for S can decide which vehicle route is more preferable based on specific preferences. Thus, it is important for logistics enterprises’ decision-makers to ensure that the sizes of their fleets of vehicles are appropriate.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

The authors are indebted to Delfim F. M. Torres (Editor) and the two anonymous referees of the journal for their most helpful comments ever. This research is supported by the project of the production-study-building for joint training of graduate students in Beijing.