Text this: Optimization problems for construction foundations