Research Article
An Improved Teaching-Learning-Based Optimization with Differential Learning and Its Application
) Begin | () Initialize (number of learners), (number of dimensions) and CR | () Initialize learners and evaluate all learners | () Donate and of the learner’s corresponding neighborhood | () while (stopping condition not met) | () for each learner of the class % Teacher phase | () TF = round(1 + rand(0, 1)) | () for | () = + rand () | () endfor | () Select three learners randomly from the current class where | () | () for | () if , = ; else, = ; endif | () endfor | () Accept if f() is better than | () endfor | () for each learner of the class % Learner phase | () Randomly select one learner , such that | () if better | () for | () = + rand () | () endfor | () else | () for | () = + rand () | () endfor | () endif | () Accept if is better than | () endfor | () endwhile | () end |
|