Solving the cost minimizing problem efficiently using ant colony optimization.Use of travelling salesman problem .Use of amount of pheromone is also taken into account.