This chapter illustrates the main approach for a generative use of structural optimization in architecture. Structural optimization is very typical of sectors like mechanical, automotive engineering, while in architecture it is a less used approach that however could give new possibilities to performative design. Topology Optimization, one of its most developed sub-methods, is based on the idea of optimization of material densities within a given design domain, along with least material used and wasted energy. In the text is provided a description of TO methods and the principles of their utilization. The process of topology optimization of microstructures of cellular materials is represented and illustrated, emphasizing the all-important criteria and parameters for structural design. A specific example is given of the research at ACTLAB, ACB Dept, Politecnico di Milano, of performative design with lattice cellular solid structures for architecture.