Skip to content

Commit

Permalink
Code Cleanup for solve_Ising.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tylertking committed May 31, 2023
1 parent 9681c41 commit ab21d10
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cim_optimizer/solve_Ising.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,7 @@ def solve(self):
self.ahc_noext_eps = np.random.choice(np.array([0.0333, 0.1, 0.333, 1, 3, 10]))
cached_J = self.problem.J
self.problem.J = rand_scaling * self.problem.J
print("bruh1")
test_batch = self.CIM_AHC_GPU()
print("bruh2")
if np.amin(test_batch[3])/rand_scaling < best_energy:
best_rand_scaling = rand_scaling
best_ahc_noext_eps = self.ahc_noext_eps
Expand Down

0 comments on commit ab21d10

Please sign in to comment.