diff --git a/python-pyomo-knapsack/main.py b/python-pyomo-knapsack/main.py index 124bf5b..0bc1210 100644 --- a/python-pyomo-knapsack/main.py +++ b/python-pyomo-knapsack/main.py @@ -85,7 +85,7 @@ def solve(input: nextmv.Input, options: nextmv.Options) -> nextmv.Output: model.objective = pyo.Objective(expr=values, sense=pyo.maximize) # Solves the problem. - results = solver.solve(model, tee=True) + results = solver.solve(model, tee=False) # Set tee to True for Pyomo logging. # Convert to solution format. value = pyo.value(model.objective, exception=False) diff --git a/python-pyomo-shiftassignment/main.py b/python-pyomo-shiftassignment/main.py index 9b4db76..f07a376 100644 --- a/python-pyomo-shiftassignment/main.py +++ b/python-pyomo-shiftassignment/main.py @@ -147,7 +147,7 @@ def solve(input: nextmv.Input, options: nextmv.Options) -> nextmv.Output: solver.options[SUPPORTED_PROVIDER_DURATIONS[provider]] = options.duration # Solve the model. - results = solver.solve(model, tee=True) + results = solver.solve(model, tee=False) # Set tee to True for Pyomo logging. # Convert to solution format. schedule = {} diff --git a/python-pyomo-shiftplanning/main.py b/python-pyomo-shiftplanning/main.py index 5aaabc1..800ef92 100644 --- a/python-pyomo-shiftplanning/main.py +++ b/python-pyomo-shiftplanning/main.py @@ -135,7 +135,7 @@ def solve(input: nextmv.Input, options: nextmv.Options) -> nextmv.Output: solver.options[SUPPORTED_PROVIDER_DURATIONS[provider]] = options.duration # Solve the model. - results = solver.solve(model, tee=True) + results = solver.solve(model, tee=False) # Set tee to True for Pyomo logging. # Convert to solution format. val = pyo.value(model.objective, exception=False)