Additive manufacturing (AM), a substantial breakthrough over traditional manufacturing processes, has evolved significantly over the last few decades to meet industry demand. [1,2] It enables designers to utilize nature-inspired complex structures such as triply periodic minimal surface (TPMS) lattice structures. [3][4][5] The TPMS structures are desired and topologically ordered in many design applications due to their attractive properties, such as being lightweight and enhanced mechanical properties. [6,7] Another advantage of these structures is that their mechanical performance and functionality can be further improved by altering the thickness of given structures. [8][9][10] The quest for the ideal structure prompts new optimization proposals in the literature. Topology optimization (TO), which defines the best material distribution within the design domain, is one of the most extensively utilized optimization methods in the literature. [11][12][13] Among the various mathematical methods for TO, the solid isotropic material with penalization (SIMP), proposed by Rozvany et al., [14] gained significant attention due to its simplicity in implementation for the TO. The application of this approach to generate multiclass microstructures made of truss elements is available in the literature. For example, surrogate models for different truss-based structures are used in TO to minimize the compliance of the structure for a given volume ratio. The methodology was demonstrated on 2D and 3D case studies. [15] In another study, [16]