The welded beam constrained optimization problem was solved using PSO and SQP methods in this chapter. For the SQP method, the initial guess for the design variables was taken as (0.4, 6.0, 8.0, 0.5), which was close to the optimum point. Using different initial guesses for the design variables, execute the SQP code and observe the sensitivity of the convergence.