Skip to content

Commit

Permalink
Fix output disable
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed Aug 7, 2024
1 parent ecf35b3 commit 1c4cf3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpress/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def solve(input_data: dict[str, Any], duration: int) -> dict[str, Any]:
"""Solves the given problem and returns the solution."""

# Creates the problem.
xp.controls.outputlog = 0 # Turns off verbosity.
xp.setOutputEnabled(False) # Turns off verbosity.
problem = xp.problem()
problem.setControl("timelimit", duration)

Expand Down

0 comments on commit 1c4cf3d

Please sign in to comment.