To Reproduce
Build a version of the above and solve any model with model.verbose = 0
Expected behavior
No logs should be emitted.
Logs of the following form are emitted
Cbc0038I Initial state - 0 integers unsatisfied sum - 0
Cbc0038I Solution found of 30
Cbc0038I Before mini branch and bound, 47 integers at bound fixed and 0 continuous
Cbc0038I Mini branch and bound did not improve solution (0.00 seconds)
Cbc0038I After 0.00 seconds - Feasibility pump exiting with objective of 30 - took 0.00 seconds
Cbc0012I Integer solution of 30 found by feasibility pump after 0 iterations and 0 nodes (0.00 seconds)
Cbc0001I Search completed - best objective 30, took 0 iterations and 0 nodes (0.00 seconds)
Cbc0035I Maximum depth 0, 0 variables fixed on reduced cost
Desktop (please complete the following information):
Operating System, version: Macos ventura 13.6 (M1), also occurs in google dataflow harness runners (unknown debian-based linux)
Python version: 3.8
Python-MIP version (we recommend you to test with the latest version): 1.15.0
Additional context
I can confirm that the same code does not emit logs when I use a version of cbc like
Describe the bug 0.15.0 with a new custom-built version of cbc still logs to stdout when verbose=0.
below are the build instructions:
To Reproduce Build a version of the above and solve any model with
model.verbose = 0
Expected behavior No logs should be emitted.
Logs of the following form are emitted
Desktop (please complete the following information):
Additional context I can confirm that the same code does not emit logs when I use a version of cbc like