This document presents a new model for automated table layout using exact combinatorial optimization. It describes mixed integer programming and constraint programming models that find the minimum height layout for a table given a width constraint. The models are tested on tables up to 40x40 cells and show faster results for tables with many cell configurations versus large table sizes. Constraint programming can find solutions faster but continues searching, while MIP generally performs better. The models effectively handle user constraints and could be expanded to support spanning cells and inner tables.