Since a long time, metaheuristic algorithms are benefited to detect the best results for any optimization problem. Furthermore, these methods are used to prevent of time, effort and cost losses, while they are performing the optimization process. Hence, in this study, a cantilever beam model, which is one of the structural optimization problem from civil engineering area, was handled with the aim of minimization of the total weight by find the optimum section values consisting of hollow section depths and widths. For this reason, three different methods including the algorithms that artificial bee colony (ABC), bat (BA), and a modified bat (MBA) combining of BA with Lévy flight, were operated. Additionally, several applications previously carried out for this model, were presented in order to compare of optimization results (minimum objective function with optimum design variable values), and success of proposed algorithm was showed with statistical results and optimization parameter values.