Topology optimization (TO) is a mathematical method that optimizes material layout within a given design space, for a given set…