A two-step method is presented for the optimum design of trusses with available sections under stress and Euler buckling constraints. The shape design of the truss is used as a means to convert the discrete solution into a continuous one. In the first step of the method, a continuous solution is obtained by sizing and shape design using an approximate polynomial expression for the buckling coefficients. In the second step, the member sizes obtained are changed to the nearest available sections and the truss is reconfigured by using the exact values for the buckling coefficients. The optimizer used is based on the sequential quadratic programming and the gradients are evaluated in closed form. The method is illustrated by two numerical examples.