

The items in the packed list are in pack order and include x, y, and z coordinates and x, y, and z pack dimensions. Within each algorithm packing result is the name and ID of the algorithm used, a list of items that were successfully packed, a list of items that could not be packed, and a few other packing metrics. Within each ContainerPackingResult is the container ID and a list of AlgorithmPackingResult objects, one for each algorithm requested. The list of ContainerPackingResults contains a ContainerPackingResult object for each container. List algorithms = new List() Īlgorithms.Add((int)AlgorithmType.EB_AFIT) Ĭall the Pack method on your container list, item list, and algorithm list: List result = PackingService.Pack(containers, itemsToPack, algorithms)

(Currently EB-AFIT is the only algorithm implemented.) Algorithm IDs are listed in the AlgorithmType enum. ItemsToPack.Add(new Item(id, dim1, dim2, dim3, quantity)) Ĭreate a list of algorithm IDs corresponding to the algorithms you would like to use. Start by including the ContainerPacking project in your solution.Ĭreate a list of Container objects, which describes the dimensions of the containers: List containers = new List() Ĭontainers.Add(new Container(id, length, width, height)) Ĭreate a list of items to pack: List itemsToPack = new List()
Dim3 technology and solutions full#
The EB-AFIT algorithm supports full item rotation and has excellent runtime performance and container utilization. Hill Jr., published in the International Journal of Operational Research in 2006 (volume 1, issue 3). This algorithm is also described in The Distributor's Three-Dimensional Pallet-Packing Problem: A Human Intelligence-Based Heuristic Approach, by Erhan Baltacıoğlu, James T. Air Force Institute of Technology (AFIT) in 2001. It includes an implementation of the EB-AFIT packing algorithm originally developed as a master's thesis project by Erhan Baltacıoğlu (EB) at the U.S. This is a C# library that can be used to find 3D container packing solutions (also known as 3D bin packing).
