Skip to content

Commit

Permalink
fix AR termination for feasibility specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Andriushchenko committed Nov 14, 2024
1 parent 31ec5d7 commit 0e80ce9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paynt/synthesizer/synthesizer_ar.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ def synthesize_one(self, family):
family = families.pop(-1)
self.verify_family(family)
self.update_optimum(family)
if not self.quotient.specification.has_optimality and self.best_assignment is not None:
break
# break
if family.analysis_result.can_improve is False:
self.explore(family)
Expand Down

0 comments on commit 0e80ce9

Please sign in to comment.