-
Notifications
You must be signed in to change notification settings - Fork 1
Description
This divides the items into levels that are the same height and solves each level using a 2D algorithm
The challenge is the 2D algorithm.
In freelance chat I suggesting using DP3UK and confining everything to a single height. The advantage was we already have the code . However, it is a silly idea. DP3UK is unbounded, which means that it is free to duplicate some items and forget about others, which is not what we want here.
The paper references a lot of different possible 2D cutting algorithms, without going into detail for any. So, to keep things moving along I decided to implement an algorithm I am familiar with from my other work in this area. RK2FFG is rectangular knapsack 2D first fit greedy algorithm. https://github.com/JamesBremner/knapsack/blob/master/src/RK2FFG.cpp
I have committed an initial H3CS application using RK2FFG
This issue is intended to discuss how exactly to improve this going forward.
