Consistent way to suppress solver output

The solution I ended up with was:
redirect_stdout((()->optimize!(model)),open("/dev/null", "w"))

4 Likes