Exemple #1
0
import Model
import SimulatedAnnealing
import MaxWalkSat
import Schaffer
import Kursawe
import Osyczka2

from SimulatedAnnealing import *
from MaxWalkSat import *
from Schaffer import *
from Kursawe import *
from Osyczka2 import *
from DifferentialEvolution import differentialEvolution
from Golinski import Golinski

differentialEvolution(Golinski())
Exemple #2
0
from hypervolume_runner import HyperVolume_wrapper

models=[DTLZ1]
objs=[2,4,6,8]
decs=[10,20,40]
i=0
iterations=0
while iterations<=1:
    for model in models:
        print model
        print '\n\n'
        for x in decs:
            print '\t\t\t',x,'\t\t\t',
        print
        for j in objs:
            print j,
            for k in decs:
                #modelName=model+'('+str(j)+','str(k)+')'
                #print modelName
                #print model(j,k)
                differentialEvolution(GeneticAlgorithm,model,j,k)
                print global_variable.best_energy


            print

    iterations=iterations+1



Exemple #3
0
from sk import *
from global_variables import *
from GeneticAlgorithm import *
import Model


from DifferentialEvolution import differentialEvolution
from DTLZ1 import *
from DTLZ3 import *
from DTLZ5 import *
from DTLZ7 import *
data_lists = [['DLTZ3'],['DLTZ5'],['DLTZ7']]
k=0
for model in [DTLZ3,DTLZ5,DTLZ7]:

   # for _ in range(20):
    list_loss=[data_lists[k]]
    for _ in range(20):
            differentialEvolution(GeneticAlgorithm,model)
            list_loss.append(global_variable.loss_inter)
    data_lists[k]=list_loss
    k=k+1

print data_lists
rdivDemo(data_lists)
Exemple #4
0
import Model
import SimulatedAnnealing
import MaxWalkSat
import Schaffer
import Kursawe
import Osyczka2

from SimulatedAnnealing import *
from MaxWalkSat import *
from Schaffer import *
from Kursawe import *
from Osyczka2 import *
from DifferentialEvolution import differentialEvolution
from Golinski import Golinski



differentialEvolution(Golinski())