Académique Documents
Professionnel Documents
Culture Documents
Versin 1
SEMANA 46
1/7
CDIGO: 350
VERSIN: 1
1- Problema de optimizacin
a) Tipo de problema: se trata de un problema de optimizacin combinatoria,
del tipo de coloracin de mapas. Cuando n es grande es un problema difcil
de resolver por los mtodos de optimizacin clsicos.
b) Para n = 20, la representacin de una solucin al problema, en trminos
computacionales es la siguiente: cada ventanal V es una matriz que
contiene nmeros enteros entre 1 y 4, considerando el color amarillo (valor
1), celeste (valor 2), magenta (valor 3) y verde (valor 4), con dimensiones
V[7,2]. Ejemplo de solucin factible y de solucin infactible:
1
pdfMachine
Ingeniera
de Sistemas
Evaluador: Sandra Snchez
A pdf writer that produces quality PDF files with ease!
Produce quality PDF files in seconds and preserve the integrity of your original documents. Compatible across
nearly all Windows platforms, simply open the document you want to convert, click print, select the
Broadgun pdfMachine printer and thats it! Get yours now!
350 -M/R
Versin 1
SEMANA 46
2/7
0
1
4
1
1
3
-1
1
Fitness
x2
-1
5
-3
0
-2
-3
1
1
f(x1,x2)
7
-64
91
1
27
72
-8
0
350 -M/R
Versin 1
SEMANA 46
1
2
3
4
5
6
7
8
x1
x2
0
1
4
1
1
3
-1
1
-1
5
-3
0
-2
-3
1
1
f(x1,x2)
7
-64
91
1
27
72
-8
0
126
3/7
% Fitness
5,56
-50,79
72,22
0,79
21,43
57,14
-6,35
0
b) Torneo, magnitud 3:
Primera seleccin
1
1
-1
2
5
7
5
-2
1
-64
27
-8
1
3
8
0
4
1
-1
-3
1
7
91
0
pdfMachine
Ingeniera
de Sistemas
Evaluador: Sandra Snchez
A pdf writer that produces quality PDF files with ease!
Produce quality PDF files in seconds and preserve the integrity of your original documents. Compatible across
nearly all Windows platforms, simply open the document you want to convert, click print, select the
Broadgun pdfMachine printer and thats it! Get yours now!
350 -M/R
Versin 1
SEMANA 46
4/7
3- Algoritmo Gentico
a) Poblacin y fitness
N
Individuo
Fitness
0110010110
2
3
0111101101
1101001010
1000010101
1011111111
1000010101
0111101101
1011111111
11010 01010
10000 10101
Hijos resultantes del cruce y su fitness (sustituirn a los individuos 2 y 5
respectivamente)
1101010101
1000001010
2
Fitness
pdfMachine
Ingeniera
de Sistemas
Evaluador: Sandra Snchez
A pdf writer that produces quality PDF files with ease!
Produce quality PDF files in seconds and preserve the integrity of your original documents. Compatible across
nearly all Windows platforms, simply open the document you want to convert, click print, select the
Broadgun pdfMachine printer and thats it! Get yours now!
350 -M/R
Versin 1
SEMANA 46
5/7
Nueva poblacin
N
Individuo
Fitness
0110010110
2
3
1101010101
1101001010
1000010101
1000001010
b) Mutacin: vamos a conmutar el bit uno del individuo 2, es decir de uno pasa
a cero, resultando la generacin:
N
1
2
3
4
5
Individuo
0110010110
0101010101
1101001010
1000010101
1000001010
Fitness
1
4
3
2
2
0101010101
1101001010
Los dos Individuos con menor fitness que sern eliminados, como los
individuos 4 y 5 tienen igual fitness tomamos cualquiera de los dos, por
ejemplo el 4.
1
0110010110
1000010101
pdfMachine
Ingeniera
de Sistemas
Evaluador: Sandra Snchez
A pdf writer that produces quality PDF files with ease!
Produce quality PDF files in seconds and preserve the integrity of your original documents. Compatible across
nearly all Windows platforms, simply open the document you want to convert, click print, select the
Broadgun pdfMachine printer and thats it! Get yours now!
350 -M/R
Versin 1
SEMANA 46
6/7
01010 10101
11010 01010
Hijos resultantes del cruce y su fitness (sustituirn a los individuos 1 y 4
respectivamente)
0101001010
1101010101
Nueva poblacin
N
Individuo
Fitness
0101001010
2
3
1101010101
1101001010
1101010101
1000001010
Mutacin: vamos a conmutar el bit uno del individuo 3, es decir de uno pasa
a cero, resultando la generacin:
N
1
2
3
4
5
Individuo
0101001010
1101010101
0101001010
1101010101
1000001010
Fitness
4
3
4
3
2
Segunda generacin
pdfMachine
Ingeniera
de Sistemas
Evaluador: Sandra Snchez
A pdf writer that produces quality PDF files with ease!
Produce quality PDF files in seconds and preserve the integrity of your original documents. Compatible across
nearly all Windows platforms, simply open the document you want to convert, click print, select the
Broadgun pdfMachine printer and thats it! Get yours now!
350 -M/R
Versin 1
SEMANA 46
7/7
pdfMachine
Ingeniera
de Sistemas
Evaluador: Sandra Snchez
A pdf writer that produces quality PDF files with ease!
Produce quality PDF files in seconds and preserve the integrity of your original documents. Compatible across
nearly all Windows platforms, simply open the document you want to convert, click print, select the
Broadgun pdfMachine printer and thats it! Get yours now!