title: Hotel room optimization/sorting algorithm
body: <p>Is there any well known room optimization/sorting algorithm for hotels ?</p>
  
  <p>Problem is to redistribute rooms to maximize occupancy. Let's say I have 10 rooms, start date and end date for every reservation. Some rooms cannot be realocated while others can (flag).</p>
  
  <p>Any hint on the right direction would be great. Thank you.</p>