A detailed analysis of the population-based ant colony optimization algorithm for the TSP and the QAP