| Algorithm 5: BOMTEA |
| Begin |
|
1: Randomly initialize pop1 and pop2 for two tasks respectively. 2: Evaluate each individual on each optimization task. |
| 3: While FEs < maxFEs: |
| 4: For each individual from pop1 or pop2: |
| 5: Perform Algorithm 2 to allocate ESO. |
|
6: If rand < rmpi: 7: Perform knowledge transfer via Algorithm 3 or 4. |
| 8: Else |
| 9: Generate offspring via ESO. |
| 10: End If |
| 11: End For |
| 12: Select the fittest individuals to form the next pop1 or pop2. |
| 13: Get new eop1 and eop2 via the Formula (7). |
| 14: End While |
| End |