handle PSO invalid solutions.