make the print problem optional in local dev

This commit is contained in:
Adrian Manteza
2022-03-22 20:31:17 +00:00
parent ee77d888b5
commit a61c7a82b9
2 changed files with 6 additions and 5 deletions

View File

@ -112,8 +112,9 @@ def solution_items(variables, solver_run):
return form_items
def print_problem_logs(problem):
print(problem);
def print_problem_variables(problem):
# Uncomment this as needed in local dev
# print(problem);
for v in problem.variables(): print(v.name, "=", v.varValue);
# probably a better place for this...