バージョン13から、新しいツールgrbdiagnoseを使用してGurobiをセットアップする際の問題を診断できるようになりました。
このツールはOptimizerおよびRemote Servicesパッケージのいずれにも含まれています。
手順:
- クライアントまたはサーバーのいずれかでgrbdiagnoseを実行します。
- ツールは自動的にマシンがCompute Serverのクライアントかサーバーかを判別します。
grbdiagnose
Diagnostic tool started...
Log file: ./gurobi_diagnostics_20251003_195626.log has been generated in your current directory- また、
clientまたはserverのフラグを使用して、マシンがCompute Serverのクライアントかサーバーかを強制的に指定することもできます。
grbdiagnose --client
Diagnostic tool started...
Log file: ./gurobi_diagnostics_20251003_195750.log has been generated in your current directory
grbdiagnose --server
Diagnostic tool started...
Log file: ./gurobi_diagnostics_20251003_195803.log has been generated in your current directory
2. これにより、実行したディレクトリにログファイルが作成されます。ログファイルには、問題解決に役立つGurobiセットアップの診断情報が含まれます。
3. ユーザーはログファイルを確認して問題が簡単に特定できるかを確認できます。そうでない場合は、Gurobotがログファイルの内容を解釈できます。
4. Gurobiエキスパートスタッフも、ログファイルの内容を利用してより効率的に問題解決を支援できます。
付記:
-
helpフラグを使用すると、ツールに関する追加情報を見ることができます。grbdiagnose --help Usage: grbdiagnose --help Display usage grbdiagnose [flags] Diagnose and generate a log file of the findings Flags can be set using --flag=value or the short form -f=value if defined. A boolean flag can be enabled using --flag or the short form -f if defined. Flags: --client Force the diagnostic tool to assume the machine is the client --help Display usage --logdirectory Sets the directory where the log file will be saved --server Force the diagnostic tool to assume the machine is the server --version Display version information