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

Configure parameters via OS environment variables

ユーザーの入力を待っています。

コメント

1件のコメント

  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Hi Timo,

    Is there a reason you cannot use something like this (assuming Python is used in your code):

    env = gp.Env(empty=True)

    logFile = os.getenv("GRB_LOGFILE", "gurobi.log")
    env.setParam("LogFile", logFile)
    ...
    env.start()

    We currently have no plans to extend the way users can set parameters.

    Cheers,
    Matthias

    0

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