diff --git a/MDAF/SampleAlgorithms/SimmulatedAnnealing.py b/MDAF/SampleAlgorithms/SimmulatedAnnealing.py index 2b21c8a..9361eaa 100644 --- a/MDAF/SampleAlgorithms/SimmulatedAnnealing.py +++ b/MDAF/SampleAlgorithms/SimmulatedAnnealing.py @@ -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) diff --git a/MDAF/SampleAlgorithms/__pycache__/SimmulatedAnnealing.cpython-39.pyc b/MDAF/SampleAlgorithms/__pycache__/SimmulatedAnnealing.cpython-39.pyc index 3df95fd..8cf3f13 100644 Binary files a/MDAF/SampleAlgorithms/__pycache__/SimmulatedAnnealing.cpython-39.pyc and b/MDAF/SampleAlgorithms/__pycache__/SimmulatedAnnealing.cpython-39.pyc differ diff --git a/MDAF/__pycache__/MDAF.cpython-39.pyc b/MDAF/__pycache__/MDAF.cpython-39.pyc index caa1454..09086b1 100644 Binary files a/MDAF/__pycache__/MDAF.cpython-39.pyc and b/MDAF/__pycache__/MDAF.cpython-39.pyc differ