pdx_man
I have a situation something like what you posted above. I actually of rectangular pieces of size like 900x 600, 300x400 etc. (like 200 different kinds).
I want an algorithm which gives me the option to find what piece to use to form a bigger rectangle whose dimension user gives. Like suppose i need to make a rectangle of size 1800 x 1200. The program would tell me you have 'n' options like 2 pieces of 900x600 or 18 pieces of 300x400 or combination of different. etc.
I thought this might be the relevant forum. Appreciate the help.
CK