Demote warning to debug message
This commit is contained in:
parent
1db91e0ccd
commit
def4d19980
1 changed files with 1 additions and 1 deletions
|
@ -837,7 +837,7 @@ def on_model(model):
|
|||
solve_result = self.control.solve(**solve_kwargs)
|
||||
|
||||
if solve_result.satisfiable and self._model_has_cycles(models):
|
||||
warnings.warn(f"cycles detected, falling back to slower algorithm [specs={specs}]")
|
||||
tty.debug(f"cycles detected, falling back to slower algorithm [specs={specs}]")
|
||||
self.control.load(os.path.join(parent_dir, "cycle_detection.lp"))
|
||||
self.control.ground([("no_cycle", [])])
|
||||
models.clear()
|
||||
|
|
Loading…
Reference in a new issue