I am using the following packing problem code from github: https://github.com/davidmchapman/3DContainerPacking. I can't show all the code on there but here's what I wrote. I have never used C# and am wondering why my result returns null. I made the following program to input my data and return my result but it doesn't seem to work. Am I calling the other programs in my solution incorrectly?
using CromulentBisgetti.ContainerPacking;
using CromulentBisgetti.ContainerPacking.Algorithms;
using CromulentBisgetti.ContainerPacking.Entities;
List<Container> containers = new List<Container>();
containers.Add(new Container(1, Convert.ToDecimal(12030), Convert.ToDecimal(2400), Convert.ToDecimal(2390)));
List<Item> itemsToPack = new List<Item>();
itemsToPack.Add(new Item(3, Convert.ToDecimal(3100), Convert.ToDecimal(1280.382), Convert.ToDecimal(880), 1));
itemsToPack.Add(new Item(590261, Convert.ToDecimal(2380), Convert.ToDecimal(460), Convert.ToDecimal(735), 1));
itemsToPack.Add(new Item(4, Convert.ToDecimal(1638.161), Convert.ToDecimal(891.535), Convert.ToDecimal(2753.832), 2));
itemsToPack.Add(new Item(2, Convert.ToDecimal(1500), Convert.ToDecimal(1224.091), Convert.ToDecimal(462), 1));
itemsToPack.Add(new Item(290698, Convert.ToDecimal(1400), Convert.ToDecimal(190), Convert.ToDecimal(150), 2));
itemsToPack.Add(new Item(490661, Convert.ToDecimal(1250), Convert.ToDecimal(560), Convert.ToDecimal(4500), 1));
*plus a bunch more items*
List<int> algorithms = new List<int>();
algorithms.Add((int)AlgorithmType.EB_AFIT);
List<ContainerPackingResult> result = PackingService.Pack(containers, itemsToPack, algorithms);