Necdet Saritas

Necdet Saritas

  • 1.6k
  • 191
  • 640

2 bin packing solution

Oct 19 2016 9:08 PM
Hallo,
 
I am newbe in C# and I have different size element and I must add in fixed rectangle area. How can I write a code that is best optimization for my tasks? I read about 2 bin packing but I don't know how I can use it.
 
Example:
The fixed area is 20 X 30 m
and elements are
 element1: 40 pieces 6 x 3
element2: 10 pieces 8 x 4 m
 
how can I find best optimization from which element how many pieces I need ?
 
happy coding
 
Neco