An optimization of reservation systems for tables in the restaurant industry. The optimization is aimed at maximizing the number of guests as well as placing guests at the optimal tables based on the prevailing conditions.