solving constrained optimization problems using PSO algorithm