Introduction

Vehicle routing problem (VRP) is faced each day by thousands of companies and organizations which are engaged in delivery and collection of goods or people (Crevier et al. 2007). Basic components of the VRP are road networks, customers, depots and vehicles. The VRPs can be categorized, depending on the objectives and constraints occurring in many transportation logistics and distribution systems.

A basic version of the VRP is the capacitated VRP (CVRP) in which each vehicle has a known capacity and two other versions of CVRP are symmetric and asymmetric. Lots of new constraints are added on the route construction and made practical applications of the VRP (Toth and Vigo 2002). For example, Split-Delivery VRP (SDVRP) is a relaxation of the VRP in which the same customer can be served by different vehicles if it reduces the overall costs. It saves the total distance traveled as well as the number of required vehicles by allowing split deliveries (Jin et al. 2008). Hasani-Goodarzi and Tavakkoli-Moghaddam (2012) studied a split vehicle routing problem (SVRP) with capacity constraint for the multi-product cross-docks to determine the best vehicle routes and the optimal number of the utilized vehicles. By developing the CVRP, a VRP with Time Windows (VRPTW) can be obtained for which the service to each customer must start within a certain time window and the vehicle must remain at the customer’s location throughout the service. Delivery of food or newspaper is a simple example for the VRPTW. Another extension of the CVRP is VRP with Backhauls (VRPB) in which the customers may demand or return some goods. The customers are divided into two groups: line haul and back haul customers. Each line haul customer requires a given quantity to be delivered while a given quantity of products must be picked up from back haul customers. The next VRP model is the VRP with Pickup and Delivery (VRPPD). The vehicles have the responsibility for delivering the goods to customers and picking the goods up at the customer locations. Another well-known generalization of the VRP is Multi-Depot VRP (MDVRP). In the MDVRP, there are several depots instead of just one depot and every customer is visited by a vehicle based at one of the several existing depots, while every vehicle route must start and end at the same depot. By presentation of the initial VRP and basic models introduced above, many researchers studied algorithms and models for different versions of the VRP.

With starting of economic depression and consequently adverse effects on global trade, the transportation markets particularly container sea transportation companies have been exposed to recession. The container sea transportation agents believe that these companies are able to integrate their resources to provide more services and get rid of this economic crisis (Sterzik et al. 2012). In this way, by expanding the VRP in transportation of containers (Vidović et al. 2011) the companies can cooperate with each other. One way for such a collaboration is when the companies are in the same port use the vehicles of each other; or the companies located in different ports use the capacity of vessels of each other. Therefore, the CoMDVRP can be used for this kind of problem that enables companies reduce the costs.

Logistic costs and especially transportation costs often constitute a large part of the operational costs in companies. One solution to reduce these costs is cooperation among the logistic companies. The cooperative game theory (CGT) can be adopted for modeling the cooperation among the companies. Cooperative games are concerned with distribution of the cooperation benefits when the players cooperate. Most applications of the CGT are in scheduling, cost saving, negotiation and bargaining (Barron 2013). A cooperative game actually considers that the players may choose to cooperate by forming some coalitions. In the coalitions, the players might be lucky to receive greater benefits than they could gain individually on their own. Then, the players should allocate the benefits among each other. Now the key question is how the total extra benefits (or cost saving) should be fairly distributed among them. We adopt some well-known CGT methods such as Shapley value, τ value, and least core to address this question.

The outline of this paper is as follows. The related literature is reviewed in “Literature review” section. “Prerequisites and assumptions of MDVRP” section defines the prerequisites and assumptions of the proposed model. The model formulation of the MDVRP is discussed in “Model formulation for MDVRP (non-cooperation situation)” section. Then, in “Formulation of vehicle routing problem for coalition of players” section the mathematical method of the CoMDVRP is introduced. Afterwards, cooperative techniques for cost saving allocation are described in “Cooperative techniques for cost saving allocation” section. A numerical example is also shown in “Numerical Example for Cost saving methods in cooperative VRP” section and finally, some concluding remarks are made in “Conclusion and further research” section.

Literature review

Multi-depot vehicle routing problem

A basic version of the vehicle routing problem that is defined under capacity and route length restrictions is called capacitated VRP (CVRP). In this problem, each vehicle has a capacity that is known, so loading the vehicle more than its capacity is not allowed.

Variant model of VRP obtained by generalization of the classical VRP (Cordeau et al. 2007). An extension of VRP is MDVRP that is studied in this paper. MDVRP deals with routing of several vehicles from different depots. Mathematical programming models of the MDVRP have been developed by several researches. Crevier et al. (2007) presented an extension of the MDVRP that vehicles may use the intermediate depots along their route to become full. Ray et al. (2014) worked out a new integer linear programming model, called multi-depot split-delivery vehicle routing problem (MDSDVRP) which allows establishing depot locations and routes for serving the customer demands within the same objective function. Aras et al. (2011) proposed two mixed-integer linear programming formulations for the selective MDVRP that are extensions of the classical MDVRP in which each visit to a broker is associated with a gross profit and a purchase price to be paid to take the cores back. Wasner and Zapfel (2004) investigated the necessity of developing a VRP with considering the number and locations of hubs and depots and their assigned service areas. Karakati and Podgorelec (2014) optimized an extension of the classical VRP by adding multiple depots. Kang et al. (2000) designed a least costly schedule for MDVRP to minimize transportation costs.

Ho et al. (2008) introduced the MDVRP as an NP-hard problem and developed two hybrid genetic algorithms (HGAs) for solving it. Contardo and Martinelli (2014) formulated the MDVRP using a vehicle-flow and a set-partitioning formulation presented a new exact method for the MDVRP under capacity and route length constraints. Ray et al. (2014) stated a multi-depot logistics delivery problem including the depot selection and shared commodity delivery. They mentioned that the MDSDVRP is suitable for multi-depot, multi-vehicle and split delivery problem. Liu et al. (2010) proposed a mathematical programming model of the multi-depot CVRP with the objective of minimizing movements of empty vehicles. They focused on full truckloads in transportation. Surekha et al. (2011) presented a formulation and solution for MDVRP using Genetic Algorithms. Salhi et al. (2014) proposed an MILP formulation for the MDVRP with heterogeneous vehicle fleet and designed a variable neighborhood search (VNS) algorithm for the problem. Prescott-Gagnon et al. (2014) developed different heuristics for MDVRP in an oil delivery industry. Montoya et al. (2014) presented a complete review on scientific literature of MDVRP. They comprehensively analyzed the single-objective and multi-objective MDVRPs and their solution algorithms. In this paper, we establish a mathematical programming model for the MDVRP when the depot owners cooperate with each other.

Cooperative game theory

The cooperative game theory is defined as “A theory which is concerned primarily with coalitions of groups of players who coordinate their actions to reach more benefits.” (Branzei et al. 2008). Several researchers have adopted CGT for modeling cooperation of logistic companies. Lozano et al. (2013) introduced a mathematical programming model to measure the benefits of merging the transportation demands from different companies. The joint transportation costs of the companies are reduced because of using larger vehicles and increased number of the connected trips. They illustrated the model with an example in which different cooperative game solution concepts are used. Frisk et al. (2010) studied the collaboration between logistic companies in the forest industries. They investigated a number of sharing mechanisms including Shapley value, nucleolus, separable and non-separable costs, shadow prices and volume weights. Hafezalkotob and Makui (2015) introduced a stochastic mathematical programming model for a multiple-owner graph problem. They used methods based on the CGT to show that the collaboration among independent owners of a logistic network can maintain a reliable maximum flow. McCain (2008) focused on the cooperative games in collaborating organizations and analyzed how these games expand the organization and increase its profit.

The methods of CGT may be adopted for allocating the cost saving to cooperating companies. Using CGT, Charles and Hansen (2008) suggested a theoretical cost saving framework for global cost minimization and cost saving assignment in an enterprise network. They showed that the proposed cost allocations obtained via the activity based costing technique is rational and stable. Vanovermeire and Sorensen (2014) dealt with the cooperation among shippers and stated that the cooperation between shippers is a proper way to increase the performance. They pointed out that the cooperation reduces the costs of distribution and delivery but this reduction will depend on the flexibility of the companies for delivery of goods. They used the Nucleolus and the Shapley value methods for this purpose. Lehoux et al. (2009) have worked on a variety of cooperation techniques in logistic networks including the Shapley value; Nucleolus and shadow prices. Engevall et al. (1998) investigated cost allocation methods for a traveling salesman game according concept of traveling salesman problem.

The current paper is closely related to those of Wang and Kopfer (2015), and Lozano et al. (2013). Wang and Kopfer (2015) considered horizontal coalitions among freight forwarders to enhance operational efficiency. The proposed collaborative transportation planning enable forwarders to fulfill customers’ needs with lower costs. However, they studied neither VRP nor CGT methods. Lozano et al. (2013) investigated the cost savings of different logistic companies that may be achieved when they merge their transportation requirements using the CGT. In a MDVRP, we consider that the depots are managed by a set of owners. The owners of each depot are regarded as players, who like to coordinate with other players (owners) to reduce their transportation costs. The minimum transportation cost is obtained in different coalitions by solving the CoMDVRP for the coalitions. We calculate the cost saving and synergy of each coalition and then we use methods of CGT for cost saving allocation. In summary, we investigate how the coordination among the players (owners of depots) in the MDVRP gives them this opportunity to minimize the total transportation cost and how they can fairly share the cost saving of cooperation among themselves using the CGT techniques.

Research gap

To the best of authors’ knowledge, no research was found that considers the cooperative VRP among different players. Therefore, there are two main contributions in this study with regard to MDVRP. First, we develop a cooperative approach for MDVRP. We study how the cooperation among the multiple owners of depots gives them the opportunity to reduce the costs of transportation. The cost savings indicate effectiveness (synergy) of owners’ cooperation. The cost saving of cooperation is quantified by a new mathematical programming model for coalitions of owners. Second, we propose several methods of CGT to address the problem of allocating coalition cost saving to the cooperating owners.

Prerequisites and assumptions of MDVRP

In a classical VRP, there is only one depot. However, MDVRP is a problem for specifying the routes in which a set of customers are served by several vehicles from multiple depots. As shown in Fig. 1, in a non-cooperative MDVRP, each depot should serve its own customers. However, in cooperative situation, depots can serve the customers of partners. The cooperation among the depots reduces the route length of the vehicles. Consequently the total transportation cost may decrease as a result of the cooperation. The problem of each coalition can be analyzed by the CoMDVRP.

Fig. 1
figure 1

Framework of CoMDVRP

Assumptions

In a MDVRP, the number and location of the depots are predetermined. The location of each customer is known and the demands are deterministic. The demand of each customer should be fulfilled. Each player owns one depot only with only one vehicle The vehicles are not necessarily identical and each vehicle starts and finishes at the same depot, while each route begins and ends at the same depot. The capacity restrictions for the vehicles are considered. The total demand on each route is smaller than or equal to the capacity of the vehicle assigned to that route. Each customer is served by exactly one vehicle. Most remarkable is that the players are rational. Note that the aim of routing is to minimize the number of routes without desecrating the capacity constraints.

Notations

Before description of the objective functions and model, the sets, indices, parameters and decision variables are explained.

Sets

I :

The set of all depots;

J :

The set of all customers;

K :

The set of all vehicles;

P :

The set of all players (i.e. the owners of depots).

Indices

i :

The index of depots;

j :

The index of customers;

k :

The index of routs;

p :

The index of players (i.e. owners of depots).

Parameters

N :

The number of customers;

C ij :

The travel cost spent to go from point i to j, i, j ∊ I ∪ J;

V i :

The maximum throughput at depot i;

d j :

The demand of customer j;

Q k :

The capacity of vehicle (route) k.

Decision variables

$$x_{ijk} :\left\{ \begin{array}{ll} 1,&{\text{ if i immediately preceeds }}j{\text{ on route }}k \;\; \forall {\text{i}} \in I,j \in J \hfill \\ 0,&{\text{ otherwise}}\\ \end{array} \right.$$
$$z_{ij} :\left\{ \begin{array}{ll} 1,&{\text{ if customer }}j{\text{ is served by depot }}i \hfill \\ 0,&{\text{ otherwise}}\\ \end{array} \right.$$

U lk the auxiliary variable for sub-tour elimination constraint in route k and l ∊ J.

Model formulation for MDVRP (non-cooperation situation)

This section presents a linear model for the MDVRP with the mentioned notations. Each player (owner) p ∊ P minimizes total transportation cost of all their vehicles.

$$\text{Min}\,\,\,{\text{TC}}(\{ p\} ) = \sum\limits_{i \in I \cup J}^{{}} {\sum\limits_{j \in I \cup J}^{{}} {\sum\limits_{k \in K}^{{}} {C_{ij} x_{ijk} } } }$$
(1)

Subject to:

$$\sum\limits_{k \in K}^{{}} {\sum\limits_{i \in I \cup J}^{{}} {x_{ijk} } = 1,\,\,\,\,\,\,\,\forall j} \in J$$
(2)
$$\sum\limits_{j \in J}^{{}} {d_{j} \sum\limits_{i \in I \cup J}^{{}} {x_{ijk} } } \le Q_{k} , \, \,\,\,\,\,\,\forall k \in K$$
(3)
$$U_{lk} - U_{jk} + Nx_{ijk} \le N - 1, \, \,\,\,\,\,\,\forall \,\,l,j \in J, \, k \in K$$
(4)
$$\sum\limits_{i \in I \cup J}^{{}} {x_{ijk} } - \sum\limits_{i \in I \cup J}^{{}} {x_{jik} } = 0, \, \,\,\,\,\,\,\forall \,k \in K, \, i \in I \cup J$$
(5)
$$\sum\limits_{i \in I}^{{}} {\sum\limits_{j \in J}^{{}} {x_{ijk} }_{{}} \le 1,\,\,\,\,\,\,\forall \, k \in K} ,$$
(6)
$$\sum\limits_{j \in J}^{{}} {d_{i} z_{ij} } \le V_{i} , \, \,\,\,\,\,\,\forall i \in I$$
(7)
$$- z_{ij} + \sum\limits_{i = 1}^{n} {(x_{iuk} } + x_{ujk} ) \le 1, \, \,\,\,\,\,\,\forall i \in I, \, j \in J, \, k \in K$$
(8)
$$x_{ijk} \in \left\{ {0,\left. 1 \right\}} \right., \, \,\,\,\,\,\,\forall i \in I, \, j \in J, \, k \in K$$
(9)
$$z_{ij} \in \left\{ {0,\left. 1 \right\}, \, \,\,\,\,\,\,\forall \,i \in I, \, j \in J} \right.$$
(10)
$$U_{lk} \ge 0,\,\,\,\,\,\,\,\forall \, l \in J, \, k \in K$$
(11)

The objective function (1) is to minimize sum of the total transportation cost for the vehicles. Constraint set (2) guarantees that each customer will be visited exactly once, while constraint set (3) states the capacity for a set of vehicles. Constraint set (4) is the sub-tour elimination condition, where the flow conservation is expressed by Constraint set (5). Constraint set (6) means that each route can be served at most once. Constraint set (7) ensures the capacity of the depots and constraint set (8) specifies that a customer can be assigned to a depot only if there is a route from that depot going through that customer. Constraint sets (9) and (10) represent the binary requirements on the decision variables. The auxiliary variables U lk taking positive values are declared in Constraint set (11).

Formulation of vehicle routing problem for coalition of players

A new method is proposed here that minimizes sum of the total transportation cost for the vehicles of a coalition. We assume that there are multiple players (owners of depots) that manage some depots. The players cooperate using the vehicles of each other (coalition members) with the aim of minimizing their transportation cost. Thus, by solving the CoMDVRP for a coalition of players, the assignment of customers to depots of the coalition are planned such that the total transportation cost of the coalition is minimized. Coalition m (from of 2N − 1 possible coalitions which N is the number of player) is denoted by S m (⊆ P). All sets, indices and parameters in CoMDVRP are defined in the coalitional modes.

Notations

Sets

\(I_{{\left[ {S_{m} } \right]}}\) :

The set of all depots for coalition S m ;

\(J_{{\left[ {S_{m} } \right]}}\) :

The set of all customers for coalition S m ;

\(K_{{\left[ {S_{m} } \right]}}\) :

The set of all vehicles for coalition S m .

Indices

i :

The depot index;

j :

The customer index;

k :

The route index;

m :

The coalition index.

Parameters

\(N_{{\left[ {S_{m} } \right]}}\) :

The number of customers in coalition S m ;

\(C_{{ij[S_{m} ]}}\) :

The travel cost spent to go from point i toj under coalition S m situation i, j ∊ I ∪ J;

V i :

The maximum throughput at depot i;

d j :

The demand of customer j;

\(Q_{{k[S_{m} ]}}\) :

The maximum capacity of vehicle (route) k.

Decision variables

$$x_{{ijk[S_{m} ]}} :\left\{ \begin{aligned} 1,{\text{ if }}i{\text{ immediately preceeds }}j{\text{ on route }}k{\text{ in coalition }}S_{m} { ;} \hfill \\ 0,{\text{ otherwise ;}} \hfill \\ \end{aligned} \right. \,$$
$$z_{{ij\left[ {S_{m} } \right]}} :\left\{ \begin{aligned} 1,{\text{ if customer }}j{\text{ is served by depot }}i{\text{ in coalition }}S_{m} { ;} \hfill \\ 0,{\text{ otherwise ;}} \hfill \\ \end{aligned} \right.$$

\(U_{{lk\left[ {S_{m} } \right]}}^{{}}\) the auxiliary variable for sub-tour elimination constraint in route k for coalition S m and \(l \in J_{{[s_{m} ]}}\).

Model formulation for CoMDVRP

This section presents a model for the CoMDVRP considering interactions among owners as follows:

$$\text{Min}\,\,\,\,{\text{TC}}(S_{m} ) = \sum\limits_{{i \in I_{{\left[ {S_{m} } \right]}} \cup J_{{\left[ {S_{m} } \right]}} }}^{{}} {\sum\limits_{{j \in I_{{\left[ {S_{m} } \right]}} \cup J_{{\left[ {S_{m} } \right]}} }}^{{}} {\sum\limits_{{k \in K_{{\left[ {S_{m} } \right]}} }}^{{}} {C_{{ij\left[ {S_{m} } \right]}} } } } x_{{ijk\left[ {S_{m} } \right]}}$$
(12)

Subject to

$$\sum\limits_{{k \in K_{{\left[ {S_{m} } \right]}} }}^{{}} {\sum\limits_{{i \in I_{{\left[ {S_{m} } \right]}} \cup J_{{\left[ {S_{m} } \right]}} }}^{{}} {x_{{ijk\left[ {S_{m} } \right]}} } = 1, \, \,\,\,\,\,\,\forall \,j} \in J_{{\left[ {S_{m} } \right]}}$$
(13)
$$\sum\limits_{{j \in J_{{\left[ {S_{m} } \right]}} }}^{{}} {d_{{j_{{}} }}^{{}} \sum\limits_{{i \in I_{{\left[ {S_{m} } \right]}} \cup J_{{\left[ {S_{m} } \right]}} }}^{{}} {x_{{ijk_{{\left[ {S_{m} } \right]}} }}^{{}} } } \le Q_{{k_{{\left[ {S_{m} } \right]}} }}^{{}} , \, \,\,\,\,\,\,\forall \,k \in K_{{\left[ {S_{m} } \right]}}$$
(14)
$$U_{{lk_{{\left[ {S_{m} } \right]}} }}^{{}} - U_{{jk_{{\left[ {S_{m} } \right]}} }}^{{}} + N_{{\left[ {S_{m} } \right]}} x_{{ijk\left[ {S_{m} } \right]}} \le N - 1, \, \,\,\,\,\,\,\forall \,l,j \in J_{{\left[ {S_{m} } \right]}} , \, k \in K_{{\left[ {S_{m} } \right]}}$$
(15)
$$\sum\limits_{{i \in I_{{\left[ {S_{m} } \right]}} \cup J_{{\left[ {S_{m} } \right]}} }}^{{}} {x_{{ijk\left[ {S_{m} } \right]}} } - \sum\limits_{{i \in I_{{\left[ {S_{m} } \right]}} \cup J_{{\left[ {S_{m} } \right]}} }}^{{}} {x_{{jik\left[ {S_{m} } \right]}} } = 0, \, \,\,\,\,\,\,\forall \,k \in K_{{\left[ {S_{m} } \right]}} , \, i \in I_{{\left[ {S_{m} } \right]}} \cup J_{{\left[ {S_{m} } \right]}}$$
(16)
$$\sum\limits_{{i \in I_{{\left[ {S_{m} } \right]}} }}^{{}} {\sum\limits_{{j \in J_{{\left[ {S_{m} } \right]}} }}^{{}} {x_{{ijk\left[ {S_{m} } \right]}} } \le 1, \, \,\,\,\,\,\,\forall \,k \in K_{{\left[ {S_{m} } \right]}} }$$
(17)
$$\sum\limits_{{j \in J_{{\left[ {S_{m} } \right]}} }}^{{}} {d_{i} z_{{ij\left[ {S_{m} } \right]}} } \le V_{i} , \, \,\,\,\,\,\,\forall \,i \in I_{{\left[ {S_{m} } \right]}}$$
(18)
$$- z_{{ij\left[ {S_{m} } \right]}} + \sum\limits_{{u \in I_{{\left[ {S_{m} } \right]}} \cup J_{{\left[ {S_{m} } \right]}} }}^{{}} ( x_{{iuk\left[ {S_{m} } \right]}} + x_{{ujk\left[ {S_{m} } \right]}} ) \le 1, \, \,\,\,\,\,\,\forall \,i \in I_{{\left[ {S_{m} } \right]}} , \, j \in J_{{\left[ {S_{m} } \right]}} , \, k \in K_{{\left[ {S_{m} } \right]}}$$
(19)
$$\sum\limits_{k \in K}^{{}} {\sum\limits_{j \in J}^{{}} {x_{{ijk\left[ {S_{m} } \right]}} } } = 1, \, \,\,\,\,\,\,\forall \,i \in I$$
(20)
$$x_{{ijk\left[ {S_{m} } \right]}} + x_{{j^{\prime}i^{\prime}k\left[ {S_{m} } \right]}} \le 1, \, \,\, \, \forall i \in I_{{[S_{m} ]}} ,\,i \ne i^{'} , \, j \in J_{{[S_{m} ]}} , \, k \in K_{{[S_{m} ]}}$$
(21)
$$x_{{ijk\left[ {S_{m} } \right]}} \in \left\{ {0,\left. 1 \right\}} \right., \, \,\,\,\,\,\,\forall \,i \in I_{{\left[ {S_{m} } \right]}} , \, j \in J_{{\left[ {S_{m} } \right]}} , \, k \in K_{{\left[ {S_{m} } \right]}}^{{}}$$
(22)
$$z_{{ij\left[ {S_{m} } \right]}} \in \left\{ {0,1} \right\}, \, \,\,\,\,\,\,\forall \,i \in I_{{\left[ {S_{m} } \right]}} , \, j \in J_{{\left[ {S_{m} } \right]}}$$
(23)
$$U_{{j^{\prime}k\left[ {S_{m} } \right]}} \ge 0, \, \,\,\,\,\,\,\forall \,j^{\prime} \in J_{{\left[ {S_{m} } \right]}} , \, k \in K_{{\left[ {S_{m} } \right]}}$$
(24)

The constraints of this model are developed from the previous model, and two new constraints are added as well. The main objective of Function (12) is to minimize sum of the total transportation cost for the vehicles of coalition S m . Constraint set (13) guarantees that in any coalitions each customer will be visited exactly once by the existing vehicles. Constraint set (14) states the capacity for a set of vehicles of coalition S m . Constraint set (15) is the new sub-tour elimination constraint set and the flow conservation is expressed in Constraint (16). Constraint set (17) means that each route can be used at most once in a coalition, while Constraint set (18) ensures capacity for the depots of coalition. Constraint set (19) specifies that a customer can be assigned to a depot only if there is a route from that depot going through that customer. Constraint set (20) restricts assignment of each customer to exactly one vehicle route and Constraint set (21) ensures that the route starts from a depot does not end to another depot. Constraint sets (22) and (23) denote the binary requirements on the decision variables. The auxiliary variables U jk taking positive values are declared in constraint set (24).

The above model computes the total cost by determining the best route according to coalition S m . For solving the problem, firstly, each player is considered independently that is a common MDVRP. Then, the model is solved again considering the coalitions of two players, three players and so on. When the optimal objective function for any coalitional scenario is smaller than sum of the individual optimal objective function, the players have the incentive to coordinate with each other. It means that the following equation should be established in a coalitional form:

$${\text{TC}}(S_{m} ) \le \sum\limits_{{p \in S_{m} }} {{\text{TC}}(\{ p\} )} .$$
(25)

The cost savings of coalition S m is denoted by CS({S m }) and is obtained from the following equation:

$${\text{CS}}(S_{m} ) = \sum\limits_{{p \in S_{m} }} {{\text{TC}}(\{ p\} ) - {\text{TC}}(S_{m} )} .$$
(26)

Cost saving CS({S m }) represents the difference between sum of the individual objective function and that of the objective function of coalition S m .

These cost savings can be either higher or lower, depending on the synergy between owners in different coalition. This synergy can be determined with the below function:

$${\text{Synergy}}(S_{m} ) = \frac{{{\text{CS}}(S_{m} )}}{{\sum\limits_{{p \in S_{m} }} {{\text{TC}}(\{ p\} )} }}.$$
(27)

Now, two numerical examples (symmetric and asymmetric examples) will be addressed to test the cooperative VRP. In both numerical examples, four companies were considered which serve some specific customers. The companies which are in fact the players are owners of depots and are illustrated by P = {1, 2, 3, 4}. Each player owns one depot with only one vehicle. The customers of each depot (i.e. players) are illustrated by D 1 = {c 1c 2c 3c 4c 5}, D 2 = {c 6c 7c 8c 9c 10}, D 3 = {c 11c 12c 13c 14c 15},D 4 = {c 16c 17c 18c 19c 20} for symmetric example and D 1 = {c 1c 2c 3c 4c 5}, D 2 = {c 6c 7c 8c 9}, D 3 = {c 10c 11c 12c 13}, D 4 = {c 14c 15c 16} for asymmetric example, respectively. Maximum throughputs at depots are V 1 = V 2 = V 3 = V 4 = 200 for symmetric and for asymmetric are V 1 = 220, V 2 = 200, V 3 = 210, and V 4 = 195. Meanwhile, each company has one vehicle which in symmetric example has the same capacity Q k  = 220 and in asymmetric example capacity of vehicles are Q 1 = 240, Q 2 = 200, Q 3 = 210, and Q 4 = 195. Figure 2 depicts the framework of these examples. Each depot and their customers are shown in the same color. The travel costs spent to go from point i to j and the demand of each customer are shown in Tables 1 and 2, and the demand of each customer are shown in Tables 3 and 4.

Fig. 2
figure 2

Examples of coalition between 4 companies

Table 1 Travel costs (C ij ) spent to go from point i to j for symmetric
Table 2 Travel costs (C ij ) spent to go from point i to j for asymmetric
Table 3 Demand of each customer for symmetric
Table 4 Demand of each customer for asymmetric

The model of CoMDVRP (12)–(24) is first solved for each possible coalition of players S m :{1},{2},{3},{4},{1, 2},{1, 3},{1, 4},{2, 3},{2, 4},{3, 4}{1, 2, 3},{1, 2, 4},{1, 3, 4},{2, 3, 4}, and {1, 2, 3, 4} by Gams software (Rosenthal 1988). Table 5 and Table 6 present the best route of the CoMDVRP for each of two examples. Moreover, Fig. 3 illustrates the optimal solution of the examples after the grand coalition (i.e. S 15 = {1, 2, 3, 4}) and demonstrates that each customer is allocated to which depots. It also shows the best route among the depots and customers in grand coalition. The main idea is that the total transportation costs can be decreased if the players cooperate with each other. Table 7 summarizes values of the objective function for each coalition obtained from the CoMDVRP. This table also lists the cost saving for each possible coalition obtained from Eq. (26) and synergy obtained from Eq. (27).

Table 5 Best route for each vehicle in different coalitions for symmetric example
Table 6 Best route for each vehicle in different coalitions for asymmetric example
Fig. 3
figure 3

Results of grand coalition in numerical examples

Table 7 Transportation cost and cost saving for each possible coalition

Now, for a fair distribution of the cost saving among the players, the techniques of CGT are utilized. In the next section, some economic concepts are described for the cost saving allocation.

Cooperative techniques for cost saving allocation

The cooperative techniques are used to fairly assign the cost saving to each member of the coalition such that all the players (owners) might receive more than they could individually get on their own. The fair allocation is recognized according to the amount that is added by each member to a coalition. Thus, depending on the amount that each player adds to a coalition they receive a percent of cost saving. A number of sharing mechanisms of cost saving are suggested based on the economic models including Shapley value, Core, the τ value and ECSM.

The number of players (owners in CoMDVRP) is denoted by n and the set of all the players is denoted by P such that P = {1, 2,…, n}. A cooperative game is considered in which the players choose to cooperate in the coalitions if they are profitable. A coalition is any subset S ⊆ P, and hence there are 2N − 1 possible coalitions. For an N-person cooperative game among owners of CoMDVRP, a characteristic function CS(S)is considered. For owners set p, CS(P) represents the possible cost saving when all owners cooperate (i.e., the characteristic function of grand coalition). The game has a super-additive property if:

$${\text{CS}}\text{(}S\text{)} \ge \sum\limits_{p \in S} {{\text{CS}}(\left\{ p \right\})}$$
(28)

A cost allocation vector \(\vec{y} = (y_{1} ,y_{2} , \ldots ,y_{n} )\) assigns a quantity y p to each player p in P and we know that ∑  pP y p  ≤ CS(P). A vector \(\vec{y} = (y_{1} ,y_{2} , \ldots ,y_{n} )\) is an imputation for cost saving assignment if it satisfies the individual rationality condition y p  ≥ CS({p}) for all p ∊ P, and efficient condition ∑  pP y p  = CS(P), respectively (Barron 2013). Actually, an imputation shows that how CS(P)should be distributed among the owners of VRP system such that no one will reject the allocated assignment. The set of all feasible imputations for the cooperative game is defined as

$$Y = \left\{ {\vec{y} = (y_{1} ,y_{2} , \ldots ,y_{n} )\left| {y_{p} \ge {\text{CS}}(\left\{ p \right\}),\sum\limits_{p \in P} {y_{k} } } \right. = {\text{CS}}(P)} \right\}.$$
(29)

The main challenge of CGT is to fairly assign the payoff CS(P) among the players (Barron 2013). According to different interpretations of the fairness, previous researchers have suggested various methods. In the following sections, we propose some of them for cost saving allocation problem in the cooperative VRP, however, the readers may refer to Barron (2013), Branzei et al. (2008), and Gilles (2010) for more information.

Shapley value

The Shapley value is one of the solution methods for distribution of cost saving among the players (owners) that was put forward by Shapley in 1952 (Shapley 1952). Shapley value is a weighted average which considers contributions of the marginal cost saving given by the members in each possible coalition. An allocation \(\vec{y} = (y_{1} ,y_{2} , \ldots ,y_{n} )\) is called Shapley value if:

$$y_{i} = \sum\limits_{{S \subset \prod^{i} }} {\frac{(\left| S \right| - 1)!(\left| P \right| - \left| S \right|)!}{\left| P \right|!}\left[ {{\text{CS}}(S) - {\text{CS}}(S - \left\{ p \right\})} \right]} ,$$
(30)

where Π i is the set of all coalitions S ⊂ Pthat contain player p, and |S| represents the number of members in coalition S, and |N| = n. CS(S) − CS(S − {p}) gives the amount by which the cost saving of coalition S − {p} increases when player p joins it. Therefore, CS(S) − CS(S − {p}) represents the marginal cost saving of participant p with respect to coalition S. The formula of Shapley value denotes summation over all coalitions that contain player p.

Core

Another very important concept in CGT is the core (Gillies 1953). For the cost saving allocation problem, the core of a game presents a set of imputations as follows:

$${\text{core}}(0) = \left\{ {\overrightarrow {y} \in Y\left| {\,e(S,\overrightarrow {y} ) \le 0,\,\forall S \subset P} \right.} \right\} = \left\{ {\overrightarrow {y} \in Y\left| {\,v(S) - \sum\limits_{p \in P} {y_{p} } \le 0,\,\,\,\forall S \subset P} \right.} \right\}$$
(31)

The game is called stable if the core is non-empty. The core is the set of allocations so that each coalition receives at least the cost saving associated with that coalition. The ε-core, for −∞ < ε < + ∞ is defined as follows:

$$\text{core}(\varepsilon ) \, = \, \{ \overrightarrow {y} \in Y \, | \, e \, (S, \, \overrightarrow {y} \, ) \, \le \varepsilon , \, \forall S \subset P, \, S \ne P, \, S \ne \emptyset \}$$
(32)

However, the core has two drawbacks: it can be not unique and it can be empty. A relatively simple way to handle both limitations is through least core (or minimax) core methods. Actually, the least core method shrinks the core space simultaneously from each side of boundary until a single point (imputation) is achieved. A linear model of the minimax core is introduced as follows:

$$\hbox{min} \varepsilon$$
(33)

Subject to:

$$e(S,\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\rightharpoonup}$}}{y} ) \le \varepsilon ,\,\,\,\,\,\forall S \subset P$$
(34)
$$\sum\limits_{p \in P} {y_{p} } = v(P)$$
(35)
$$y_{p} \ge 0,\,\,\,\,\,\,\,\,\,\forall p$$
(36)

τ value

An extension of the Shapley value is based on the idea that if there are a priori unions. The τ value is defined as the efficient imputation τ, (i.e. \((\vec{\tau } \in Y)\)) such that \(\vec{\tau } = m + \alpha (M - m)\) for some α, where M and m denote the utopia payoffs and the minimum rights vectors, respectively. m and M are defined as follows:

$$m_{p} = \mathop {\hbox{max} }\limits_{{S_{m} :p^{\prime} \in S_{m} }} \left\{ {{\text{CS}}\left( {S_{m} } \right) - \mathop \sum \limits_{{p^{\prime} \in S_{m} \backslash \{ p\} }} M_{{p^{\prime}}} } \right\}$$
(37)
$$M_{p} = {\text{CS}}(P) - {\text{CS}}(P\backslash \left\{ p \right\})$$
(38)

The τ value is only defined for quasi balanced games. A class of the quasi balanced games contains all games that have a non-empty core (Casas-Méndez et al. 2003). τ value method defines imputation \(\vec{\tau } = (\tau_{1} ,\tau_{2} , \ldots ,\tau_{n} )\) such that:

$$\tau_{k} = m_{k} + \alpha (M_{k} - m_{k} ),$$
(39)

in which α ∊ [0, 1] is uniquely determined by ∑  pP τ p  = CS(P).

Equal cost saving method

Equal cost saving method (ECSM) is motivated to provide a stable and uniform allocation for the players. Actually, this method minimizes the maximum differences in the pairwise relative cost saving of the owners in a coalition. The formulation of ECSM is as follows

$$\,\text{Min} \, z$$
(40)

Subject to:

$$z \ge \left| {y_{p} - \,y_{{p^{\prime}}} } \right|,\quad \forall (p,p^{\prime}) \in P, \,$$
(41)
$$\sum\limits_{p \in S} {y_{p} } \ge {\text{CS}}(S),\quad \text{for}\,\text{all}\,S \subset P,\,S \ne P,$$
(42)
$$\sum\limits_{p \in P} {y_{p} } = {\text{CS}}(P).$$
(43)

Constraint set (41) measures the maximum difference between the relatives of each two players. Thus, variable z represents the largest difference that should be minimized in the objective function. Constraint sets (42) and (43) ensure stability of the imputation.

Numerical example for cost saving methods in cooperative VRP

As mentioned earlier, it is important how the total cost or cost saving should be fairly distributed among the players. CGT provides an appropriate framework to study the problems of joint cost saving allocation. For the previous numerical example, allocation of the cost saving according to different CGT methods are shown in Table 8. The Shapley value, and τ value have been computed using TUGlab (Mirás Calvo and Sánchez Rodrı´ guez 2006). Moreover the minimax core problem (33)–(36) and ECSM problem (40)–(43) have been computed by Lingo 11.

Table 8 Allocation of cost saving to VRP owners based on different CGT methods

Table 9 lists the corresponding satisfaction values for each coalition. Consider imputation \(\vec{y} = (y_{1} ,y_{2} , \ldots ,y_{n} )\), satisfaction of a coalition S m from the imputation \(\overrightarrow {y}\) is computed by \(F_{s} ({\text{CS}},\overrightarrow {y} ) = \sum\limits_{{p \in S_{m} }} {y_{p} } - {\text{CS}}(S_{m} )\) .\(F_{s} ({\text{CS}},\overrightarrow {y} )\) represents the extra shares of allocated cost savings that members of a coalition can obtain with respect to the cost saving of the coalition.

Table 9 Coalition satisfactions from different CGT methods

Table 9 shows the satisfaction value for each coalition in absolute terms and also the satisfaction value in relative terms as a percentage of the satisfaction that are obtained from the imputations, i.e. \({{F_{s} ({\text{CS}},\overrightarrow {y} )} \mathord{\left/ {\vphantom {{F_{s} ({\text{CS}},\overrightarrow {y} )} {{\text{TC}}(S_{m} )}}} \right. \kern-0pt} {{\text{TC}}(S_{m} )}}\). Furthermore, minimum, maximum and the overall satisfaction of the coalitions are indicated in this table.

Figure 4 illustrates the core of the four players game in barycentric coordinates which are computed by TUGlab. Note that only the cost savings allocated to the players 1, 2 and 3 are shown in this figure. The amount allocated to the fourth player is implicit and can be computed from the efficiency condition for each point.

Fig. 4
figure 4

Core of Co-MDVRP for examples with four players

To investigate the similarity between the four methods of CGT, we suggest correlation between the cost saving allocations. For two imputations \(\vec{y} = (y_{1} ,y_{2} , \ldots ,y_{n} )\) and \(y\prime = (y^{\prime}_{1} ,y^{\prime}_{2} , \ldots ,y^{\prime}_{n} )\), correlation measure is defined as follows

$$\rho (\overrightarrow {{y_{p} }} ,\overrightarrow {{y^{\prime}_{p} }} ) = \frac{{\sum\limits_{k} {\left( {y_{p} - \overline{{y_{p} }} } \right)\left( {y^{\prime}_{p} - \overline{{y^{\prime}_{p} }} } \right)} }}{{\sqrt {\sum\limits_{k} {\left( {y_{p} - \overline{{y_{p} }} } \right)^{2} \sum\limits_{k} {\left( {y^{\prime}_{p} - \overline{{y^{\prime}_{p} }} } \right)^{2} } } } }}.$$
(44)

Table 10 illustrates the correlation measures for each pair of CGT methods. From the table we know that the solutions of Shapley value, τ value, maximin core, and ECSM are close in the symmetric example. However, in asymmetric example, the solutions of different CGT methods result in different solutions.

Table 10 Similarity between solutions of CGT methods, measured by correlation

The following observation and managerial insights are derived from the numerical examples:

  1. 1.

    Due to synergy effects of the owners, the cost saving of coalition in a VRP can be considerable. For instance, there are 49.6 and 18 % cost saving in the grand coalition of symmetric and asymmetric examples that could be regarded as a good motivation for the cooperation among the companies.

  2. 2.

    Each player has a different role in the coalition. For instance, in symmetric example, if owner 1 joins the coalition {2, 3}, the cost savings would be 19.677, and if he joins the coalition {2, 4}, then the cost savings would be 20.757, and 19.491 if he joints the coalition {3, 4}.

  3. 3.

    The results from various mechanisms of the CGT are somewhat different. Therefore, these characteristics must be considered in the contracts between companies and as a result, the cost saving assigned to each player can be thoroughly specified.

Conclusion and further research

This paper proposed a new vehicle routing problem for minimizing the transportation costs when there are multiple players (i.e. owners). Considering a multi-depot VRP, the cooperation among owners of the depots was suggested by sharing their vehicles. The transportation costs of collaboration among different owners were evaluated. It was shown that the transportation costs were decreased that could lead to considerable cost savings. Hence, for a fair allocation of the cost savings among the owners, a set of methods based on the CGT theory including Shapley value, τ value, least core, and equal cost saving method were proposed. Two symmetric and asymmetric examples were provided to evaluate the proposed concept. Based on the results obtained from the cost saving allocation, the owners can decide about joining the coalitions that bring them more profit.

There are several directions and suggestions for future research works. First of all, it was assumed that in the MDVRP, the vehicles are similar. Changing this assumption in the proposed MDVRP, can offer a new CoMDVRP. Furthermore, other vehicle routing problems such as time windows and etc. can be used to present a cooperative model. Finally, this study assumes that the cost parameters of the owners are common knowledge; however, it is unlikely that the owners would be privy to real cost parameters. This situation would lead to a collaborative game model under asymmetric information that is interesting but challenging.