Application of Non Linear programming and Duality Theory to the Limit Analysis of Frame Structures