Quieting Gurobi output

5,213 views
Skip to first unread message

Kevin Hunter

unread,
Jan 19, 2011, 11:17:35 AM1/19/11
to gur...@googlegroups.com
Via the Python Gurobi API, is there a way to quiet the optimizer?  I'd like to run grbmodel.optimize() and have no output to the terminal screen.

Kevin Hunter

unread,
Jan 19, 2011, 12:20:05 PM1/19/11
to gur...@googlegroups.com
Gah, sorry for the noise.  I'm not used to how this documentation is laid out.  I finally found how to do it:

-----
grbmodel = Model( name='Test' )
grbmodel.setParam( 'OutputFlag', False )
...
grbmodel.optimize()
-----

ie.furk...@gmail.com

unread,
Jan 22, 2019, 4:32:08 AM1/22/19
to Gurobi Optimization
Thanks for the post!
Reply all
Reply to author
Forward
0 new messages