Acessibilidade / Reportar erro

INTEGER FORMULATIONS FOR THE INTEGRATED VEHICLE ROUTING PROBLEM WITH TWO-DIMENSIONAL PACKING CONSTRAINTS

ABSTRACT

Two integer linear programming models are developed for the unrestricted vehicle routing problem with two-dimensional loading constraints. The first one is a complete model, and the other uses valid inequalities to guarantee that routes are connected and respect the two-dimensional loading constraints. The models are solved with a branch-and-cut algorithm. Computational experiments on benchmark instances showed the complete model has allowed optimal solutions for 5% of the instances, while the second model optimally solved 64% of the instances. Given the superior performance of the second model, we adapted it to handle the sequential variant of the problem, which is harder, and then optimal solutions were obtained for 46% of the instances within the given time limit. The second model compared with a branch-and-cut algorithm from the literature found identical or better solutions for all the instances.

Keywords:
vehicle routing problem with two-dimensional loading; multi-drop requirements; integer programming formulation; branch-and-cut

1 INTRODUCTION

This paper addresses the Vehicle Routing Problem with Two-Dimensional Loading Constraints (2L-CVRP), an NP-Hard problem (Iori et al., 2007IORI M, SALAZAR-GONZÁLEZ JJ & VIGO D. 2007. An exact approach for the vehicle routing problem with two-dimensional loading constraints. Transportation Science , 41(2): 253-264.). It integrates two other NP-hard optimization problems: Capacitated Vehicle Routing Problem (CVRP) (Dantzig & Ramser, 1959DANTZIG GB & RAMSER JH. 1959. The Truck Dispatching Problem. Management Science, 6(1): 80-91.; Clarke & Wright, 1964CLARKE G & WRIGHT JW. 1964. Scheduling of Vehicles from a Central Depot to a Number of Delivery Points. Operations Research, 12(4): 568-581.; Mor & Speranza, 2020MOR A & SPERANZA MG. 2020. Vehicle routing problems over time: a survey. 4OR, 18: 129- 149.) and Two-Dimensional Bin Packing Problem (2BPP) (Kantorovich, 1960KANTOROVICH LV. 1960. Mathematical Methods of Organizing and Planning Production. Management Science , 6(4): 366-422.; Sweeney & Paternoster, 1992SWEENEY PE & PATERNOSTER ER. 1992. Cutting and Packing Problems: A Categorized, Application-Orientated Research Bibliography. Journal of the Operational Research Society , 43(7): 691-706.; Côté et al., 2021CÔTÉ JF, HAOUARI M & IORI M. 2021. Combinatorial Benders Decomposition for the Two- Dimensional Bin Packing Problem. INFORMS Journal on Computing, 33(3): 963-978.). The two-dimensional loading in the CVRP emerges when it is impossible to stack items due to fragility or size. Moreover, including loading constraints in CVRPs will yield more accurate route planning since this problem appears in many practical situations, especially in logistics. Côté et al. (2017)CÔTÉ JF, GUASTAROBA G & SPERANZA MG. 2017. The value of integrating loading and routing. European Journal of Operational Research, 257(1): 89-105. pointed out that solving the 2L-CVRP in a non-integrated way may increase the cost of solutions by 7% on average.

In the 2L-CVRP, we are interested in minimum-cost routes to satisfy customers’ demands for two-dimensional rectangular items. Vehicles depart from a central depot, visit one or more customers to deliver items, and return to the depot. Besides respecting the vehicles’ maximum weight and area capacities, we need to give attention to the positioning of items on the vehicles’ rectangular base. These loading subproblems require items not to overlap each other, and they must be entirely inside the base. In some cases, it is required that items must have free passage when unloading at customers. The latter refers to multi-drop requirements or the sequential variant, where re-handling items is not allowed when unloading; otherwise, we have the unrestricted variant, where items can be re-handled during unloading operations (Iori & Martello, 2010IORI M & MARTELLO S. 2010. Routing Problems with Loading Constraints. TOP, 18(1): 4-27.).

In this paper, two integer models are developed for the 2L-CVRP and solved with a Branch- and-Cut algorithm (B&C). Differently from the literature (e.g., Iori et al. (2007IORI M, SALAZAR-GONZÁLEZ JJ & VIGO D. 2007. An exact approach for the vehicle routing problem with two-dimensional loading constraints. Transportation Science , 41(2): 253-264.), Azevedo et al. (2009AZEVEDO BLP, HOKAMA P, MIYAZAWA FK & XAVIER EC. 2009. A Branch-and-Cut Approach for the Vehicle Routing Problem with Two-dimensional Loading Constraints. In: XLI Simpósio Brasileiro de Pesquisa Operacional. pp. 2491-2502. Brazil.), and Hokama et al. (2016HOKAMA P, MIYAZAWA FK & XAVIER EC. 2016. A branch-and-cut approach for the vehicle routing problem with loading constraints. Expert Systems with Applications, 47: 1-13.)), the first model considers the entire problem, meaning we deal simultaneously with routing and packing decisions in the model. This first model has three- index routing variables and five-index packing variables. On the other hand, the second model follows the literature and has two-index routing variables, where valid inequalities are added as demanded after running separation routines to deal with the loading subproblems.

Our contributions to the 2L-CVRP rely on: (i) proposal of a complete model; (ii) proposal of a tailored separation routine for detecting violated packing decisions; (iii) comparison between two methodologies (to insert all constraints at once and to detect/insert valid inequalities during optimization); and, (iv) computational results for a wide range of experiments, comprising both the unrestricted and sequential variants of the 2L-CVRP.

In the next section, a literature review related to the 2L-CVRP is presented. Some variants of the 2L-CVRP consider constraints, such as time windows, heterogeneous fleets, and multiple depots. Concerning the loading subproblem, additional constraints are related to cargo stability, fragility conditions, load balance, and grouping of items. Section 3 has the developed models and separation routines. Computational experiments and results are detailed in Section 4. Finally, concluding remarks and proposals for future works are given in Section 5.

2 LITERATURE RELATED TO THE 2L-CVRP

The 2L-CVRP was introduced by Iori et al. (2007IORI M, SALAZAR-GONZÁLEZ JJ & VIGO D. 2007. An exact approach for the vehicle routing problem with two-dimensional loading constraints. Transportation Science , 41(2): 253-264.). The authors described an integer linear programming model to solve the sequential variant of the 2L-CVRP. This model was solved with a B&C algorithm in which cutting planes related to sub-tours were added during the optimization process. The loading subproblem associated with each route was solved with a Branch-and-Bound algorithm (B&B) called Check-2L, where lower and upper bounds were also applied to prevent unnecessary enumeration. Computational experiments were carried out on instances adapted from Reinelt (1991REINELT G. 1991. TSPLIB - A Traveling Salesman Problem Library. ORSA Journal on Computing, 3(4): 376-384.) and Toth & Vigo (2001TOTH P & VIGO D. 2001. An Overview of Vehicle Routing Problems. In: The Vehicle Routing Problem. pp. 1-26. Philadelphia, PA, USA: Society for Industrial and Applied Mathematics .), totaling 60 instances with up to 35 customers and 114 items.

In the literature, there are few exact algorithms to deal with the 2L-CVRP and its variants. Azevedo et al. (2009AZEVEDO BLP, HOKAMA P, MIYAZAWA FK & XAVIER EC. 2009. A Branch-and-Cut Approach for the Vehicle Routing Problem with Two-dimensional Loading Constraints. In: XLI Simpósio Brasileiro de Pesquisa Operacional. pp. 2491-2502. Brazil.) proposed a B&C to the 2L-CVRP. The authors developed new separation routines and valid inequalities based on those of the CVRP. An exact algorithm, combined with simple heuristics, was used to solve the loading subproblems. In the sequential variant, they compared their results with those of Iori et al. (2007IORI M, SALAZAR-GONZÁLEZ JJ & VIGO D. 2007. An exact approach for the vehicle routing problem with two-dimensional loading constraints. Transportation Science , 41(2): 253-264.). They were able to find optimal solutions to more instances, besides reducing the runtime required to solve many others.

Hokama et al. (2016HOKAMA P, MIYAZAWA FK & XAVIER EC. 2016. A branch-and-cut approach for the vehicle routing problem with loading constraints. Expert Systems with Applications, 47: 1-13.) presented a B&C to solve the sequential 2L-CVRP, where valid inequalities were proposed following the literature in the CVRP. The authors proposed a constraint programming formulation to handle the loading subproblems. When comparing their results with those from the literature, they improved in 9% the number of optimal solutions obtained.

Côté et al. (2017CÔTÉ JF, GUASTAROBA G & SPERANZA MG. 2017. The value of integrating loading and routing. European Journal of Operational Research, 257(1): 89-105.) compared solutions of the 2L-CVRP with those obtained from solving each problem (i.e., the CVRP and 2BPP) independently and then combining their solutions to obtain a feasible 2L-CVRP solution. The computational experiments on benchmark instances using integer programming models showed that an improvement of approximately 7% can be achieved if the 2L-CVRP is solved directly. They also pointed that the loading subproblem may be the bottleneck of this problem.

Junqueira et al. (2013JUNQUEIRA L, OLIVEIRA JF, CARRAVILLA MA & MORABITO R. 2013. An optimization model for the vehicle routing problem with practical three-dimensional loading constraints. International Transactions in Operational Research , 20(5): 645-666.) solved the problem with three-dimensional items, presenting a complete model that was solved with a B&C algorithm. Their model combined a time-dependent formulation for the routing counterpart and a grid-based formulation for the loading subproblem. The model has four-index variables related to the routing and seven-index variables related to the loading and allowed optimal solutions to small instances within some hours of running time. The authors also studied the impact of some practical constraints in the loading subproblem, such as cargo stability, multi-drop requirements, and load-bearing strength of items. In this work, we propose a complete model for the 2L-CVRP that has fewer variables and constraints than Junqueira et al. (2013)JUNQUEIRA L, OLIVEIRA JF, CARRAVILLA MA & MORABITO R. 2013. An optimization model for the vehicle routing problem with practical three-dimensional loading constraints. International Transactions in Operational Research , 20(5): 645-666.. Recently, Ferreira et al. (2021FERREIRA KM, QUEIROZ TA & TOLEDO FMB. 2021. An exact approach for the green vehicle routing problem with two-dimensional loading constraints and split delivery. Computers & Operations Research , 136: 105452.) proposed integer programming models and B&C algorithms for three variants of the 2L-CVRP: allowing split delivery, with green requirements, and combing split delivery and green requirements.

Regarding heuristics for the 2L-CVRP and its variants, Gendreau et al. (2008GENDREAU M, IORI M, LAPORTE G & MARTELLO S. 2008. A Tabu search heuristic for the vehicle routing problem with two-dimensional loading constraints. Networks, 51(1): 4-18.) proposed a tabu search-based approach, while Fuellerer et al. (2009FUELLERER G, DOERNER KF, HARTL RF & IORI M. 2009. Ant colony optimization for the two-dimensional loading vehicle routing problem. Computers & Operations Research , 36(3): 655-673.) developed an ant colony optimization. In Zachariadis et al. (2009ZACHARIADIS EE, TARANTILIS CD & KIRANOUDIS CT. 2009. A Guided Tabu Search for the Vehicle Routing Problem with two-dimensional loading constraints. European Journal of Operational Research , 195(3): 729-743.), there is a guided tabu search heuristic with a structure to save evaluated routes and avoid unnecessary computation. In Strodl et al. (2010STRODL J, DOERNER KF, TRICOIRE F & HARTL RF. 2010. On Index Structures in Hybrid Metaheuristics for Routing Problems with Hard Feasibility Checks: An Application to the 2- Dimensional Loading Vehicle Routing Problem. In: BLESA MJ, BLUM C, RAIDL G, ROLI A & SAMPELS M (Eds.), Proceedings of the 7th International Workshop on Hybrid Metaheuristics, vol. 6373. pp. 160-173. Springer Berlin Heidelberg.), a variable neighborhood search handled routing decisions while an exact procedure dealt with loading subproblems. On the other hand, Leung et al. (2010LEUNG SCH, ZHENG J, ZHANG D & ZHOU X. 2010. Simulated annealing for the vehicle routing problem with two-dimensional loading constraints. Flexible Services and Manufacturing Journal, 22(1-2): 61-82.) developed a simulated annealing able to improve many solutions reported by Gendreau et al. (2008)GENDREAU M, IORI M, LAPORTE G & MARTELLO S. 2008. A Tabu search heuristic for the vehicle routing problem with two-dimensional loading constraints. Networks, 51(1): 4-18., Zachariadis et al. (2009)ZACHARIADIS EE, TARANTILIS CD & KIRANOUDIS CT. 2009. A Guided Tabu Search for the Vehicle Routing Problem with two-dimensional loading constraints. European Journal of Operational Research , 195(3): 729-743., and Fuellerer et al. (2009)FUELLERER G, DOERNER KF, HARTL RF & IORI M. 2009. Ant colony optimization for the two-dimensional loading vehicle routing problem. Computers & Operations Research , 36(3): 655-673..

In Duhamel et al. (2011DUHAMEL C, LACOMME P, QUILLIOT A & TOUSSAINT H. 2011. A multi-start evolutionary local search for the two-dimensional loading capacitated vehicle routing problem. Computers & Operations Research , 38(3): 617-640.), the greedy randomized-adaptive search procedure (GRASP) was combined with a local evolutionary search for the 2L-CVRP. On the other hand, Leung et al. (2011LEUNG SCH, ZHOU X, ZHANG D & ZHENG J. 2011. Extended guided tabu search and a new packing algorithm for the two-dimensional loading vehicle routing problem. Computers & Operations Research , 38(1): 205-215.) proposed an extended guided tabu search. Shen & Murata (2012SHEN Y & MURATA T. 2012. Pick-up Scheduling of Two-dimensional Loading in Vehicle Routing Problem by using GA. In: Proceedings of the 2012 International MultiConference of Engineers and Computer Scientists (IMECS), vol. 2. pp. 1532-1537.) solved the 2L-CVRP with a genetic algorithm, where a heuristic based on the bottom-left was used to handle loading subproblems. In Bin et al. (2013BIN W, HONG C & ZHI-YONG C. 2013. Artificial bee colony algorithm for two-dimensional loading capacitated vehicle routing problem. In: 2013 International Conference on Management Science and Engineering (ICMSE). pp. 406-412.), the 2L-CVRP was solved by an artificial bee colony algorithm combined with three heuristics for handling loading subproblems. These authors also allowed items to rotate orthogonally. Computational tests on instances with up to 100 customers and 310 items showed that such a heuristic performed better than those of Gendreau et al. (2008GENDREAU M, IORI M, LAPORTE G & MARTELLO S. 2008. A Tabu search heuristic for the vehicle routing problem with two-dimensional loading constraints. Networks, 51(1): 4-18.), Zachariadis et al. (2009ZACHARIADIS EE, TARANTILIS CD & KIRANOUDIS CT. 2009. A Guided Tabu Search for the Vehicle Routing Problem with two-dimensional loading constraints. European Journal of Operational Research , 195(3): 729-743.), and Leung et al. (2011)LEUNG SCH, ZHOU X, ZHANG D & ZHENG J. 2011. Extended guided tabu search and a new packing algorithm for the two-dimensional loading vehicle routing problem. Computers & Operations Research , 38(1): 205-215..

In Zachariadis et al. (2013ZACHARIADIS EE, TARANTILIS CD & KIRANOUDIS CT. 2013. Integrated distribution and loading planning via a compact metaheuristic algorithm. European Journal of Operational Research , 228(1): 56-71.) there is a local search method combined with a practical heuristic for loading subproblems, while Domínguez et al. (2014DOMÍNGUEZ O, JUAN AA & FAULIN J. 2014. A biased-randomized algorithm for the two- dimensional vehicle routing problem with and without item rotations. International Transactions in Operational Research, 21(3): 375-398.) proposed a multi-start biased-randomized algorithm for the 2L-CVRP in which items could orthogonally rotate. In Wei et al. (2015WEI L, ZHANG Z, ZHANG D & LIM A. 2015. A variable neighborhood search for the capacitated vehicle routing problem with two-dimensional loading constraints. European Journal of Operational Research , 243(3): 798-814.), there is an efficient variable neighborhood search. The loading subproblems are solved with a skyline- based heuristic, where different indicators are used to determine which items to arrange in the available positions. To save computational time, routes already evaluated are kept in a pool. Wei et al. (2018)WEI L, ZHANG Z, ZHANG D & LIM A. 2018. A simulated annealing algorithm for the capacitated vehicle routing problem with two-dimensional loading constraints. European Journal of Operational Research , 265: 843-859. combined simulated annealing with the open space technique to efficiently solve the 2L-CVRP. While simulated annealing drives the optimization towards good-quality solutions, the open space technique deals with loading subproblems. Recently, Ferreira & Queiroz (2022FERREIRA KM & QUEIROZ TA. 2022. A simulated annealing based heuristic for a location- routing problem with two-dimensional loading constraints. Applied Soft Computing, p. 108443.) solved a generalization of the 2L-CVRP that includes decisions related to the location of depots. The authors presented a hybrid heuristic that integrates simulated annealing and the artificial algae algorithm. The heuristic also uses the variable neighborhood descent in the local search phase and the skyline technique to obtain feasible packings.

Table 1 summarizes the literature related to the 2L-CVRP and its variants. Each row in the table presents a work, its group, i.e., exact or heuristic, and if the 2L-CVRP is the main problem; otherwise, the problem is a variant. Other features are also described, such as the variant investigated in the loading subproblem (unrestricted and/or sequential); if the problem is solved assuming that the number of routes is exactly equal to (=) or less than () the number of available vehicles (|K|), or it is not imposed (≥ K); if it is allowed to have routes serving only one customer; which type of cost ci j is assumed to the edges {i, j} (integer or real); and, finally, the main method that is used to solve the problem (B&C, constraint programming, tabu search, simulated annealing, genetic algorithm, local search, among others). The entry ‘-’ indicates that no information was given by the authors.

Table 1
Literature related to the 2L-CVRP and its variants.

Table 1 shows that less than 35% of the works proposed integer linear programming models and exact methods (mainly B&C) to solve the 2L-CVRP and variants. Other works proposed heuristics to tackle large-sized instances, as well as to consider additional constraints in the loading subproblem, as allowing items to rotate (Bin et al., 2013BIN W, HONG C & ZHI-YONG C. 2013. Artificial bee colony algorithm for two-dimensional loading capacitated vehicle routing problem. In: 2013 International Conference on Management Science and Engineering (ICMSE). pp. 406-412.), circular items (Martínez & Amaya, 2013MARTÍNEZ L & AMAYA CA. 2013. A vehicle routing problem with multi-trips and time windows for circular items. Journal of the Operational Research Society, 64(11): 1630-1643.), re-handling of items (Munoz, 2011MUNOZ AL. 2011. Solución al problema de ruteo de vehículos con restricciones de capacidad y reordenamiento de carga en los sitios de demanda. Master’s thesis. Escuela de Ingenieria, Pontificia Universidad Catolica de Chile. Santiago, Chile.), stochastic items (Côté et al., 2020CÔTÉ JF, GENDREAU M & POTVIN JY. 2020. The Vehicle Routing Problem with Stochastic Two-Dimensional Items. Transportation Science, 54(2): 453-469.), among others. Practical constraints are also included in the routing problem, such as considering pickup and delivery (Malapert et al., 2008MALAPERT A, GUERET C, JUSSIEN N, LANGEVIN A & ROUSSEAU LM. 2008. Two-dimensional pickup and delivery routing problem with loading constraints. In: Proceedings of the First CPAIOR Workshop on Bin Packing and Placement Constraints (BPPC’08). pp. 1-46. 4. Paris, France.; Zachariadis et al., 2016ZACHARIADIS EE, TARANTILIS CD & KIRANOUDIS CT. 2016. The Vehicle Routing Problem with Simultaneous Pick-ups and Deliveries and Two-Dimensional Loading Constraints. European Journal of Operational Research , 251(2): 369-386.), a heterogeneous fleet of vehicles (Domínguez et al., 2016DOMÍNGUEZ O, JUAN AA, BARRIOS B, FAULIN J & AGUSTIN A. 2016. Using biased randomization for solving the two-dimensional loading vehicle routing problem with heterogeneous fleet. Annals of Operations Research , 236(2): 383-404.), time windows to visiting customers (Martínez & Amaya, 2013MARTÍNEZ L & AMAYA CA. 2013. A vehicle routing problem with multi-trips and time windows for circular items. Journal of the Operational Research Society, 64(11): 1630-1643.; Khebbache-Hadji et al., 2013KHEBBACHE-HADJI S, PRINS C, YALAOUI A & REGHIOUI M. 2013. Heuristics and memetic algorithm for the two-dimensional loading capacitated vehicle routing problem with time windows. Central European Journal of Operations Research , 21(2): 307-336.), each vehicle may perform more than one route (Martínez & Amaya, 2013MARTÍNEZ L & AMAYA CA. 2013. A vehicle routing problem with multi-trips and time windows for circular items. Journal of the Operational Research Society, 64(11): 1630-1643.), splitting the delivery (Ferreira et al., 2021FERREIRA KM, QUEIROZ TA & TOLEDO FMB. 2021. An exact approach for the green vehicle routing problem with two-dimensional loading constraints and split delivery. Computers & Operations Research , 136: 105452.), and green requirements (Ferreira et al., 2021FERREIRA KM, QUEIROZ TA & TOLEDO FMB. 2021. An exact approach for the green vehicle routing problem with two-dimensional loading constraints and split delivery. Computers & Operations Research , 136: 105452.).

Concerning the sequential and unrestricted variants, approximately half of the works in Table 1 have tackled both, while less than 25% of the works focused only on the unrestricted variant. Besides that, many works (i.e., more than 65%) allowed the number of routes to be equal to or less than the number of vehicles and vehicles that can perform single routes. On the other hand, less than 35% of the works presented results of the case in which edges have integer costs, most of them when a B&C is used. It is worth mentioning that we could not find any work making a proper comparison of models for the 2L-CVRP, thus pointing their advantages and weaknesses (for example, in terms of inserting all constraints at once or cutting planes as demanded).

3 INTEGER PROGRAMMING MODELS FOR THE 2L-CVRP

The 2L-CVRP is defined on a directed graph G = (V, E), where V is the set with n + 1 nodes, corresponding to the central depot (j = 0) and customers (j = 1, 2, . . . , n), and E is the set of arcs, in which E={(i,j) : i,jV, ij}. Each arc (i,j)E has a non-negative cost c ij to traverse it. Let K be the set of identical vehicles, each vehicle of capacity P and available at the depot. The dimensions of the vehicle’s rectangular base are W (width, along the x-axis) and H (height, along the y-axis), with total area A = WH, defined in the Cartesian plane with the origin at (0, 0). Each customer j demands a set M j of rectangular items, where M=jV\{0}Mj. Each item mMj has width w jm , height h jm , and weight p jm . The total area of all items belonging to the customer j is aj=mMjwjmhjm and the total weight is pj=mMjpjm. Without loss of generality, all dimensions are assumed to be positive integer numbers. The problem has the following constraints:

  • The number of routes can be less than or equal to the number of vehicles;

  • Each route starts and ends at the central depot and is associated with exactly one vehicle;

  • Routes serving a single customer are allowed;

  • Each customer must be served by exactly one vehicle, and all its items must be delivered at once (i.e., splitting deliveries is not allowed);

  • Vehicle capacities must be respected, both in terms of weight and area;

  • Each route produces a loading subproblem. In this subproblem, all items belonging to the customers of such a route must be orthogonally packed on the vehicle base without overlapping and fully inside the base. Moreover, items cannot be rotated (i.e., fixed orientation) and are arranged by their bottom-left corners. When items do not always have free passage during the unloading operation at a customer, the problem is called unrestricted, meaning items can be re-handled. Otherwise, when each item has a free passage in the unloading operation (re-handling items is not allowed), the problem is called sequential.

The objective of the 2L-CVRP is to obtain routes with the minimum total cost to serve all customers’ demands, respecting the above-mentioned constraints. We develop in the next subsections two integer linear programming models to solve the unrestricted 2L-CVRP. The first model has three-index variables related to routing decisions and five-index variables related to loading subproblems. It is a complete model in which all constraints are inserted at once. The second model has only two-index variables, such that valid inequalities concerning the elimination of sub-tours and infeasible loadings in each route are detected and added during the optimization process.

3.1 Complete model

The complete model can be seen as an improvement in the integer programming model of Junqueira et al. (2013JUNQUEIRA L, OLIVEIRA JF, CARRAVILLA MA & MORABITO R. 2013. An optimization model for the vehicle routing problem with practical three-dimensional loading constraints. International Transactions in Operational Research , 20(5): 645-666.) originally proposed to the 3L-CVRP. For the loading subproblem, without loss of generality, the vehicles’ rectangular base is discretized on the grid of canonical dissections proposed by Herz (1972HERZ JC. 1972. Recursive computational procedure for two-dimensional stock cutting. IBM Journal of Research and Development, 16(5): 462-469.). Items are arranged on this grid. Sets 𝒫 W in (1) and 𝒫 H in have the canonical dissection coordinates along the x- (width direction) and y-axis (height direction), respectively. Notice that variable ρ jm is used to indicate whether item m of customer j appears in the binary linear combination jV\{0}mMjρjmwjm to obtain the coordinate s (similarly for the coordinate t).

P W = { s Z + | s = j V \ { 0 } m M j ρ j m w j m , 0 s W , for ρ j m { 0 , 1 } , j V \ { 0 } , m M j } (1)

P H = { t Z + | t = j V \ { 0 } m M j ρ j m h j m , 0 t H , for ρ j m { 0 , 1 } , j V \ { 0 } , m M j } (2)

From sets (1) and (2), the respective sets PjmW and PjmH of valid coordinates for each item m of customer j are obtained. Therefore, PjmW and PjmH are the respective sets 𝒫 w and 𝒫 H , where coordinates after W − w jm and H − h jm are disregarded because they are no longer valid to arrange item m in the vehicle rectangular base.

The complete model uses the binary variable x ijk , which is equal to 1 if arc (i,j)E has vehicle kK traversing it; otherwise, x ijk is equal to zero. Another variable is y j , which indicates the vehicle’s load weight at customer j. The model also has the binary variable zjkmst, which is 1 if item m of customer j is on vehicle k, having its lower-left corner positioned in the point (s,t), where sPjmW and tPjmH; otherwise zjkmst is zero. The complete model has objective function (3) and constraints (4)-(8), which are related to the routing decisions, and constraints (9)-(10), concerning the loading subproblems.

Minimize ( i , j ) E k K c i j x i j k (3)

Subject to:

k K { j V | ( i , j ) E } x i j k = 1 , i V \ { 0 } (4)

{ i V | ( i , h ) E } x i h k = { j V | ( h , j ) E } x h j k , h V \ { 0 } , k K (5)

j V \ { 0 } x 0 j k 1 , k K (6)

j V \ { 0 } x 0 j k = i V \ { 0 } x i 0 k , k K (7)

y i - y j + P x i j k + ( P - p i - p j ) x j i k P - p j , i , j V \ { 0 } , i j , k K (8)

s P j m W t P j m H z j k m s t = { i V | ( i , j ) E } x i j k , j V \ { 0 } , m M j , k K (9)

j V \ { 0 } m M j { s P j m W | u - w j m + 1 s u } { t P j m H | v - h j m + 1 t v } z j k m s t 1 , u P W , v P H , k K (10)

p j y j P , j V \ { 0 } (11)

x i j k { 0 , 1 } , ( i , j ) E , k K (12)

z j k m s t { 0 , 1 } , j V \ { 0 } , m M j , s P j m W , t P j m H , k K (13)

The objective function (3) is related to a solution (i.e., set of routes) of minimum total cost. Constraints (4) ensure that each customer i is served by exactly one vehicle k. Constraints (5)-(7) are related to the flow conservation. In (5), each customer h has the same incoming and outgoing flows. In (6), the number of routes may be less than the total number of vehicles. In constraints (7), a vehicle must start and end at the central depot if it is used.

Constraints (8) are used to eliminate sub-tours and were proposed by Kara (2010KARA I. 2010. Tightening Bounding Constraints of the Miller-Tucker-Zemlin Based Formulation of the Capacitated Vehicle Routing Problems and Some Extensions. In: Proceedings of the 2nd International Conference on Manufacturing Engineering, Quality and Production Systems. pp. 137-142.). These constraints ensure that the vehicle’s load weight y i when at customer i is less than y j if vehicle k is going from i to j (i.e., x ijk = 1). Constraints (9) link the routing decisions (i.e., variables x ijk ) with the loading subproblems (i.e., variables zjkmst), ensuring that item m of customer j is arranged on vehicle k if k visits j from any other customer i. Therefore, constraints (10) ensure the non-overlapping between items, imposing each point of the grid, for each vehicle k, on being covered by at most one item m of a customer j that is served by k. Finally, the variables’ domain is expressed in (11)-(13), with continuous and binary variables.

We also considered constraints to remove the symmetry in the routes by forcing the first route to have the largest weight (area), the second route to have the second-largest weight (area), and so on. However, preliminary experiments with the complete model having these constraints showed an important reduction in the number of instances with a solution and the gap increased. Therefore, we decided not to use them.

3.2 Two-index model

There are different models for the CVRP in which two-index variables are used, indicating whether a vehicle traverses an arc without explicitly specifying which vehicle is performing this. Our model is based on Iori et al. (2007IORI M, SALAZAR-GONZÁLEZ JJ & VIGO D. 2007. An exact approach for the vehicle routing problem with two-dimensional loading constraints. Transportation Science , 41(2): 253-264.) and Côté et al. (2017CÔTÉ JF, GUASTAROBA G & SPERANZA MG. 2017. The value of integrating loading and routing. European Journal of Operational Research, 257(1): 89-105.). Let x¯ij be an integer variable that is equal to 1 if a vehicle traverses arc (i,j)E; otherwise, it is equal to zero. Let 𝒮 be the set of all infeasible routes due to the loading subproblem, and let r(S) be the smallest number of vehicles needed to serve all customers in S. The exact value of r(S) can be obtained by solving an instance of the 2BPP. The two-index model for the 2L-CVRP has the objective function (14) and constraints (15)-(21).

Minimize ( i , j ) E c i j x ¯ i j (14)

Subject to:

j V \ { 0 } x ¯ 0 j | K | (15)

j V \ { 0 } x ¯ 0 j = i V \ { 0 } x ¯ i 0 (16)

{ i V | ( i , h ) E } x ¯ i h = 1 , h V \ { 0 } (17)

{ i V | ( i , h ) E } x ¯ i h = { j V | ( h , j ) E } x ¯ h j , h V \ { 0 } (18)

i S { j S | ( i , j ) E } x ¯ i j | S | - r ( S ) , S V \ { 0 } , S (19)

i S { j S | ( i , j ) E } x ¯ i j | S | - 1 , S S (20)

x ¯ i j { 0 , 1 } , ( i , j ) E (21)

The objective function (14) minimizes the sum of the routes cost. Constraint (15) ensures that the number of routes may be smaller than the number of available vehicles, while constraints (16) guarantee the same incoming and ongoing flows to the depot. Constraints (17) impose each customer on being visited exactly once, while constraints (18) are related to the continuity of routes.

Constraints (19) ensure that routes are valid (i.e., there is no sub-tour and respect the vehicle’s weight and area capacities). Constraints (20), which are related to the loading subproblems, impose routes on having feasible packings. Both types of constraints are detected and added as cutting planes during the optimization process. Finally, the domain of variables x¯ij is given in (21).

The exact value of r(S) may be obtained from solving an instance of the 2BPP, taking into consideration all items of the customers in the route S. Hence, following Lysgaard et al. (2004LYSGAARD J, LETCHFORD AN & EGLESE RW. 2004. A new branch-and-cut algorithm for the capacitated vehicle routing problem. Mathematical Programming, 100(2): 423-445.), r(S) is changed to r'(S) as in (22), which returns the minimum number of vehicles required to service the customers’ demands in terms of weight and area. According to Naddef & Rinaldi (2002NADDEF D & RINALDI G. 2002. Branch-and-cut Algorithms for the Capacitated VRP. In: TOTH P & VIGO D (Eds.), The Vehicle Routing Problem. pp. 53-84. Philadelphia, PA, USA: Society for Industrial and Applied Mathematics.), constraints (19) with r'(S) are called the rounded capacity inequalities. From now on, constraints (19) are redefined with r'(S) instead of r(S).

r ' ( S ) = max i S p i P , i S a i A (22)

Because of constraints (19) and (20), separation routines are called during the optimization to detect their violation. These routines can be applied to fractional or integer solutions to eliminate infeasible solutions. Therefore, the B&C starts solving the two-index model without these constraints since there is an exponential number of them.

Rounded capacity inequalities

For separating constraints (19), where r(S) is replaced by r'(S), the CVRPSEP package of Lysgaard et al. (2004LYSGAARD J, LETCHFORD AN & EGLESE RW. 2004. A new branch-and-cut algorithm for the capacitated vehicle routing problem. Mathematical Programming, 100(2): 423-445.) is used, resulting in Procedure 1 and Procedure 2 below. These procedures are applied whenever a fractional or integer solution is found in the B&C tree. In the case of integer solutions, after applying the procedures, we check whether the solution is feasible after all.

Procedure 1: Let G * = (V, E * ) be a support graph that is built from the optimal (linear programming) solution x¯* of the current node in the B&C tree. This graph has the original set of nodes V, while its set of edges E * has only the arcs (i,j)E for which x¯ij*>0. The cost of each arch (i,j)E* is precisely the value that the variable x¯ij* has. The weight p j of each customer jV is used as the demand of j to find sets S that violate the rounded capacity inequalities. Therefore, the CVRPSEP package’s routine to separate rounded capacity inequalities is called, and the found cuts are added as lazy constraints.

Procedure 2: It is similar to Procedure 1, but now it uses the area aj of each customer jV as the demand of j to find sets S.

We also tested the other separation algorithms in the CVRPSEP package for the framed capacity, strengthened comb, multistar, and hypotour inequalities (Lysgaard et al., 2004LYSGAARD J, LETCHFORD AN & EGLESE RW. 2004. A new branch-and-cut algorithm for the capacitated vehicle routing problem. Mathematical Programming, 100(2): 423-445.). However, we have found it more effective to prioritize and use the computing time they could require to separate the loading feasibility inequalities.

Loading feasibility inequalities

The separation of constraints (20), related to loading subproblems, occurs when an integer solution x¯+ is found in the B&C tree. For each route ℛ, let its set of customers be S . A Two- dimensional Orthogonal Packing Problem (2OPP) is solved for each S . In the 2OPP, given a set of items and a rectangular bin, the objective is to find a feasible packing of all items. These items are orthogonally packed, without overlapping, and fully inside the bin. If no such packing exists, this set of items is said to be infeasible. As the 2OPP is a decision problem, any feasible packing is valid as a solution.

The 2OPP, for a set of customers S , is solved with the integer programming model (23)-(25). In this model, let y mpq be a binary variable that is 1 if item m of a customer in S is packed in the point (p,q)PW×PH; otherwise, it is zero. Constraints (23) ensure there is no overlapping between items, similarly to constraints (10). Constraints (24) guarantee that all items, from the customers in S , are packed. The domain of variables y mpq is given in (25).

j S R m M j { s P j m W : u - w j m + 1 s u } { t P j m H : v - h j m + 1 t v } y m s t 1 , u P W , v P H (23)

s P j m W t P j m H y m s t = 1 , j S R , m M j (24)

y m s t { 0 , 1 } , j S R , m M j , s P j m W , t P j m H (25)

As solving the integer programming model (23)-(25) may be slow, a relaxation of the 2OPP is firstly solved. For that, such an integer model is separated into two other models, relaxing the 2OPP on a problem related to the width direction (2OPPW ) and another related to the height direction (2OPPH ). The idea is to quickly check whether the set of items in S is infeasible by substituting the non-overlapping constraints (23) for the relaxed ones. Therefore, the integer programming model (26)-(28), for the 2OPPW , considers the binary variable y¯ms, which is 1 if item m of customer jSR is packed in the coordinate sPjmW on the width direction; otherwise y¯ms is zero.

j S R m M j { s P j m W | u - w j m + 1 s u } h j m y ¯ m s H , u P W (26)

s P j m W y ¯ m s = 1 , j S R , m M j (27)

y ¯ m s { 0 , 1 } , j S R , m M j , s P j m W (28)

Concerning the model for the 2OPPW , constraints (26) ensure that the sum of the items’ height, for those items that cover coordinate u when they are packed in coordinate s on the width direction, must be less than or equal to H. Constraints (27) impose all items of customers jSR on being packed in some coordinate s on the width direction. The domain of variables y¯ms is given in (28). Similarly, the integer programming model (29)-(31) is presented for the 2OPPH , where the binary variable y~mt is 1 if item m of a customer jSR is packed in the coordinate tPjmH on the height direction; otherwise, y~mt is zero.

j S R m M j { t P j m H | v - h j m + 1 t v } w j m y ~ m t W , v P H (29)

t P j m H y ~ m t = 1 , j S R , m M j (30)

y ~ m t { 0 , 1 } , j S R , m M j , t P j m H (31)

In the integer programming model (29)-(31), for the 2OPPH , constraints (29) guarantee that the sum of the items’ width must be less than or equal to W, for those items packed in the coordinate t and covering the coordinate v on the height direction. Constraints (30) impose all items of customers jSR on being packed in some coordinate t on the height direction. The domain of variables y~mt is expressed in (31). Therefore, based on the models discussed in this subsection, the procedure to separate the loading feasibility constraints, which concern the loading subproblems, is described in Procedure 3. A hash table is used to save and search for routes S that have already been checked due to their loading subproblem, aiming to reduce computing time.

Procedure 3: Whenever an integer solution x¯+ is found in the B&C tree and Procedures 1 and 2 do not succeed in generating a valid inequality, we obtain the set of routes from x¯+. For each route , we initially check if it is in the hash table. If yes, we retrieve the saved solution; otherwise, (i) we solve the 2OPPW , model (26)-(28). If the resulting solution is feasible, (ii) we solve the 2OPPH , model (29)-(31). If the resulting solution is feasible, (iii) we solve the 2OPP, model (23)-(25). If the resulting solution is feasible, steps (i)-(iii) are repeated for the next route in x¯+ until checking all routes. If the saved/resulting solution of any of these steps is infeasible, the inequality in (20) is added for S , as a lazy constraint, and the procedure stops. Every checked route is added to the hash table.

3.3 Sequential 2L-CVRP

We conducted preliminary computational experiments (in Section 4.1) to analyze the complete and two-index models. The results showed the two-index model performed better than the complete model. Consequently, we decided to handle the sequential 2L-CVRP only with the two- index model because this variant generally imposes more computing time on solving the loading subproblems (Côté et al., 2014CÔTÉ JF, GENDREAU M & POTVIN JY. 2014. An exact algorithm for the two-dimensional orthogonal packing problem with unloading constraints. Operations Research , 62(5): 1126-1141.). According to Junqueira et al. (2013JUNQUEIRA L, OLIVEIRA JF, CARRAVILLA MA & MORABITO R. 2013. An optimization model for the vehicle routing problem with practical three-dimensional loading constraints. International Transactions in Operational Research , 20(5): 645-666.), a complete model for the sequential 2L-CVRP needs variables and constraints that indicate the sequence on which customers are visited on each route.

We assume that items are unloaded parallel to the y-axis (along the height direction, from bottom to top) in the sequential variant. For each route whose set of customers is S , let o j be the order to visit the j-th customer in (for ascending order). Hence, if o i < o j , customer i is visited before j, meaning that all items M i of i must be arranged so that they have free passage during the unloading operation at i. It implies that no item in M j of customer j must block any item in M i of i when carrying out such an operation.

Concerning the two-index model, we add constraints (32) in the model (23)-(25) of the 2OPP, following the proposals in Queiroz & Miyazawa (2013QUEIROZ TA & MIYAZAWA FK. 2013. Two-dimensional strip packing problem with load balancing, load bearing and multi-drop constraints. International Journal of Production Economics, 145(2): 511 - 530.) and Nascimento et al. (2021NASCIMENTO OX, QUEIROZ TA & JUNQUEIRA L. 2021. Practical constraints in the container loading problem: Comprehensive formulations and exact algorithm. Computers & Operations Research , 128: 105186.). Once j is visited after i on the route S , that is o i < o j , these constraints ensure that if item m of customer j is packed in the point (s,t)PjmW×PjmH, then no item l of customer i must be packed in points (u, v) such that m blocks l from having free passage during the unloading operation at i.

{ i S R | o i < o j } l M i { u P i l W | s - w i l + 1 u s + w j m - 1 } { v P i l H | v t - h i l } y l u v ( 1 - y m s t ) i S R | M i | , j S R , m M j , s P j m W , t P j m H (32)

4 COMPUTATIONAL EXPERIMENTS

The numerical experiments consider 80 benchmark1 1 http://www.or.dei.unibo.it/library instances; a subset of them was first solved by Iori et al. (2007IORI M, SALAZAR-GONZÁLEZ JJ & VIGO D. 2007. An exact approach for the vehicle routing problem with two-dimensional loading constraints. Transportation Science , 41(2): 253-264.), and the remaining ones by Gendreau et al. (2008GENDREAU M, IORI M, LAPORTE G & MARTELLO S. 2008. A Tabu search heuristic for the vehicle routing problem with two-dimensional loading constraints. Networks, 51(1): 4-18.). In such instances, organized into 16 sets, the number of customers (n) ranges from 15 to 36 and the total number of items (M) from 15 to 114. Each set contains five instances divided into classes. The number and dimensions of the items are randomly generated, considering homogeneous, horizontal, and vertical items. The traveling/edge cost c ij is given by the real value of the Euclidean distance between i and j.

All models were coded in the C++ programming language, and the B&C framework of the Gurobi Optimizer 9.5 (with default parameters) was used. The experiments were carried out on a computer with a processor Intel Xeon E3-1245 3.50 GHz, 32 GB of RAM, and Ubuntu 16.04 LTS. To solve each instance, a time limit of 3,600 seconds was imposed on the B&C, including the time limit of 60 seconds imposed on each call when solving any of the models related to the 2OPPW and 2OPPH , and 120 seconds when solving the model related to the 2OPP. We first present the results of the unrestricted 2L-CVRP, discussing the performance of the developed integer programming models. Next, we present the results of the sequential 2L-CVRP obtained with the best model we have developed.

4.1 Unrestricted 2L-CVRP

Tables 2 and 3 have the results of the unrestricted 2L-CVRP. We show the value of the best solution found and the gap (in percentage) that Gurobi returned for each model. We also report the number of cuts generated by Procedures 1 and 2 (i.e., with the CVRPSEP package), the runtime (in seconds) spent with all calls to the models for the 2OPPW and 2OPPH , the number of cuts inserted after solving one of the models for the 2OPPW and 2OPPH , the runtime (in seconds) spent with all calls to the model for the 2OPP, and the number of cuts inserted after solving the model for the 2OPP. The entries marked with an “*” indicate that the imposed time limit was reached when solving at least one loading subproblem. In this case, the final solution may not be optimal.

Table 2
Results of the unrestricted 2L-CVRP for instances with 15 to 22 customers.

Table 3
Results of the unrestricted 2L-CVRP for instances with 25 to 35 customers.

In the results of Tables 2 and 3, the complete model did not find a feasible solution for 21 instances within the imposed time limit, especially those with more customers and items per customer. Considering the two-index model, the number of instances for which a solution was not found was 11 out of 80 instances. In summary, concerning the solved instances:

  • feasible solutions: the complete model found an optimal solution for 4 instances, while for the 55 remaining instances, the average, minimum, and maximum gaps are 37.26%, 14.86%, and 71.91%, respectively. The two-index model found an optimal solution for 51 instances, while for the 18 remaining instances, the average, minimum, and maximum gaps are 21.43%, 0.84%, and 47.64%, respectively. If considering the 54 instances for which both models found a solution, the average gap is 32.38% and 4.88% for the complete and two-index models, respectively.

  • runtime: the complete model did not reach the time limit for 4 instances. If considering the 59 instances for which the complete model returned a solution, the average runtime is 3,404.48 seconds. The two-index model did not reach the time limit for 51 instances, with an average runtime of 1,004.35 seconds when considering the 69 instances with a solution. On the other hand, if considering all 80 instances, the average runtime is 3,455.81 and 1,361.25 seconds for the complete model and the two-index model, respectively.

From the comparison above, it is clear that the two-index model presented a better performance than the complete model in terms of solved instances, gap, and runtime. Thus, concerning the separation routines of the two index model, the results in Tables 2 and 3 show for the 69 instances with a solution:

  • with the CVRPSEP package: the average, minimum, and maximum number of generated cuts are 4,067, 45, and 28,511, respectively;

  • with the models for the 2OPPW and 2OPPH: the average, minimum, and maximum number of generated cuts are 389, 0, and 4,380, respectively. The number of instances for which at least one cut was generated is 39. Regarding the average, minimum, and maximum runtime, such values are 100.23, less than 0.01, and 1,334.69 seconds, respectively;

  • with the model for the 2OPP: the average, minimum, and maximum number of generated cuts are 0, 0, and 1, respectively. The number of instances for which at least one cut was generated is 5. Regarding the average, minimum, and maximum spent runtime, such values are 388.74, less than 0.01, and 3,029.68 seconds, respectively;

  • impact of the 2OPPW and 2OPPH on the 2OPP: for the 39 instances that the models of the 2OPPW or 2OPPH generated cuts, the model of the 2OPP needed to further generate cuts for only 5 instances.

4.2 Sequential 2L-CVRP

Table 4 reports the results of only the two-index model for the sequential 2L-CVRP since it performs better than the complete model. This table has the same information as presented in Tables 2 and 3. For this variant, with the two-index model, it was not possible to find a feasible solution for 23 out of 80 instances. This indicates that inserting multi-drop requirements demands more computing time since the loading subproblems become more complex. In summary, concerning the 57 instances solved, the two-index model has the following characteristics:

  • feasible solutions: it found an optimal solution for 37 instances, while for the 20 remaining instances, the average, minimum, and maximum gaps are 13.81%, 1.24%, and 30.48%, respectively;

  • runtime: it did not reach the time limit for 37 instances, with the average runtime of 1,532.73 seconds when considering the 57 instances with a solution. On the other hand, if considering all 80 instances, the average runtime is 2,127.07 seconds;

  • with the CVRPSEP package: the average, minimum, and maximum number of generated cuts are 6,927, 42, and 38,459, respectively;

  • with the models for the 2OPPW and 2OPPH: the average, minimum, and maximum number of generated cuts are 64, 0, and 1,682, respectively. The number of instances for which at least one cut was generated is 28. Regarding the average, minimum, and maximum runtime, such values are 3.09, less than 0.01, and 62.30 seconds, respectively;

  • with the model for the 2OPP: the average, minimum, and maximum number of generated cuts are 7, 0, and 133, respectively. The number of instances for which at least one cut was generated is 18. Regarding the average, minimum, and maximum runtime, such values are 966.48, less than 0.01, and 3,575.91 seconds, respectively;

  • impact of the 2OPPW and 2OPPH on the 2OPP: for the 28 instances that the models of the 2OPPW or 2OPPH generated cuts, the model of the 2OPP also generated cuts for 18 of them.

Table 4
Results of the sequential 2L-CVRP for all 80 instances.

Another comparison is carried out between the unrestricted and sequential 2L-CVRP for the results of the two-index model. From Tables 2 to 4, considering the same 56 out of 80 instances for which such a model returned a solution in both variants (notice that these instances include the ones discussed in the previous paragraph for the sequential case):

  • cost of solutions: the percentage deviation (increase) in the value of solutions when comparing the unrestricted with the sequential variants is 2.22%, with the minimum and maximum of 3.20% and 14.66%, respectively;

  • feasible solutions: in the unrestricted variant, it found an optimal solution for 50 instances, while for the 2 remaining instances, the average, minimum, and maximum gaps are 13.18%, 0.84%, and 22.39%, respectively. The average gap, given the 56 instances, in the unrestricted and sequential variants is 1.41% and 4.39%, respectively;

  • runtime: in the unrestricted variant, it did not reach the time limit for 50 instances. The average runtime, given the 56 instances, is 464.65 and 1, 495.81 seconds in the unrestricted and sequential variants, respectively;

  • with the CVRPSEP package: in the unrestricted variant, the average, minimum, and maximum number of generated cuts are 2,719, 45, and 20,449, respectively. In terms of the average number of generated cuts, the percentage increase from the unrestricted variant to the sequential one corresponds to 157.60%;

  • with the models for the 2OPPW and 2OPPH: in the unrestricted variant, the average, minimum, and maximum number of generated cuts are 203, 0, and 4,380, respectively. The number of instances for which at least one cut was generated is 26. Regarding the average, minimum, and maximum runtime, such values are 26.18, less than 0.01, and 1,013.08 seconds, respectively. In terms of the average number of generated cuts, the percentage decrease from the unrestricted variant to the sequential one corresponds to 69.04%;

  • with the model for the 2OPP: in the unrestricted variant, only 1 cut was generated for 3 instances. Regarding the average, minimum, and maximum runtime, such values are 116.31, less than 0.01, and 2,006.30 seconds, respectively.

4.3 Comparing with the literature

Results are compared with those from the Simulated Annealing (SA) of Wei et al. (2018WEI L, ZHANG Z, ZHANG D & LIM A. 2018. A simulated annealing algorithm for the capacitated vehicle routing problem with two-dimensional loading constraints. European Journal of Operational Research , 265: 843-859.) that reported the best overall results among all authors in Table 1 for the 2L-CVRP. They also solved the same problem (and variants) we are handling: the 2L-CVRP allowing routes with a single customer and fewer routes than the number of vehicles. The SA of Wei et al. (2018)WEI L, ZHANG Z, ZHANG D & LIM A. 2018. A simulated annealing algorithm for the capacitated vehicle routing problem with two-dimensional loading constraints. European Journal of Operational Research , 265: 843-859. had a time limit of 1,800 seconds (for each instance) when solving the above-mentioned 80 instances, and it ran on a different computer. Then, a comparison concerning the runtime is not taken into consideration. For the two-index model, a time limit of 1,800 seconds was imposed to the B&C, including the time limit of 30 seconds imposed on each call when solving any of the 2OPPW and 2OPPH , and 60 seconds when solving the 2OPP. Table 5 has the results with respect to the best solution found and the percentage deviation between the found solution Sol and the solution reported by Wei et al. (2018)WEI L, ZHANG Z, ZHANG D & LIM A. 2018. A simulated annealing algorithm for the capacitated vehicle routing problem with two-dimensional loading constraints. European Journal of Operational Research , 265: 843-859., which is given by 100×Sol-WeiWei. In summary, we observed that:

  • solutions for the unrestricted variant: it found a feasible solution for 69 out of 80 instances, where 51 are optimal. Notice that in Tables 2 and 3, for the time limit of 3,600 seconds, the number of feasible solutions is 69, for which 51 are optimal;

  • solutions for the sequential variant: it found a feasible solution for 55 instances, where 37 are optimal. Notice that in Table 4, for the time limit of 3,600 seconds, the number of feasible solutions is 57, for which 37 are optimal;

  • solutions of the SA in the unrestricted variant: it found equal solutions for 50 instances, while for the 19 remaining instances, solutions were worse, with an average, minimum, and maximum deviation of 15.86%, 0.02%, and 44.43%, respectively;

  • solutions of the SA in the sequential variant: it found equal solutions for 40 instances, while for the 15 remaining instances, solutions were worse, with an average, minimum, and maximum deviation of 6.40%, 0.23%, and 18.01%, respectively.

Table 5
Comparison between a heuristic method and the two-index model.

One last experiment was carried out with the two-index model, comparing it with the branch-and- cut algorithm (BNC) in Hokama et al. (2016HOKAMA P, MIYAZAWA FK & XAVIER EC. 2016. A branch-and-cut approach for the vehicle routing problem with loading constraints. Expert Systems with Applications, 47: 1-13.). We solved the same instances and assumed the same constraints the authors imposed when solving the sequential 2L-CVRP. We also considered the same time limit of 3,600 seconds to solve each instance, including the time limit of 60 seconds imposed on each call when solving any of the 2OPPW and 2OPPH , and 120 seconds when solving the 2OPP. In Table 6, we present the value of the best solution found, the runtime (in seconds), and the percentage deviation between our solution and the solution reported by Hokama et al. (2016)HOKAMA P, MIYAZAWA FK & XAVIER EC. 2016. A branch-and-cut approach for the vehicle routing problem with loading constraints. Expert Systems with Applications, 47: 1-13..

Table 6
Comparison with the branch-and-cut of Hokama et al. (2016HOKAMA P, MIYAZAWA FK & XAVIER EC. 2016. A branch-and-cut approach for the vehicle routing problem with loading constraints. Expert Systems with Applications, 47: 1-13.) for the sequential 2L-CVRP.

Observing the results of Table 6, the branch-and-cut of Hokama et al. (2016HOKAMA P, MIYAZAWA FK & XAVIER EC. 2016. A branch-and-cut approach for the vehicle routing problem with loading constraints. Expert Systems with Applications, 47: 1-13.) found a solution to 54 out of 60 instances within the imposed time limit. Using the two-index model, we obtained the same solution these authors obtained for these 54 instances, besides returning a solution to two more instances (E030-03g in class 2 and E036-11h in class 5). In summary, with relation to the solved instances, the two-index model has the following characteristics:

  • feasible solutions: it found an optimal solution for 43 instances, although the time limit to solve any of the loading subproblems was reached for 26 instances;

  • solutions of the branch-and-cut: it found equal solutions for 54 instances and better solutions for 2 instances. For the 4 remaining instances, no solution was found within the imposed time limit. The branch-and-cut of Hokama et al. (2016HOKAMA P, MIYAZAWA FK & XAVIER EC. 2016. A branch-and-cut approach for the vehicle routing problem with loading constraints. Expert Systems with Applications, 47: 1-13.) did not find any solution for 6 instances;

  • runtime: it did not reach the time limit for 43 instances, with the average runtime of 1,198.33 seconds when considering all the 56 instances with a solution. If considering all the 60 instances, the average runtime increases to 1,358.45 seconds.

5 CONCLUDING REMARKS

In this work, a combined vehicle routing problem with a bin packing problem (i.e., the 2L- CVRP) has its unrestricted and sequential variants handled with a branch-and-cut algorithm. Two integer linear programming models are discussed. The first one has all constraints added at once, while the second has cutting planes related to the connectivity, capacity, and loading of routes. The separation routines deal with the rounded capacity inequalities and the resolution of integer programming models for the loading subproblem of each route.

After the computational experiments conducted on 80 benchmark instances, the models’ performance could be clearly stated. Concerning the unrestricted 2L-CVRP, the two-index model is superior to the complete model, mainly in terms of optimal solutions, gap, and runtime. Although such a model obtained better results, it depends on separation routines to detect violated inequalities and guarantee a feasible solution. This dependence may be complicated when compared with a complete model that, in turn, can be solved with any solver. The complete model allowed to solve instances with up 23 customers, while the two-index model could solve instances with up 35 customers. The latter is also very competitive (even with a limitation in the runtime) when compared with a heuristic from the literature.

In the sequential variant, where multi-drop requirements are imposed on the 2L-CVRP, obtaining an optimal solution requires more computing time. The results of the two-index model for this variant show how the number of optimal solutions may decrease, and the gap may increase compared to the unrestricted variant. Regarding the comparison with a heuristic from the literature, the two-index model is still an exciting choice when a shorter time limit is imposed. Moreover, the two-index model is simpler and could be an alternative to other models from the literature since when comparing it with another branch-and-cut, it could return equal or better solutions for all the instances.

Future works could focus on practical constraints to the loading subproblem, particularly load balancing and cargo stability (Queiroz & Miyazawa, 2013QUEIROZ TA & MIYAZAWA FK. 2013. Two-dimensional strip packing problem with load balancing, load bearing and multi-drop constraints. International Journal of Production Economics, 145(2): 511 - 530.; Oliveira et al., 2021aOLIVEIRA LA, DE LIMA VL, QUEIROZ TA & MIYAZAWA FK. 2021a. Comparing a static equilibrium based method with the support factor for horizontal cargo stability in the container loading problem. Pesquisa Operacional, 41 (e240379): 1-23.,bOLIVEIRA LA, DE LIMA VL, QUEIROZ TA & MIYAZAWA FK. 2021b. The container loading problem with cargo stability: a study on support factors, mechanical equilibrium and grids. Engineering Optimization, 53: 1192-1211.; Junqueira & Queiroz, 2022JUNQUEIRA L & QUEIROZ TA. 2022. The static stability of support factor-based rectangular packings: an assessment by regression analysis. International Transactions in Operational Research , 29(1): 574-599.) since the literature in these constraints is scarce. Another interesting direction is to investigate infeasible routes further by looking for sub-routes that are still infeasible, especially concerning the loading subproblems. Thus, stronger inequalities may be derived and the computing time for solving large instances may be reduced.

Acknowledgements

The authors would like to thank the financial support of the Coordination for the Improvement of Higher Education Personnel (CAPES grant number 001), the National Council of Technological and Scientific Development (CNPq - grants 306918/2014-5, 165896/2015-9, 308312/2016-3, 308761/2018-9, 311185/2020-7) and the State of Goiás Research Foundation (FAPEG).

References

  • AZEVEDO BLP, HOKAMA P, MIYAZAWA FK & XAVIER EC. 2009. A Branch-and-Cut Approach for the Vehicle Routing Problem with Two-dimensional Loading Constraints. In: XLI Simpósio Brasileiro de Pesquisa Operacional. pp. 2491-2502. Brazil.
  • BIN W, HONG C & ZHI-YONG C. 2013. Artificial bee colony algorithm for two-dimensional loading capacitated vehicle routing problem. In: 2013 International Conference on Management Science and Engineering (ICMSE). pp. 406-412.
  • CLARKE G & WRIGHT JW. 1964. Scheduling of Vehicles from a Central Depot to a Number of Delivery Points. Operations Research, 12(4): 568-581.
  • CÔTÉ JF, GENDREAU M & POTVIN JY. 2014. An exact algorithm for the two-dimensional orthogonal packing problem with unloading constraints. Operations Research , 62(5): 1126-1141.
  • CÔTÉ JF, GENDREAU M & POTVIN JY. 2020. The Vehicle Routing Problem with Stochastic Two-Dimensional Items. Transportation Science, 54(2): 453-469.
  • CÔTÉ JF, GUASTAROBA G & SPERANZA MG. 2017. The value of integrating loading and routing. European Journal of Operational Research, 257(1): 89-105.
  • CÔTÉ JF, HAOUARI M & IORI M. 2021. Combinatorial Benders Decomposition for the Two- Dimensional Bin Packing Problem. INFORMS Journal on Computing, 33(3): 963-978.
  • DANTZIG GB & RAMSER JH. 1959. The Truck Dispatching Problem. Management Science, 6(1): 80-91.
  • DOMÍNGUEZ O, JUAN AA, BARRIOS B, FAULIN J & AGUSTIN A. 2016. Using biased randomization for solving the two-dimensional loading vehicle routing problem with heterogeneous fleet. Annals of Operations Research , 236(2): 383-404.
  • DOMÍNGUEZ O, JUAN AA & FAULIN J. 2014. A biased-randomized algorithm for the two- dimensional vehicle routing problem with and without item rotations. International Transactions in Operational Research, 21(3): 375-398.
  • DUHAMEL C, LACOMME P, QUILLIOT A & TOUSSAINT H. 2011. A multi-start evolutionary local search for the two-dimensional loading capacitated vehicle routing problem. Computers & Operations Research , 38(3): 617-640.
  • FERREIRA KM & QUEIROZ TA. 2022. A simulated annealing based heuristic for a location- routing problem with two-dimensional loading constraints. Applied Soft Computing, p. 108443.
  • FERREIRA KM, QUEIROZ TA & TOLEDO FMB. 2021. An exact approach for the green vehicle routing problem with two-dimensional loading constraints and split delivery. Computers & Operations Research , 136: 105452.
  • FUELLERER G, DOERNER KF, HARTL RF & IORI M. 2009. Ant colony optimization for the two-dimensional loading vehicle routing problem. Computers & Operations Research , 36(3): 655-673.
  • GENDREAU M, IORI M, LAPORTE G & MARTELLO S. 2008. A Tabu search heuristic for the vehicle routing problem with two-dimensional loading constraints. Networks, 51(1): 4-18.
  • HERZ JC. 1972. Recursive computational procedure for two-dimensional stock cutting. IBM Journal of Research and Development, 16(5): 462-469.
  • HOKAMA P, MIYAZAWA FK & XAVIER EC. 2016. A branch-and-cut approach for the vehicle routing problem with loading constraints. Expert Systems with Applications, 47: 1-13.
  • IORI M & MARTELLO S. 2010. Routing Problems with Loading Constraints. TOP, 18(1): 4-27.
  • IORI M, SALAZAR-GONZÁLEZ JJ & VIGO D. 2007. An exact approach for the vehicle routing problem with two-dimensional loading constraints. Transportation Science , 41(2): 253-264.
  • JUNQUEIRA L, OLIVEIRA JF, CARRAVILLA MA & MORABITO R. 2013. An optimization model for the vehicle routing problem with practical three-dimensional loading constraints. International Transactions in Operational Research , 20(5): 645-666.
  • JUNQUEIRA L & QUEIROZ TA. 2022. The static stability of support factor-based rectangular packings: an assessment by regression analysis. International Transactions in Operational Research , 29(1): 574-599.
  • KANTOROVICH LV. 1960. Mathematical Methods of Organizing and Planning Production. Management Science , 6(4): 366-422.
  • KARA I. 2010. Tightening Bounding Constraints of the Miller-Tucker-Zemlin Based Formulation of the Capacitated Vehicle Routing Problems and Some Extensions. In: Proceedings of the 2nd International Conference on Manufacturing Engineering, Quality and Production Systems. pp. 137-142.
  • KHEBBACHE-HADJI S, PRINS C, YALAOUI A & REGHIOUI M. 2013. Heuristics and memetic algorithm for the two-dimensional loading capacitated vehicle routing problem with time windows. Central European Journal of Operations Research , 21(2): 307-336.
  • LEUNG SCH, ZHENG J, ZHANG D & ZHOU X. 2010. Simulated annealing for the vehicle routing problem with two-dimensional loading constraints. Flexible Services and Manufacturing Journal, 22(1-2): 61-82.
  • LEUNG SCH, ZHOU X, ZHANG D & ZHENG J. 2011. Extended guided tabu search and a new packing algorithm for the two-dimensional loading vehicle routing problem. Computers & Operations Research , 38(1): 205-215.
  • LYSGAARD J, LETCHFORD AN & EGLESE RW. 2004. A new branch-and-cut algorithm for the capacitated vehicle routing problem. Mathematical Programming, 100(2): 423-445.
  • MALAPERT A, GUERET C, JUSSIEN N, LANGEVIN A & ROUSSEAU LM. 2008. Two-dimensional pickup and delivery routing problem with loading constraints. In: Proceedings of the First CPAIOR Workshop on Bin Packing and Placement Constraints (BPPC’08). pp. 1-46. 4. Paris, France.
  • MARTÍNEZ L & AMAYA CA. 2013. A vehicle routing problem with multi-trips and time windows for circular items. Journal of the Operational Research Society, 64(11): 1630-1643.
  • MOR A & SPERANZA MG. 2020. Vehicle routing problems over time: a survey. 4OR, 18: 129- 149.
  • MUNOZ AL. 2011. Solución al problema de ruteo de vehículos con restricciones de capacidad y reordenamiento de carga en los sitios de demanda. Master’s thesis. Escuela de Ingenieria, Pontificia Universidad Catolica de Chile. Santiago, Chile.
  • NADDEF D & RINALDI G. 2002. Branch-and-cut Algorithms for the Capacitated VRP. In: TOTH P & VIGO D (Eds.), The Vehicle Routing Problem. pp. 53-84. Philadelphia, PA, USA: Society for Industrial and Applied Mathematics.
  • NASCIMENTO OX, QUEIROZ TA & JUNQUEIRA L. 2021. Practical constraints in the container loading problem: Comprehensive formulations and exact algorithm. Computers & Operations Research , 128: 105186.
  • OLIVEIRA LA, DE LIMA VL, QUEIROZ TA & MIYAZAWA FK. 2021a. Comparing a static equilibrium based method with the support factor for horizontal cargo stability in the container loading problem. Pesquisa Operacional, 41 (e240379): 1-23.
  • OLIVEIRA LA, DE LIMA VL, QUEIROZ TA & MIYAZAWA FK. 2021b. The container loading problem with cargo stability: a study on support factors, mechanical equilibrium and grids. Engineering Optimization, 53: 1192-1211.
  • QUEIROZ TA & MIYAZAWA FK. 2013. Two-dimensional strip packing problem with load balancing, load bearing and multi-drop constraints. International Journal of Production Economics, 145(2): 511 - 530.
  • REINELT G. 1991. TSPLIB - A Traveling Salesman Problem Library. ORSA Journal on Computing, 3(4): 376-384.
  • SHEN Y & MURATA T. 2012. Pick-up Scheduling of Two-dimensional Loading in Vehicle Routing Problem by using GA. In: Proceedings of the 2012 International MultiConference of Engineers and Computer Scientists (IMECS), vol. 2. pp. 1532-1537.
  • STRODL J, DOERNER KF, TRICOIRE F & HARTL RF. 2010. On Index Structures in Hybrid Metaheuristics for Routing Problems with Hard Feasibility Checks: An Application to the 2- Dimensional Loading Vehicle Routing Problem. In: BLESA MJ, BLUM C, RAIDL G, ROLI A & SAMPELS M (Eds.), Proceedings of the 7th International Workshop on Hybrid Metaheuristics, vol. 6373. pp. 160-173. Springer Berlin Heidelberg.
  • SWEENEY PE & PATERNOSTER ER. 1992. Cutting and Packing Problems: A Categorized, Application-Orientated Research Bibliography. Journal of the Operational Research Society , 43(7): 691-706.
  • TOTH P & VIGO D. 2001. An Overview of Vehicle Routing Problems. In: The Vehicle Routing Problem. pp. 1-26. Philadelphia, PA, USA: Society for Industrial and Applied Mathematics .
  • WEI L, ZHANG Z, ZHANG D & LIM A. 2015. A variable neighborhood search for the capacitated vehicle routing problem with two-dimensional loading constraints. European Journal of Operational Research , 243(3): 798-814.
  • WEI L, ZHANG Z, ZHANG D & LIM A. 2018. A simulated annealing algorithm for the capacitated vehicle routing problem with two-dimensional loading constraints. European Journal of Operational Research , 265: 843-859.
  • ZACHARIADIS EE, TARANTILIS CD & KIRANOUDIS CT. 2009. A Guided Tabu Search for the Vehicle Routing Problem with two-dimensional loading constraints. European Journal of Operational Research , 195(3): 729-743.
  • ZACHARIADIS EE, TARANTILIS CD & KIRANOUDIS CT. 2013. Integrated distribution and loading planning via a compact metaheuristic algorithm. European Journal of Operational Research , 228(1): 56-71.
  • ZACHARIADIS EE, TARANTILIS CD & KIRANOUDIS CT. 2016. The Vehicle Routing Problem with Simultaneous Pick-ups and Deliveries and Two-Dimensional Loading Constraints. European Journal of Operational Research , 251(2): 369-386.

Publication Dates

  • Publication in this collection
    02 May 2022
  • Date of issue
    2022

History

  • Received
    11 Feb 2021
  • Accepted
    03 Feb 2022
Sociedade Brasileira de Pesquisa Operacional Rua Mayrink Veiga, 32 - sala 601 - Centro, 20090-050 Rio de Janeiro RJ - Brasil, Tel.: +55 21 2263-0499, Fax: +55 21 2263-0501 - Rio de Janeiro - RJ - Brazil
E-mail: sobrapo@sobrapo.org.br