Here, we deal with the constraints as follows: generate a group of individuals randomly, then retain the individuals satisfying the constraints Ax + By ≤ r as the initial population and drop out the ones not satisfying the constraints. The individuals generated by this way all satisfy the constraints. And, the off-springs satisfy the constraints by corresponding crossover and mutation operators.
Design of the Fitness Function
To solve the problem (P 3) by GA, the definition of the feasible degree is firstly introduced and the fitness function is constructed to solve the problem by GA. Let d denote the large enough penalty interval of the feasible region for each(x, y) ∈ S:
nition 3: Let
∈ [0, 1] denotes the feasible degree of satisfying the feasible region, and
describe it by the following function:
y Y x) d
Y (x)k = 0
k, if 0 < ky
Y (x)k ≤ d
Y (x)k > d
where k.k denotes the norm.
Further,the fitness function of the GA can be stated as:
eval(vk) = (F (x, y)
is the minimal value of F (x, y) on S.
The crossover operator is one of the important genetic operators. In the optimization prob- lem with continuous variable, many crossover operators appeared, such as: simple crossover, heuristic crossover and arithmetical crossover. Among them, arithmetical crossover has the most popular application. The paper uses arithmetical crossover which can ensure the off-springs are still in the constraint region and moreover the system is more stable and the variance of the best solution is smaller. The arithmetical crossover can generate two off-springs which are totally linear combined by the father individuals. If v1 and v2 crossover, then the final off-springs are:
∗ v1 + (1
) ∗ v2
∗ v2 + (1
) ∗ v1
∈ [0, 1] is a random number.
is,v1, v2 ∈ S)
The arithmetical crossover can ensure closure (that
The mutation operator is another important genetic operator in GA. Many mutation operators appeared such as: uniform mutation, non-uniform mutation and boundary mutation. We adopt the boundary mutation, which is constructed for the problem whose optimal solution is