The paper explores the optimization of torispherical dome ends under internal pressure using the Imperialist Competitive Algorithm (ICA) and Genetic Algorithm (GA) to achieve minimum weight while satisfying buckling pressure constraints from relevant pressure vessel codes. It applies the four-centered ellipse method to define the dome geometry and compares the optimization results of two different dome models. The findings demonstrate ICA's effectiveness in achieving optimal designs, showing significant weight reductions and improvements in buckling pressure capabilities.