mirror of
https://github.com/Brandon-Rozek/matmod.git
synced 2024-11-20 21:56:29 -05:00
Print model when it shows VSP
This commit is contained in:
parent
c0ef204e48
commit
68788ecff6
1 changed files with 3 additions and 2 deletions
|
@ -304,6 +304,7 @@ if __name__ == "__main__":
|
||||||
solutions: List[Model] = parse_matrices(SourceFile(sys.stdin))
|
solutions: List[Model] = parse_matrices(SourceFile(sys.stdin))
|
||||||
print(f"Parsed {len(solutions)} matrices")
|
print(f"Parsed {len(solutions)} matrices")
|
||||||
for i, (model, interpretation) in enumerate(solutions):
|
for i, (model, interpretation) in enumerate(solutions):
|
||||||
if args['verbose']:
|
vsp_result = has_vsp(model, interpretation)
|
||||||
|
print(vsp_result)
|
||||||
|
if args['verbose'] or vsp_result.has_vsp:
|
||||||
print(model)
|
print(model)
|
||||||
print(has_vsp(model, interpretation))
|
|
||||||
|
|
Loading…
Reference in a new issue