Approximation method for configuration optimization of trusses