Adaptive solution of truss layout optimization problems with global stability constraints