Skip to main content

How to silence all the loggings?

Answered

Comments

2 comments

  • Elisabeth Rodríguez Heck
    Gurobi Staff Gurobi Staff

    Hi Junhong,

    To suppress all output, the parameters LogToConsole and OutputFlag have to be set before the environment is started. Please follow the instructions in How do I suppress all console output?.

    Best regards,

    Elisabeth

    0
  • Junhong Liu
    Gurobi-versary
    First Comment
    First Question

    Hi Elisabeth,

    Many thanks for your great help. It works as follows:

            m.setParam('LogToConsole', 0)
            m.setParam('OutputFlag', 0)
            m.setParam('NonConvex', 2)

    Best regards,

    Junhong

    0

Please sign in to leave a comment.