Vous êtes sur la page 1sur 1

MatlabSite.

com

Binary Genetic Algorithm

. Code ga.m

.
n
z = f (x 1, x 2 , , x n ) = x i
i =1

. . Cost.m

Binary Genetic Algorithm

Programmed By: MatlabSite.com Programmers Team, 2009

Iteration 1: Best Cost = 90


Iteration 2: Best Cost = 85
Iteration 3: Best Cost = 85
Iteration 4: Best Cost = 84
Iteration 5: Best Cost = 84
.
.
.
Iteration 198: Best Cost = 10
Iteration 199: Best Cost = 10
Iteration 200: Best Cost = 10
Iteration 201: Best Cost = 10
Iteration 202: Best Cost = 10
.
.
.
Iteration 398: Best Cost = 0
Iteration 399: Best Cost = 0
Iteration 400: Best Cost = 0

Vous aimerez peut-être aussi