09.05.2013 Views

TESIS-MAG-0201.pdf

TESIS-MAG-0201.pdf

TESIS-MAG-0201.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

algoritmo encontró la mejor solución (hasta ese instante). La especificación completa se<br />

muestra en ¡a figura 5.5.<br />

.o1ut,on GrapO .noed.<br />

obj.otiv. :- mm $so1utxon.Get_Weighted_Tardinesa$ O<br />

inolud. - $ #ifndef GP.APH<br />

*include "graph.h"<br />

#endit $<br />

\ Función objetivo<br />

b&.h 5 aolution.Encodefl$<br />

Accesoacadasubcluster<br />

dan job : $ aolution.Get_itumber Jobs(l$ ¡<br />

da.n cr3.ticai.operation :<br />

Numero de iteraciones mayores<br />

Largo inicial de la lista tabu<br />

1 Máximo tupo de ejecución, máximo número de<br />

iteraciones, máximo de iteraciones sin mejora<br />

1 criti.cia1_Aro. 10000 , 1000010000 1 Calcuaantes deejecutar la iteración<br />

el clutter de arcos críticos<br />

b.for. - Cluster - current. reedback J<br />

Código de usuano para el<br />

aft.r - $ delete Cluster ( manejodclalistatabú<br />

II Setting tOe tabo list ajee,<br />

it (curr_coet < cost_previoua_iter) 1<br />

it (tabulenqth > min_length)<br />

tabu_length- -;<br />

else<br />

it (tabu_iength < max_iength)<br />

tabu_length++;<br />

itcurr_coat -- mm_coatI<br />

tsbu_length - 1;<br />

tabuList->Reaize (total_iterationa, tabu_length(<br />

ceatprevioua_iter - curr_coat; $<br />

I oandidat._]i.t - reades 5 join (x: oritieal_op.ration) 1<br />

p.rturb (moya in candidate_liat) \._.___j Definición de la lista de candidatos:<br />

solution. Swap(Cluater->Job From(move[1J<br />

Cluster-> Step rrom(move(1]i};<br />

iaccspt :- $ TRUE si<br />

•nd \_..... Se acepta siempre el mejor de la vecindad<br />

Se escogen aleatoriamente 5 arcos críticos<br />

Función de perturbación<br />

104<br />

Figura 5.5 : Especificación de la heurística de tabu search para JmIr,dw17, en<br />

5.1.4 Resultados<br />

LS-!.<br />

Dado que para la tardanza ponderada no existe una batería de instancias<br />

como si la hay para el caso del makespan, en [Pinedo 961 se define una forma de generar<br />

ponderadores y fechas de entrega a partir de los instancias de prueba que existen para

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!