From 769a14c1fce7b4c5260becf81052fe5609c30c4a Mon Sep 17 00:00:00 2001 From: Remi Ehounou Date: Sat, 11 Sep 2021 16:07:25 -0400 Subject: [PATCH] added dynamic objectives and optimization space --- MDAF/MDAF.py | 14 ++++++++++---- MDAF/SampleAlgorithms/SimmulatedAnnealing.py | 4 ++-- .../SimmulatedAnnealing.cpython-39.pyc | Bin 1795 -> 1828 bytes MDAF/TestFunctions/Ackley2.py | 1 + MDAF/TestFunctions/Alpine.py | 1 + MDAF/TestFunctions/Brown.py | 1 + MDAF/TestFunctions/Bukin2.py | 1 + MDAF/TestFunctions/Bukin4.py | 1 + MDAF/TestFunctions/Bukin6.py | 1 + MDAF/TestFunctions/Easom.py | 1 + MDAF/TestFunctions/Keane.py | 1 + MDAF/TestFunctions/Leon.py | 1 + MDAF/TestFunctions/Matyas.py | 1 + MDAF/TestFunctions/McCormick.py | 1 + MDAF/TestFunctions/Miele_Cantrell.py | 1 + MDAF/TestFunctions/Periodic.py | 1 + MDAF/TestFunctions/PowellSingular2.py | 1 + MDAF/TestFunctions/Price1.py | 1 + MDAF/TestFunctions/Price2.py | 1 + MDAF/TestFunctions/Quartic.py | 1 + MDAF/TestFunctions/Rastriring.py | 1 + MDAF/TestFunctions/Scahffer.py | 1 + MDAF/TestFunctions/Schwefel.py | 1 + MDAF/TestFunctions/Sphere.py | 1 + MDAF/TestFunctions/Step.py | 1 + MDAF/TestFunctions/Step2.py | 1 + MDAF/TestFunctions/Styblinski-Tang.py | 1 + MDAF/TestFunctions/SumSquare.py | 1 + MDAF/TestFunctions/Wayburn.py | 1 + MDAF/TestFunctions/Zettle.py | 1 + MDAF/TestFunctions/Zirilli.py | 1 + .../__pycache__/Brown.cpython-39.pyc | Bin 6074 -> 6087 bytes .../__pycache__/Bukin2.cpython-39.pyc | Bin 5357 -> 5370 bytes .../__pycache__/Bukin4.cpython-39.pyc | Bin 5842 -> 5855 bytes .../__pycache__/Bukin6.cpython-39.pyc | Bin 5889 -> 5902 bytes MDAF/__pycache__/MDAF.cpython-39.pyc | Bin 11391 -> 11697 bytes tests/Bukin2.py | 1 + tests/__pycache__/Bukin2.cpython-39.pyc | Bin 5638 -> 5618 bytes 38 files changed, 41 insertions(+), 6 deletions(-) diff --git a/MDAF/MDAF.py b/MDAF/MDAF.py index f20baf8..8a0b0e9 100644 --- a/MDAF/MDAF.py +++ b/MDAF/MDAF.py @@ -231,7 +231,7 @@ def representfunc(funcpath, forced = False): -def doe(heuristicpath, testfunctionpaths, args, measurementSampleSize = 30): +def doe(heuristicpath, testfunctionpaths, heuristic_args, measurementSampleSize = 30): for i,funpath in enumerate(testfunctionpaths): if funpath.find('@') == 0: testfunctionpaths[i] = path.dirname(__file__) + '/TestFunctions/' + funpath[1:] @@ -251,9 +251,14 @@ def doe(heuristicpath, testfunctionpaths, args, measurementSampleSize = 30): # loading the test functions into the namespace and memory for idx, funcpath in enumerate(testfunctionpaths): funcname = funcnames[idx] + #getting the representation + repr = representfunc(funcpath, True) + heuristic_args['objs'] = repr['opti'] + heuristic_args['lower'] = repr['lower'] + heuristic_args['upper'] = repr['upper'] # Creating the connection objects for communication between the heuristic and this module connections[funcname] = multiprocessing.Pipe(duplex=False) - proc.append(multiprocessing.Process(target=measure, name=funcname, args=(heuristicpath, funcpath, args, connections[funcname][1], measurementSampleSize))) + proc.append(multiprocessing.Process(target=measure, name=funcname, args=(heuristicpath, funcpath, heuristic_args, connections[funcname][1], measurementSampleSize))) # defining the response variables responses = {} @@ -266,7 +271,7 @@ def doe(heuristicpath, testfunctionpaths, args, measurementSampleSize = 30): # Waiting for all the runs to be done for process in proc: process.join() - for process in proc: + for i,process in enumerate(proc): run = process.name if process.exitcode == 0: responses[run] = connections[run][0].recv() else: @@ -274,6 +279,7 @@ def doe(heuristicpath, testfunctionpaths, args, measurementSampleSize = 30): failedfunctions[run] = process.exitcode connections[run][0].close() connections[run][1].close() + print('Test Function Completed: '+str(i)+'/'+str(len(proc))) # display output @@ -369,7 +375,7 @@ if __name__== "__main__": #visualize2D('@Easom.py', -10,10) #feats = array([representfunc(testfun, True)['ela_meta'] for testfun in testfuns]) #plotfuncs(['@Bukin2.py','@Bukin6.py'], 'ela_meta') - #perf = doe('@SimmulatedAnnealing.py', testfuns[3:4],{"t": 1000, "p": 0.95, "objs": 0},measurementSampleSize=30) + perf = doe('@SimmulatedAnnealing.py', testfuns[0:1],{"t": 1000, "p": 0.95, "objs": 0, "lower": [-10], "upper": [10]},measurementSampleSize=2) #perfs = array([[perf[func][0]['cpuTime'][0], perf[func][0]['numCalls'][0], perf[func][0]['quality'][0], perf[func][0]['convRate'][0]] for func in perf.keys()]) #features = array(feats) diff --git a/MDAF/SampleAlgorithms/SimmulatedAnnealing.py b/MDAF/SampleAlgorithms/SimmulatedAnnealing.py index 9361eaa..cd0cd9f 100644 --- a/MDAF/SampleAlgorithms/SimmulatedAnnealing.py +++ b/MDAF/SampleAlgorithms/SimmulatedAnnealing.py @@ -38,8 +38,8 @@ def main(func, S, args): y = args["objs"] t = args["t"] p = args["p"] - high = 20 - low = -20 + high = max([args["upper"]]) + low = max([args["lower"]]) Best = list() Best[:] = cp.deepcopy(S) diff --git a/MDAF/SampleAlgorithms/__pycache__/SimmulatedAnnealing.cpython-39.pyc b/MDAF/SampleAlgorithms/__pycache__/SimmulatedAnnealing.cpython-39.pyc index 8cf3f133d42abafda5a51aeb4bd51a3abda9a01c..7c98c1f6ef4d431f56d3a42182f0805241f98449 100644 GIT binary patch delta 446 zcmZ8eJxc>Y5S_W*y}R63V$g%ck0PKF(8?4R2{zVRSXl_3Tu>52l5<4~dkQ%%1dG7_ zfduTu%Aa6ud%wg=+|z`B13UZX&CKJ$B;JeX2Ci#?iYL1fyuP`21V{3j>}+r*w2+qI z921O<--=BulhXv^9M{K&{3J`qrpSd5!lPD#2_o=ZXe77~BRKhvZEl5TlCgF+FK~iF z7nU%DnXuU5j&KAOkdW9_7^m19_}p!IvO(ALUmV8y35a|fMi@D=OIPnJf(aH{%diVE zo9`)<`%`FBHG3v-=4oud4U3PDpk*u&SEXYH)LP;mMl`ZzZ=b@+RSVXFxhbH>OK?gPTQAeHn+9F!$kh1!V oq>LtwYU&Qvg_L#zei3cUQ@w@!Sz60dO@8S0AA!VVY6nyV)ckd&27Y*Sg@uLzYXcZfaQyVJ_8*MEjTWC%rxojb_XOKf|QUtcN zNx(l~Y%&jgbsl{n( z3z9+V2s&UAhbSEm9PW(>I7?k=4y>tCfgvIYn_C&~!^wAA5DvGqTyy{2OuEvNc1BZA z6r?AKgv?BR&GDB9H=*#FzEsC#)qfQ*2!1jNhRg(B5XrSXEx28NkB~c zm>fu))U3d?UIhQk>ZC#peeCd=pL;P$TBz0bMY}cAkD%rsjuyz(X|ppzk>r2&Ue<8_ zF&>ZAF5SeUis_Q-(U(1f#9&xLqMwI0hNh>tfgv(vq->PYMbE72T{5d^lccVLYV#v< e*$`*RhPq=FTvLy1XKq~|l2Q&UIn>n~i+%t)!Dapc diff --git a/MDAF/TestFunctions/Ackley2.py b/MDAF/TestFunctions/Ackley2.py index d51cc77..77c489b 100644 --- a/MDAF/TestFunctions/Ackley2.py +++ b/MDAF/TestFunctions/Ackley2.py @@ -7,6 +7,7 @@ def main(args): #_# upper: 32 #_# lower: -32 #_# minimum: [0, 0] + #_# opti: -200 >>> main([0, 0]) -200.0 diff --git a/MDAF/TestFunctions/Alpine.py b/MDAF/TestFunctions/Alpine.py index b74b4ae..ac8f114 100644 --- a/MDAF/TestFunctions/Alpine.py +++ b/MDAF/TestFunctions/Alpine.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 10 #_# lower: -10 #_# minimum: [0,0] + #_# opti: 0 #_# cm_angle: array([[1.51864326e+00], [5.34186818e-01], [1.13769921e+00], [6.01461615e-01], [1.04599092e+02], [4.22931285e+01], [3.99368522e-01], [1.77424245e-01], [0.00000000e+00], [4.10000000e-02]]) #_# cm_conv: array([[0.46153846], [0.25 ], [0.48076923], [0.51923077], [0. ], [0.012 ]]) diff --git a/MDAF/TestFunctions/Brown.py b/MDAF/TestFunctions/Brown.py index ecc8bbc..973d489 100644 --- a/MDAF/TestFunctions/Brown.py +++ b/MDAF/TestFunctions/Brown.py @@ -8,6 +8,7 @@ def main(args): #_# upper: 4 #_# lower: -1 #_# minimum: 0 + #_# opti: 0 #_# cm_angle: array([[4.38674589e+00], [1.19556006e+00], [4.47966360e+00], [1.19983352e+00], [5.60286032e+00], [1.07792176e+01], [2.25826784e-03], [2.51639450e-02], [0.00000000e+00], [2.62000000e-01]]) diff --git a/MDAF/TestFunctions/Bukin2.py b/MDAF/TestFunctions/Bukin2.py index cc2d86a..17a68bc 100644 --- a/MDAF/TestFunctions/Bukin2.py +++ b/MDAF/TestFunctions/Bukin2.py @@ -8,6 +8,7 @@ def main(args): #_# upper: [-5, 3] #_# lower: [-15, -3] #_# minimum: [-10,0] + #_# opti: 0 #_# cm_angle: array([[3.49881571e-01], [1.07838645e-01], [3.22906733e-01], [1.09086923e-01], [1.36740093e+02], [3.72333248e+01], [6.24743683e-02], [1.45683932e-02], [0.00000000e+00], [7.70000000e-02]]) diff --git a/MDAF/TestFunctions/Bukin4.py b/MDAF/TestFunctions/Bukin4.py index 1e1276d..e321334 100644 --- a/MDAF/TestFunctions/Bukin4.py +++ b/MDAF/TestFunctions/Bukin4.py @@ -8,6 +8,7 @@ def main(args): #_# upper: [-5, 3] #_# lower: [-15, -3] #_# minimum: [-10,0] + #_# opti: 0 #_# cm_angle: array([[3.46336319e-01], [1.11596448e-01], [3.32688632e-01], [1.10567852e-01], [1.26709762e+02], [3.96040507e+01], [1.47616482e-01], [9.06041269e-02], [0.00000000e+00], [7.90000000e-02]]) diff --git a/MDAF/TestFunctions/Bukin6.py b/MDAF/TestFunctions/Bukin6.py index 006ba62..fff74d1 100644 --- a/MDAF/TestFunctions/Bukin6.py +++ b/MDAF/TestFunctions/Bukin6.py @@ -10,6 +10,7 @@ def main(args): #_# upper: [-5, 3] #_# lower: [-15, -3] #_# minimum: [-10,1] + #_# opti: 0 #_# cm_angle: array([[6.66400060e-01], [1.57197492e-01], [6.33211887e-01], [1.78907191e-01], [1.44244246e+02], [3.10372115e+01], [2.04871341e-01], [7.98873206e-02], [0.00000000e+00], [4.70000000e-02]]) diff --git a/MDAF/TestFunctions/Easom.py b/MDAF/TestFunctions/Easom.py index b19e9fa..2a15400 100644 --- a/MDAF/TestFunctions/Easom.py +++ b/MDAF/TestFunctions/Easom.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 100 #_# lower: -100 #_# minimum: [3.1415, 3.1415] + #_# opti: -1 ''' return -1*math.cos(args[0])*math.cos(args[1])*math.exp(-(args[0]-math.pi)**2-(args[1]-math.pi)**2) diff --git a/MDAF/TestFunctions/Keane.py b/MDAF/TestFunctions/Keane.py index f38db33..3db75c2 100644 --- a/MDAF/TestFunctions/Keane.py +++ b/MDAF/TestFunctions/Keane.py @@ -11,6 +11,7 @@ def main(args): #_# upper: 10 #_# lower: 0.01 #_# minimum: [0, 1.39325] + #_# opti: 0 #_# cm_angle: array([[7.13994878e-01], [2.04021604e-01], [7.26144234e-01], [1.75288688e-01], [1.18714400e+02], [2.56929617e+01], [2.29691859e-01], [1.84411364e-01], [0.00000000e+00], [4.50000000e-02]]) #_# cm_conv: array([[0.30769231], [0.34615385], [0.51923077], [0.48076923], [0. ], [0.014 ]]) diff --git a/MDAF/TestFunctions/Leon.py b/MDAF/TestFunctions/Leon.py index 444bd73..4201cb3 100644 --- a/MDAF/TestFunctions/Leon.py +++ b/MDAF/TestFunctions/Leon.py @@ -11,6 +11,7 @@ def main(args): #_# upper: 1.2 #_# lower: -1.2 #_# minimum: [1, 1] + #_# opti: 0 #_# cm_angle: array([[2.10542603e-01], [2.72828609e-02], [2.13436119e-01], [2.65579669e-02], [1.51992391e+02], [2.94589423e+01], [1.70644204e-01], [1.20347799e-01], [0.00000000e+00], [4.30000000e-02]]) #_# cm_conv: array([[0.15384615], [0.03846154], [0.96153846], [0.03846154], [0. ], [0.015 ]]) diff --git a/MDAF/TestFunctions/Matyas.py b/MDAF/TestFunctions/Matyas.py index d997e4c..67c2a3d 100644 --- a/MDAF/TestFunctions/Matyas.py +++ b/MDAF/TestFunctions/Matyas.py @@ -9,6 +9,7 @@ def main(args): #_# upper: 10 #_# lower: -10 #_# minimum: [0, 0] + #_# opti: 0 #_# cm_angle: array([[1.67665613e+00], [3.12117578e-01], [1.77116080e+00], [2.14030392e-01], [1.54152066e+02], [3.01167436e+01], [1.73757960e-01], [1.29449566e-01], [0.00000000e+00], [3.88000000e-01]]) #_# cm_conv: array([[0.15384615], [0.03846154], [0.90384615], [0.09615385], [0. ], [0.069 ]]) diff --git a/MDAF/TestFunctions/McCormick.py b/MDAF/TestFunctions/McCormick.py index 626cd48..4d2d77c 100644 --- a/MDAF/TestFunctions/McCormick.py +++ b/MDAF/TestFunctions/McCormick.py @@ -8,6 +8,7 @@ def main(args): #_# upper: [4, 3] #_# lower: [-1.5, -3] #_# minimum: [-0.547, -1.547] + #_# opti: 0 #_# cm_angle: array([[4.79655921e-01], [8.11936213e-02], [4.88211174e-01], [1.07483727e-01], [1.33682197e+02], [3.67619007e+01], [2.30397221e-01], [1.37221691e-01], [0.00000000e+00], [2.01000000e-01]]) diff --git a/MDAF/TestFunctions/Miele_Cantrell.py b/MDAF/TestFunctions/Miele_Cantrell.py index e9d9679..5cdb6a1 100644 --- a/MDAF/TestFunctions/Miele_Cantrell.py +++ b/MDAF/TestFunctions/Miele_Cantrell.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 1 #_# lower: -1 #_# minimum: [0, 1, 1, 1] + #_# opti: 0 #_# cm_angle: array([[3.75299977e-01], [9.16367331e-02], [3.89890198e-01], [8.09797236e-02], [1.16758566e+02], [2.78473090e+01], [1.23458075e-02], [1.11111097e-01], [0.00000000e+00], [7.60000000e-02]]) diff --git a/MDAF/TestFunctions/Periodic.py b/MDAF/TestFunctions/Periodic.py index 0bddd36..2b0b1ca 100644 --- a/MDAF/TestFunctions/Periodic.py +++ b/MDAF/TestFunctions/Periodic.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 10 #_# lower: -10 #_# minimum: [0,0] + #_# opti: 0.9 #_# cm_angle: array([[1.75593580e+00], [2.65321236e-01], [4.87617228e-01], [2.59067658e-01], [1.31559946e+02], [4.22034384e+01], [8.81116275e-01], [6.32096982e-02], [0.00000000e+00], [6.81000000e-01]]) #_# cm_conv: array([[0.28846154], [0.32692308], [0.46153846], [0.53846154], [0. ], [0.13 ]]) diff --git a/MDAF/TestFunctions/PowellSingular2.py b/MDAF/TestFunctions/PowellSingular2.py index 05794a0..d911696 100644 --- a/MDAF/TestFunctions/PowellSingular2.py +++ b/MDAF/TestFunctions/PowellSingular2.py @@ -8,6 +8,7 @@ def main(args): #_# upper: 10 #_# lower: -10 #_# minimum: [0, 0] + #_# opti: 0 #_# cm_angle: array([[1.72687084e+00], [3.37616437e-01], [1.71737114e+00], [3.02628823e-01], [1.56338002e+02], [2.86853412e+01], [1.67456186e-01], [1.24716212e-01], [0.00000000e+00], [4.41000000e-01]]) #_# cm_conv: array([[0.15384615], [0.03846154], [0.90384615], [0.09615385], [0. ], [0.095 ]]) diff --git a/MDAF/TestFunctions/Price1.py b/MDAF/TestFunctions/Price1.py index 94c52a1..c9e40ae 100644 --- a/MDAF/TestFunctions/Price1.py +++ b/MDAF/TestFunctions/Price1.py @@ -8,6 +8,7 @@ def main(args): #_# upper: 500 #_# lower: -500 #_# minimum: [5, -5] + #_# opti: 0 #_# cm_angle: array([[8.42995060e+01], [1.48465167e+01], [8.85937471e+01], [1.22477660e+01], [1.56556548e+02], [1.64601666e+01], [2.62117969e-01], [1.07318701e-01], [0.00000000e+00], [3.81000000e-01]]) #_# cm_conv: array([[0.23076923], [0.01923077], [0.90384615], [0.09615385], [0. ], [0.077 ]]) diff --git a/MDAF/TestFunctions/Price2.py b/MDAF/TestFunctions/Price2.py index 6fc57b3..5ac800e 100644 --- a/MDAF/TestFunctions/Price2.py +++ b/MDAF/TestFunctions/Price2.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 10 #_# lower: -10 #_# minimum: [0, 0] + #_# opti: 0.9 #_# cm_angle: array([[1.75661603e+00], [2.63859171e-01], [5.96095293e-01], [2.63941004e-01], [1.16275803e+02], [4.20577763e+01], [8.57863898e-01], [6.87176980e-02], [0.00000000e+00], [4.08000000e-01]]) #_# cm_conv: array([[0.30769231], [0.32692308], [0.48076923], [0.51923077], [0. ], [0.187 ]]) diff --git a/MDAF/TestFunctions/Quartic.py b/MDAF/TestFunctions/Quartic.py index 04fe39a..4d8c0b1 100644 --- a/MDAF/TestFunctions/Quartic.py +++ b/MDAF/TestFunctions/Quartic.py @@ -8,6 +8,7 @@ def main(args): #_# upper: 1.28 #_# lower: -1.28 #_# minimum: [0,0] + #_# opti: 0 #_# cm_angle: array([[2.28732911e-01], [3.42198479e-02], [2.27981888e-01], [2.88543430e-02], [1.41047881e+02], [3.07397993e+01], [2.96369677e-01], [3.09950141e-01], [0.00000000e+00], [3.13000000e-01]]) #_# cm_conv: array([[0.34615385], [0.21153846], [0.75 ], [0.25 ], [0. ], [0.112 ]]) diff --git a/MDAF/TestFunctions/Rastriring.py b/MDAF/TestFunctions/Rastriring.py index bcaddf7..bd3a84b 100644 --- a/MDAF/TestFunctions/Rastriring.py +++ b/MDAF/TestFunctions/Rastriring.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 5.12 #_# lower: -5.12 #_# minimum: [0,0] + #_# opti: 0 #_# cm_angle: array([[5.87139339e-01], [2.50148614e-01], [5.39132964e-01], [2.87449942e-01], [1.16642840e+02], [4.26135413e+01], [4.82701426e-01], [6.47550685e-02], [0.00000000e+00], [3.73000000e-01]]) #_# cm_conv: array([[0.26923077], [0.19230769], [0.44230769], [0.55769231], [0. ], [0.088 ]]) diff --git a/MDAF/TestFunctions/Scahffer.py b/MDAF/TestFunctions/Scahffer.py index 1f2b433..7bc898a 100644 --- a/MDAF/TestFunctions/Scahffer.py +++ b/MDAF/TestFunctions/Scahffer.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 100 #_# lower: -100 #_# minimum: [0,1.253115] + #_# opti: 0.292579 #_# cm_angle: array([[1.32397939e+01], [4.62172042e+00], [1.54725129e+01], [3.83824723e+00], [6.15596703e+01], [4.60528851e+01], [5.78960073e-02], [1.77211154e-01], [0.00000000e+00], [3.04000000e-01]]) #_# cm_conv: array([[0.28846154], [0.32692308], [0.59615385], [0.40384615], [0. ], [0.112 ]]) diff --git a/MDAF/TestFunctions/Schwefel.py b/MDAF/TestFunctions/Schwefel.py index 3bbd427..7b1c5a1 100644 --- a/MDAF/TestFunctions/Schwefel.py +++ b/MDAF/TestFunctions/Schwefel.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 100 #_# lower: -100 #_# minimum: [0,0] + #_# opti: 0 #_# cm_angle: array([[1.69171763e+01], [2.98716043e+00], [1.76778645e+01], [2.33433457e+00], [1.63370899e+02], [1.34109670e+01], [2.18294064e-01], [1.76744653e-01], [0.00000000e+00], [1.34000000e-01]]) #_# cm_conv: array([[0.23076923], [0.01923077], [0.94230769], [0.05769231], [0. ], [0.055 ]]) diff --git a/MDAF/TestFunctions/Sphere.py b/MDAF/TestFunctions/Sphere.py index 7b720d1..15459d3 100644 --- a/MDAF/TestFunctions/Sphere.py +++ b/MDAF/TestFunctions/Sphere.py @@ -8,6 +8,7 @@ def main(args): #_# upper: 100 #_# lower: -100 #_# minimum: [0,0] + #_# opti: 0 #_# cm_angle: array([[1.72215494e+01], [2.59186558e+00], [1.73080840e+01], [2.32553416e+00], [1.55317224e+02], [1.54411724e+01], [2.63099825e-01], [1.01400943e-01], [0.00000000e+00], [3.36000000e-01]]) #_# cm_conv: array([[0.23076923], [0.01923077], [0.92307692], [0.07692308], [0. ], [0.158 ]]) diff --git a/MDAF/TestFunctions/Step.py b/MDAF/TestFunctions/Step.py index f264ef5..f0b9507 100644 --- a/MDAF/TestFunctions/Step.py +++ b/MDAF/TestFunctions/Step.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 100 #_# lower: -100 #_# minimum: [0,0] + #_# opti: 0 #_# cm_angle: array([[1.76951433e+01], [2.53449463e+00], [1.73770488e+01], [2.51496578e+00], [1.61069593e+02], [1.41112959e+01], [2.50578704e-01], [3.08199018e-02], [0.00000000e+00], [3.11000000e-01]]) #_# cm_conv: array([[0.23076923], [0.03846154], [0.67307692], [0.30769231], [0. ], [0.057 ]]) diff --git a/MDAF/TestFunctions/Step2.py b/MDAF/TestFunctions/Step2.py index 0f3ad4a..83f03ff 100644 --- a/MDAF/TestFunctions/Step2.py +++ b/MDAF/TestFunctions/Step2.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 100 #_# lower: -100 #_# minimum: [0,0] + #_# opti: 0 #_# cm_angle: array([[1.75512600e+01], [2.34210852e+00], [1.71483517e+01], [2.50786584e+00], [1.61753509e+02], [1.59072574e+01], [2.57240076e-01], [9.76587900e-02], [0.00000000e+00], [2.36000000e-01]]) #_# cm_conv: array([[0.23076923], [0.03846154], [0.92307692], [0.07692308], [0. ], [0.107 ]]) diff --git a/MDAF/TestFunctions/Styblinski-Tang.py b/MDAF/TestFunctions/Styblinski-Tang.py index 2620ce6..c840f3a 100644 --- a/MDAF/TestFunctions/Styblinski-Tang.py +++ b/MDAF/TestFunctions/Styblinski-Tang.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 5 #_# lower: -5 #_# minimum: [-2.903534,-2.903534] + #_# opti: -78.332 #_# cm_angle: array([[7.90389678e-01], [1.68330821e-01], [8.89556888e-01], [1.38622941e-01], [1.55135814e+02], [2.42794096e+01], [3.33747533e-01], [2.28197286e-01], [0.00000000e+00], [2.47000000e-01]]) #_# cm_conv: array([[0.46153846], [0.25 ], [0.5 ], [0.5 ], [0. ], [0.088 ]]) diff --git a/MDAF/TestFunctions/SumSquare.py b/MDAF/TestFunctions/SumSquare.py index 2391c67..6d7e9cd 100644 --- a/MDAF/TestFunctions/SumSquare.py +++ b/MDAF/TestFunctions/SumSquare.py @@ -8,6 +8,7 @@ def main(args): #_# upper: 10 #_# lower: -10 #_# minimum: [0,0] + #_# opti: 0 #_# cm_angle: array([[ 1.74423906], [ 0.27293964], [ 1.76075806], [ 0.29531509], [143.02933717], [ 24.06675059], [ 0.29793996], [ 0.16731295], [ 0. ], [ 0.285 ]]) #_# cm_conv: array([[0.30769231], [0.19230769], [0.73076923], [0.26923077], [0. ], [0.086 ]]) diff --git a/MDAF/TestFunctions/Wayburn.py b/MDAF/TestFunctions/Wayburn.py index 66bc798..9c3368b 100644 --- a/MDAF/TestFunctions/Wayburn.py +++ b/MDAF/TestFunctions/Wayburn.py @@ -10,6 +10,7 @@ def main(args): #_# upper: 100 #_# lower: -100 #_# minimum: [-2.903534,-2.903534] + #_# opti: 0 #_# cm_angle: array([[ 16.51016476], [ 2.57287474], [ 17.61177277], [ 2.41471473], [142.5140382 ], [ 28.5868278 ], [ 0.26952628], [ 0.39099627], [ 0. ], [ 0.369 ]]) #_# cm_conv: array([[0.25 ], [0.09615385], [0.76923077], [0.23076923], [0. ], [0.064 ]]) diff --git a/MDAF/TestFunctions/Zettle.py b/MDAF/TestFunctions/Zettle.py index 3fbb928..3dac4b1 100644 --- a/MDAF/TestFunctions/Zettle.py +++ b/MDAF/TestFunctions/Zettle.py @@ -8,6 +8,7 @@ def main(args): #_# upper: 10 #_# lower: -5 #_# minimum: [-0.0299,0] + #_# opti: 0 #_# cm_angle: array([[1.25068565e+00], [2.50004511e-01], [1.32505725e+00], [2.11320066e-01], [1.60855629e+02], [2.20138358e+01], [1.35843657e-01], [1.42306220e-01], [0.00000000e+00], [3.00000000e-01]]) #_# cm_conv: array([[0.23076923], [0. ], [1. ], [0. ], [0. ], [0.115 ]]) diff --git a/MDAF/TestFunctions/Zirilli.py b/MDAF/TestFunctions/Zirilli.py index d2c53c2..6d51a06 100644 --- a/MDAF/TestFunctions/Zirilli.py +++ b/MDAF/TestFunctions/Zirilli.py @@ -8,6 +8,7 @@ def main(args): #_# upper: 10 #_# lower: -10 #_# minimum: [-1.0465,0] + #_# opti: -0.3523 #_# cm_angle: array([[ 1.6569554 ], [ 0.28633476], [ 1.79903684], [ 0.27796405], [143.11418389], [ 27.7392393 ], [ 0.29862645], [ 0.31215793], [ 0. ], [ 0.324 ]]) #_# cm_conv: array([[0.26923077], [0.15384615], [0.76923077], [0.23076923], [0. ], [0.09 ]]) diff --git a/MDAF/TestFunctions/__pycache__/Brown.cpython-39.pyc b/MDAF/TestFunctions/__pycache__/Brown.cpython-39.pyc index 84c165355810220e7ccca47b85b244b5333ef762..fbc49879852b81565b4ee9c95a44dd036bb0fea9 100644 GIT binary patch delta 53 zcmdm`e_Wq8k(ZZ?0SJUyY!hEhWW5m-~RXG?r7y%N<3wr`Ad^8k(ZZ?0SFXXY!ewpCi2Z@Oq#f=iCZ~dSs}lmB-2X4V6zrutT3a(uP(`HM?XkkYA$x}rVSQR-KIT!&GOA9st diff --git a/MDAF/TestFunctions/__pycache__/Bukin4.cpython-39.pyc b/MDAF/TestFunctions/__pycache__/Bukin4.cpython-39.pyc index fa25899dfa31f9cd4a13846516cda59100c10f93..bf63f294524808a67cbd15dc04d91baa6dfc335e 100644 GIT binary patch delta 56 zcmcbldta9~k(ZZ?0SL5NY!jbM(k>) delta 44 ycmeCvYt-XQ%`xp6ZsA?nohjfxH+EDMwC%*@*J^TRs{}54n_d_A_~|5 diff --git a/MDAF/__pycache__/MDAF.cpython-39.pyc b/MDAF/__pycache__/MDAF.cpython-39.pyc index 09086b1e772895e2856dd579257748324d871c4f..aea20da6a41107852bac513d87be4f6e0992eade 100644 GIT binary patch delta 1213 zcmYjQOK%%h6uxIXcI@%nc{omN$FIimBafyfi;%W1tx6Y25lRqfXocLKiR;9%-SMP? zXslGS5nVJ=;Vuw@MN(8y)h?*KX)B~cQ6x4E>Vl17$EE_o4?u!)uG^yCtNYD&&iU@W z=ggUT`p%tqb49mXVKjbq9w|1CG4`7>8T!!QX6SE8 z>I4R`zs=MP9>hT$qIedAI82@#&f*A;k|&RcFpLpmlXw`%Fh*<&U%@1%h)v@G94GyZ zb`aBR(lyX8ml#f52X$7P#EdqJ46`3fi4ema=E;bc028z(zp&yIPH)TVA+#*9%v|Rx ztb{y%%GgQkgvk8gPe!l2ed&zUbTk#yW;#Nw=`^gSg7%iwbeS$Bk13(Dz=%70+}Y!< z9(OG;!?xOoZuD$}X*WfzZ^uqPhoSI0qroljwq+N9U2K?6OYDSWQyzSRHvHtA&%TXi>mgdUW7Z=*u@`lxs*#CE*9%ygT+1y&89 zPp~aYh@_@RIA0R_#PQEpUw-Wh{I?~9H5rkh$Y#BYWl1eaC0RyWFBxpr=~p%9j*Q+-`aMXP4~ z{7iJ%uX-+M8+y56l+V9c)Ju&n-;BN~>1+JQ=qWhLy<@?=0xmHnA7m{u$QB>CECXcO zAR*a70UynjY=;?(eyekOEGa>jSK>vu&iCVCnB{-OufjZkKk){9!}k(tIL`k}EW_vg zwd9ml|56mPk*tQl5@mf&pn7$!u4@ggY7|9H4gDs6ntXMzBLpJ^T}QoAGgheNMv5<{ zj=;mtc4`lx$d|@Hf^+U>0$VmUrHwu-;0f~*#%X9AY$JM2oYo~`eniQ z`2F+owFWYd}AQox)5Sk_IFf=#M*|%qA>u z1`A8&_4SQPks5KlTGfh`aFK3NfJo delta 1016 zcmYjPUuaWT7(d^=X`0;JB)4reMom(abjeNH+SRfb)8eSpJ&CeClvtU;?{=%JX+8Hw zq@2)63){m4<$Kv+52@R53}KU^urb#$m<%^$dmDX_!S*m;W$*Jl(SZlf@BF^s`F(%x z;od&|-(0O3k6VJ*qu1)qff*tG(!q<%%*JsXi&$cI5J&JO_D^^( zWBFa<8pye~1y*iAV-n3bgnRI@p2^+%7S3i84$~O#S>FCudjnKEiNMkQFrF4cX@CoI@T}E3 zqy;9@LYp};P&U6{@&x^UAVo*AUlQbI=uB=F25B=lO!sp&_=uk5N`~uDHoqq<3;eDP zI+j00pX6s@ivG-}3l3Dx5QIzzEOXF^Ko|;)7C4X!MPR~|H@AwzMFUE7ywD7Hxq^I^ zZfDalO7{yN8dE^q_5o@at8k0D#WEbGpNnt8$CNFN_wATVUW-naTKjM4yiaxer1Vy# z=X_k_VmVztpX>c})~Z@n|}6ToR2FTW4-bhoVX zceMGgt`=%u_WXveQ{M91a-n(7li$#(N@4nYT?P;R!L0?zO@PPiPtidld=OX+{S3*Pdn;RbTfd9=1rwL=Xkuq$M54Rq> zt1#(;OtH$xbniI!KQkn!2>FFp4f%uS9nBBX-?dwChpvxO>84hJsvtdL(&l4+%2u<`9;5k>xz)Z&t2 heW%jw%seB#g34Pgxrv#1j6jXWOd##DlP`&y005%17TEv* delta 75 zcmeyQ-KN8v$ji&c00evaRwu|$