Constraints’ violations are handled with the repair method. The repair method was preferred over the use of penalties, for the following reasons: (a) it is closer to the ‘nature’ of the examined problem, since, in essence, it attributes no dam to non-available locations and (b) it entails a lower computational volume; there is no need to investigate the penalty magnitude through time-consuming tests. Table 2 presents the exact pairing of all possible decision variable values, converted from binary format of a chromosome to decimal format (chromo), with the ultimately used values, followed by the respective physical interpretation.
Variable . | Value in chromo . | Used . | Interpretation . | Constraint handling . |
---|---|---|---|---|
DLi* | 0 | 0 | No Di | C1a |
1 | 1 | Di = 1 | – | |
2 | 2 | Di = 2 | – | |
… | … | … | … | |
N | N | Di=N | – | |
… | … | … | … | |
61 | 61 | Di = 61 | – | |
62 | 0 | No Di | C1b | |
63 | 0 | No Di | C1b | |
DHi | 0 | 0 | No Di | C3 |
1 | 1 | 1.0 m | C3 | |
2 | 2 | 1.5 m | C3 | |
3 | 3 | 2.0 m | C3 | |
BL | 0 | 1 | A | C4 |
1 | 2 | B | C4 | |
2 | 3 | C | C4 | |
3 | 4 | D | C4 |
Variable . | Value in chromo . | Used . | Interpretation . | Constraint handling . |
---|---|---|---|---|
DLi* | 0 | 0 | No Di | C1a |
1 | 1 | Di = 1 | – | |
2 | 2 | Di = 2 | – | |
… | … | … | … | |
N | N | Di=N | – | |
… | … | … | … | |
61 | 61 | Di = 61 | – | |
62 | 0 | No Di | C1b | |
63 | 0 | No Di | C1b | |
DHi | 0 | 0 | No Di | C3 |
1 | 1 | 1.0 m | C3 | |
2 | 2 | 1.5 m | C3 | |
3 | 3 | 2.0 m | C3 | |
BL | 0 | 1 | A | C4 |
1 | 2 | B | C4 | |
2 | 3 | C | C4 | |
3 | 4 | D | C4 |
D, dam; No Di, no dam i; DL, dam location; DH, dam height.
BL = BP location; *if DLj = DLi, j > I ⇒ constraint handling C4: ∄ Di.