This document discusses optimizing the cost of roof top swimming pools through structural analysis and design. It formulates the problem as a nonlinear programming problem to minimize cost. The design variables considered are thicknesses of walls and base slab panels. Constraints include requirements for wall thickness and steel reinforcement. An optimization procedure is presented using sequential unconstrained minimization technique to convert constraints into an unconstrained problem. Illustrative examples are provided comparing costs for different pool dimensions and concrete grades. The study concludes it is possible to reduce costs up to 15% through optimization while maintaining safety requirements.