11.3. TA Configuration File

 

####################################################################
## MAIN PARAMETERS : ##
####################################################################

SYNC_PORT =1500       # Port to synchronize the island
NUM_ISLANDS =4         # Total number of islands

HOST_1 =127.0.0.1
HOST_2 =127.0.0.1
HOST_3 =127.0.0.1
HOST_4 =127.0.0.1

PORT_1 =6101
PORT_2 =6102
PORT_3 =6103
PORT_4 =6104

####################################################################
## PROBLEM PARAMETERS : ##
####################################################################

PROBLEM_TYPE =4        # 4=Terminal Assignment (TA)

FITNESS_FUNCTION =1              # If TA 1:Original function.
SOLUTION_FITNESS =1000.0     # 1000.0 if TA

NUM_GENES =100            # Number of Terminals if TA (max. 100)
GENE_LENGTH =5            # 5 or 6 if TA. Depends on the number of concentrators used.
CHROM_LENGTH =500     # Length of chromosome:NUM_GENES*GENE_LENGTH

############## TA Parameters ##############

NUM_TERM =100         # Number of terminals
NUM_CONC =31           # Number of concentrators
CONC_CAP =12            # Concentrator capacity

####################################################################
## ALGORITHM PARAMETERS : ##
####################################################################

ALG_TYPE =2            # Algorithm type:2:Celular GA

NUM_MAX_EVAL =500000      # Maximum number of evaluations

ALG_STOP =3         # Stopping condition:3:Get SOLUTION_FITNESS or Get NUM_MAX_EVAL

MIGRATION_FREQ =490       # Frequency of migrations (# of evaluations)
MIGRATION_TYPE =3           # Type of migration:3:random indiv

PROB_CROSS =0.5         # Probability of applying crossover
PROB_MUT =0.01           # Probability of applying mutation.

CROSS_TYPE =3             # 3:UX
MUTATION_TYPE = 1      # 1:Binary mutation

POP_V_SIZE =16
POP_H_SIZE =32
POPSIZE =512       # Size of population on each island:POP_V_SIZE*POP_H_SIZE

REPLACEMENT_TYPE =1     # 1:worst indiv
SELECTION_TYPE =1            # 1:Roulette wheel

NEIGHB_TYPE =1       # Neighborhood type 1:linear5, 2:linear9, 3:compact9

####################################################################
## MISCELLANEOUS : ##
####################################################################

NUM_MIG =1            # Number of migrate individuals
UX_RATIO =0.6         # Ratio for UX cross operator: [0,1)


 

[Previous][Index][Home][Next]