Tarea técnica

The basic idea of CRO is to simulate coral colonies that develop and compete for space on a reef, ultimately forming an optimal structure. Each coral in the reef represents a potential solution to the optimization problem under consideration.

The reef is modeled as a two-dimensional N×M grid. Each grid cell can either be occupied by a coral or left empty. A coral is a coded solution to an optimization problem. For each coral, a fitness (health) function is determined that corresponds to the objective function of the optimization problem.

The ρ₀ ∈ (0,1) parameter determines the initial proportion of the reef occupied by corals, that is, the ratio of occupied cells to the total number of cells at the beginning of the algorithm. Initialization of the reef is performed as follows:

  1. The reef size of N×M and the initial filling fraction ρ₀ are specified.
  2. ⌊ρ₀ × N × M⌋ reef cells are randomly selected to house the starting corals.
  3. Initial corals are generated randomly within the search area and placed in the selected cells.

After the reef is initialized, an iterative process of reef formation and development begins, consisting of several stages:

Broadcast Spawning. For this type of reproduction, a certain proportion of Fₑ existing corals is selected. The selected corals form pairs and create offspring using crossover operators. Each pair produces a larva using the crossover operator (ordinary averaging).

Brooding. The remaining fraction of corals (1-Fₑ) engage in brooding where each coral produces offspring through mutation. For each coral selected for brooding, a larva is created using a mutation operator. The larva typically represents a small random variation of the encoded solution. Larval settlement. After the larvae are formed, each one tries to take its place in the reef during the reproductive stages. The settlement is carried out according to the following rules:

  1. The larva randomly chooses a cell (i, j) in the reef.
  2. If the cell is free, the larva occupies it.
  3. If the cell is occupied, the larva can displace the existing coral only if its fitness is higher: f(larva) > f(Ξᵢⱼ).
  4. If displacement does not occur, the larva may try to settle in another place (up to a maximum k number of attempts).
  5. If after k attempts the larva fails to find a place, it dies.

Asexual reproduction (budding). The best corals in a reef (Fₐ fraction) can reproduce asexually, creating exact copies of themselves (clones). Formally:

  1. Corals are sorted by the fitness function.
  2. The best Fₐ × 100% corals are selected for asexual reproduction.
  3. Each selected coral creates a clone that attempts to settle in the reef according to the same rules as during the larval settlement.

Depredation. At the end of each iteration, the worst corals in the reef may die with Pd probability, making room for new corals in the next iterations.

The reef formation is repeated until the specified stopping criterion is met, such as reaching the maximum number of iterations. After stopping, the best coral in the reef represents the found solution to the optimization problem.


Han respondido

1
Desarrollador 1
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
2
Desarrollador 2
Evaluación
(394)
Proyectos
555
41%
Arbitraje
30
57% / 3%
Caducado
57
10%
Trabaja
Ha publicado: 11 ejemplos
3
Desarrollador 3
Evaluación
(75)
Proyectos
80
6%
Arbitraje
46
11% / 54%
Caducado
7
9%
Trabaja
4
Desarrollador 4
Evaluación
(3)
Proyectos
4
0%
Arbitraje
2
0% / 100%
Caducado
1
25%
Libre
5
Desarrollador 5
Evaluación
(611)
Proyectos
711
33%
Arbitraje
45
49% / 42%
Caducado
14
2%
Trabaja
6
Desarrollador 6
Evaluación
(21)
Proyectos
27
7%
Arbitraje
9
33% / 33%
Caducado
1
4%
Trabaja
7
Desarrollador 7
Evaluación
(1)
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(5)
Proyectos
6
50%
Arbitraje
0
Caducado
1
17%
Libre
10
Desarrollador 10
Evaluación
(366)
Proyectos
444
55%
Arbitraje
22
55% / 14%
Caducado
30
7%
Trabajando
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(13)
Proyectos
22
41%
Arbitraje
8
0% / 50%
Caducado
3
14%
Libre
13
Desarrollador 13
Evaluación
(9)
Proyectos
11
55%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(7)
Proyectos
5
0%
Arbitraje
5
0% / 80%
Caducado
1
20%
Trabaja
15
Desarrollador 15
Evaluación
(12)
Proyectos
17
35%
Arbitraje
5
40% / 20%
Caducado
1
6%
Trabaja
Ha publicado: 6 artículos, 34 ejemplos
16
Desarrollador 16
Evaluación
(73)
Proyectos
257
53%
Arbitraje
16
50% / 38%
Caducado
83
32%
Libre
17
Desarrollador 17
Evaluación
(7)
Proyectos
6
0%
Arbitraje
4
25% / 75%
Caducado
2
33%
Libre
18
Desarrollador 18
Evaluación
(55)
Proyectos
92
24%
Arbitraje
8
75% / 13%
Caducado
44
48%
Libre
19
Desarrollador 19
Evaluación
Proyectos
1
0%
Arbitraje
2
0% / 100%
Caducado
0
Libre
20
Desarrollador 20
Evaluación
(1)
Proyectos
2
0%
Arbitraje
0
Caducado
2
100%
Libre
21
Desarrollador 21
Evaluación
Proyectos
2
0%
Arbitraje
0
Caducado
1
50%
Libre
22
Desarrollador 22
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
24
Desarrollador 24
Evaluación
(64)
Proyectos
144
46%
Arbitraje
20
40% / 20%
Caducado
32
22%
Libre
25
Desarrollador 25
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
26
Desarrollador 26
Evaluación
(13)
Proyectos
13
38%
Arbitraje
1
0% / 100%
Caducado
1
8%
Libre
Solicitudes similares
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
I am looking for an experienced MetaTrader 5 expert. I already have 3 MT5 trading accounts. I need someone to: 1. Help me choose a reliable Windows VPS. 2. Connect to my VPS remotely (AnyDesk or TeamViewer). 3. Install 3 MetaTrader 5 terminals. 4. Configure: - 1 Master Account - 2 Slave Accounts 5. Install and configure a professional Trade Copier. 6. Copy all trades from the Master account to both Slave
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
Supply and Demand EA 50 - 250 USD
I need a SnD EA. Prefer coder who has previous experience coding SnD EA. PO are based on (CHoCH or BoS) and 3EMA, order block (from my TradingView indicator), area based on Fibonacci. SL options are based on fix pips or zone size; CL is based on candle closing. TP1 and TP2 options are based on fix pips or fix ratio. Canceling PO is based on market structure or Fibonacci. Money management are based on fix volume or
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into

Información sobre el proyecto

Presupuesto
850+ USD
Plazo límite de ejecución
de 3 a 8 día(s)