Research Article

Harmony Search Based Parameter Ensemble Adaptation for Differential Evolution

Algorithm 2

Standard harmony search algorithm.
STEP 1: Initialize the HM with HMS randomly generated solutions. Set generation count .
STEP 2: WHILE stopping criterion is not satisfied
   /*Generate a new solution*/
     FOR each decision variable DO
      IF  rand 1 < HMCR
       Pick the value from one of the solutions in HM
       IF  rand 2 < PAR
       Perturb the value picked     /*New solution generated*/
       END IF
       END IF
       END FOR
    IF new solution better than the worst solution in HM (in terms of fitness)
    Replace the worst solution in HM with new solution
    END IF
    Increment the generation count
STEP 3: END WHILE