Unverified Commit 01109df1 by Zhiang Wang Committed by GitHub

Update SA.py

parent a1fe23d4
...@@ -1525,7 +1525,7 @@ class SimulatedAnnealing: ...@@ -1525,7 +1525,7 @@ class SimulatedAnnealing:
for i in range(len(random_macros)): for i in range(len(random_macros)):
self.design.objects[random_macros[i]].x = loc_map[random_macros[i]][0] self.design.objects[random_macros[i]].x = loc_map[random_macros[i]][0]
self.design.objects[random_macros[i]].y = loc_map[random_macros[i]][1] self.design.objects[random_macros[i]].y = loc_map[random_macros[i]][1]
return False return False
# update the macro in plc_client # update the macro in plc_client
for macro in random_macros: for macro in random_macros:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment