mirror of
https://github.com/ejeanboris/MDAF.git
synced 2025-04-30 12:32:25 +00:00
Added iteration limit to annealing algorithm
This commit is contained in:
@ -45,7 +45,7 @@ def main(func, S, args):
|
|||||||
Best[:] = cp.deepcopy(S)
|
Best[:] = cp.deepcopy(S)
|
||||||
sigma = 0.1
|
sigma = 0.1
|
||||||
route.append(Best[:])
|
route.append(Best[:])
|
||||||
while True:
|
for iterationstep in range(100000):
|
||||||
print('\n\n\n')
|
print('\n\n\n')
|
||||||
R = tweak(cp.deepcopy(S),p,sigma,high, low)
|
R = tweak(cp.deepcopy(S),p,sigma,high, low)
|
||||||
#print(R)
|
#print(R)
|
||||||
|
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user