Optimal Design of Semi-Rigid Braced Frames via Knowledge-Based Approach