Research Article

A Novel Harmony Search Algorithm Based on Teaching-Learning Strategies for 0-1 Knapsack Problems

Algorithm 4

For  i  =  1 to D
  If  rand() < HMCR
   
  EndIf
EndFor