Research Article

Solving the 0/1 Knapsack Problem Using Metaheuristic and Neural Networks for the Virtual Machine Placement Process in Cloud Computing Environment

Table 2

Comparison of exploration and exploitation for knapsack problem methods.

MethodsExplorationExploitation

Genetic algorithmUses selection, crossover, and mutation to explore the search spaceFocuses on refining existing solutions by selecting fittest individuals
Ant colony optimizationUses pheromone trails to explore the search spaceIncreases pheromone level on good solutions to attract more ants
Simulated annealingAccepts worse solutions with decreasing probability over timeGradually converges towards the best solution found so far
Tabu searchUses a tabu list to prevent revisiting explored solutionsUses a neighborhood search to focus on improving current solution
Greedy searchIteratively selects item with highest value-to-weight ratioAdds item with highest value-to-weight ratio to the knapsack
Particle swarm optimizationUses swarm of particles to explore search spaceAdjusts particle position and velocity to improve current solution
Neural networkUses training dataset to learn relationship between inputs and outputsAdjusts weights of connections between neurons to minimize error