Closed-form solutions in Optimal Design of Structures with non-linear Behavior