title: Creating a tiling algorithm for a given space
body: <p>We have to create an algorithm to fill up a given space of HxW perfectly. We have 125 test configurations with a given tile set that can fill up the field. The code for the tile set and the field is given and we have to write a code that can place the tiles and fill up the field(you can swap them if necessary). Does someone have suggestions on how to create such an algorithm because we are stuck and have no inspiration left.</p>
  
  <p>We created a greedy algorithm that fill's up the largest tiles first and then tries to fit in the small ones but this has only solved 1 tile set and get's stuck with the larger tile sets.</p>
  
  <p>Underneath are 2 given configurations:</p>
  
  <p>width: 12 height: 17 scale: 20
  2 times 5x5
  1 times 7x3
  3 times 5x4
  1 times 5x3
  1 times 6x2
  1 times 3x3
  2 times 4x2
  1 times 6x1
  1 times 3x2
  1 times 2x2
  1 times 3x1
  1 times 2x1</p>
  
  <p>width: 42 height: 39 scale: 10
  1 times 15x14
  1 times 14x14
  1 times 14x8
  1 times 11x9
  1 times 12x6
  1 times 14x5
  1 times 11x6
  1 times 16x4
  1 times 12x5
  1 times 10x5
  2 times 8x6
  2 times 8x5
  1 times 9x4
  1 times 6x6
  1 times 7x5
  2 times 6x5
  1 times 7x4
  1 times 6x4
  1 times 10x2
  1 times 5x4
  3 times 6x3
  2 times 7x2
  1 times 12x1
  2 times 6x2
  1 times 11x1
  1 times 10x1
  1 times 5x2
  1 times 8x1
  1 times 6x1
  2 times 3x2
  1 times 5x1
  2 times 2x2
  3 times 3x1
  3 times 2x1
  1 times 1x1</p>