Educational Competition Optimizer

From testwiki
Jump to navigation Jump to search
Alsace-Lorraine educating the students

The Educational Competition Optimizer (ECO) is an optimization algorithm inspired by competition dynamics in educational systems and proposed by Junbo Lian et al. [1].

Inspiration

Competition is a fundamental part of the modern educational landscape, where students continuously strive to improve their abilities and meet the stringent demands of academic institutions. This competitive environment mirrors the nature of optimization problems, where a search space must be explored to find the optimal solution. As the level of education rises, so does the intensity of the competition. The ECO algorithm simulates this competitive process, using principles of elite retention, greedy selection, and a balanced approach between exploration and exploitation.

The concept of ECO draws its inspiration from these educational competitions, offering a fresh perspective on metaheuristic optimization algorithms by metaphorically linking education and problem-solving [2]. As a result, it provides a framework to develop better strategies for addressing complex real-world optimization problems.

Population Initialization

To simulate the chaotic environment caused by a lack of education, the ECO algorithm uses logistic chaos mapping for population initialization. The logistic equation models chaotic systems and can be expressed as follows:

xi=αxi1(1xi1),0x01,α=4

Here, Xi represents the value at iteration i, and Xi1 represents the value at the previous iteration. These values are mapped onto the search space using:

Xi=lb+(ublb)Xi

Where lb and ub are the search space boundaries.

ECO Algorithm Stages

The ECO algorithm is structured to simulate three main educational stages: primary school, middle school, and high school. Each stage models a different level of competition and complexity in problem-solving.

Stage 1: Primary School

In this stage, schools determine their locations based on the average position of the population, and students aim for the closest school. The top 20% of the population is categorized as schools, while the remaining 80% are students. These roles are dynamic and change throughout the iterations.

The mathematical behavior of schools and students is governed by the following equations:

Schools: Xit+1=Xit+w(XimeantXit)Levy(dim)

Students: Xit+1=Xit+w(close(Xit)Xit)randn

w=0.1ln(2t/Maxiter)

Where Xit denotes the current position, Xmeant is the average position, and w is the adaptive step size.

Average vector position Xmeant & Average position Ximeant: Xmeant represents the average position of each element of the vector for the ith school in the tth round of iteration. Ximeant denotes the average position of the current swarm, denoted as Ximeant.

Stage 2: Middle School

At this stage, schools take into account both the average and optimal locations of the population. The top 10% of the population is designated as schools, while the rest remain students. Academic competition intensifies, and students’ motivation and patience are modeled by variables P and E, respectively.

The equations governing this stage are as follows:

P=4randn(1iMax iter)

E=πPiMax iter

Schools: Xit+1=Xit+(XbesttXmeant)exp(iMax iter1)Levy(dim)

Students: Xit+1={Xitwclose(Xit)P(Ewclose(Xit)Xit),R1<HXitwclose(Xit)P(wclose(Xit)Xit),R1H


Schools and students update their positions using these parameters, with schools focusing on the best location and students competing for the closest available school.The talent values of different students are simulated using the random number R1, which takes on a value within the range of [0, 1].

Stage 3: High School

At the high school level, schools adopt a meticulous approach to selecting their teaching locations. They consider not only the average population location but also the best and worst locations within their population. This comprehensive assessment helps them make informed decisions about their educational location. In contrast, all students converge toward the current best location, which is identified as the best high school location. The optimization process motivates every student to strive for admission to this best high school. During each iteration, the top 10% of the population, determined by their fitness, are designated schools, while the remaining 90% continue as students. The following mathematical expressions represent this behavior.

Schools: Xit+1=Xit+(XbesttXit)randn(XbesttXit)randn

Students: Xit+1={XbesttP(EXbesttXit),R2<HXbesttP(XbesttXit),R2H

The talents of individual students are represented by a random number denoted as R2, which falls within the range of [0,1].

Pseudo-code of ECO Algorithm

Below is the simplified pseudo-code for the ECO algorithm, outlining its steps:

Algorithm: Pseudo-code of the ECO Algorithm

1. Initialize the ECO parameters
2. Initialize the population using logistic chaos mapping

3. For each iteration i:
   a. Calculate fitness function
   b. Identify best and worst positions
   c. Calculate R1, R2, P, and E
   d. For each individual j in the population:
      i. If i mod 3 == 1: Primary school stage
         - Update school and student positions
      ii. If i mod 3 == 2: Middle school stage
         - Update school and student positions
      iii. If i mod 3 == 0: High school stage
         - Update school and student positions
4. Return best solution

In the ECO algorithm, the optimization process begins with the random generation of a population of candidate solutions. Throughout iterative updates, ECO's search strategy explores regions near the optimal solution and adjusts each solution's position based on the current best solution. ECO is designed to maintain a balance between exploration and exploitation by introducing six different search strategies across three stages: primary school, middle school, and high school competitions, where schools and students interact at different levels to refine the search process.

References