A modified particle swarm optimization with dynamic mutation period