Research Article
Teaching-Learning-Based Optimization with Learning Enthusiasm Mechanism and Its Application in Chemical Engineering
Algorithm 2
Learning enthusiasm based teacher phase.
(1) Begin | (2)Choose the best learner as ; | (3)Calculate the mean of all learners; | (4)Sort all the learners from best to worst; | (5)Calculate the learning enthusiasm of all learners using Eq. (4); | (6)for each learner | (7)Generate a random in ; | (8)ifāā | (9)Update learner according to Eq. (5); | (10)Evaluate the new learner ; | (11)Accept the new learner if it is better than the old one ; | (12)end if | (13)end for | (14) end |
|