This video provides an example of using design optimization in Femap. The goal is the reduce the weight of a steel mountain bike frame while staying within a given set of tube dimensions and stress limits.
Link for the video setting up the mesh:
https://www.youtube.com/watch?v=QqUFgFMjBBo&t=11s