Constrained particle swarm optimization using a bi-objective formulation