An intelligent optimization algorithm which is able to find the efficient configuration of the factory