メインコンテンツへスキップ

How to silence all the loggings?

回答済み

コメント

2件のコメント

  • 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

サインインしてコメントを残してください。