I had to design a method of filling multiple sets of racks that were of a certain fixed height with individual units called MCC's. Each unit that went within the rack was of different size so aim was to use as few racks as possible and fill the racks optimally given each unit' height - used a recursive function to calculate optimal way of filling the racks while using as few racks as possible. This is a method to calculate a "subset sum problem". I will attach the whole project which draws the units however the main function is what I was interested in - to follow is the recursive function and its method to call.
Called by
Bookmarks