container problem resolution method with particle swarm optimization