Added iteration limit to annealing algorithm

This commit is contained in:
Remi Ehounou
2021-09-11 13:58:34 -04:00
parent 09d53ca9ed
commit 14190110b4
3 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ def main(func, S, args):
Best[:] = cp.deepcopy(S)
sigma = 0.1
route.append(Best[:])
while True:
for iterationstep in range(100000):
print('\n\n\n')
R = tweak(cp.deepcopy(S),p,sigma,high, low)
#print(R)

Binary file not shown.