Try our new documentation site (beta).
Accessing Job Parameters
The Gurobi Optimizer provides a number of parameters that can be modified by the user. The params command allows you to inspect the values of these parameters in a Compute Server job:
> grbcluster --server=server1 --password=pass params e7022667 TimeLimit= 60
The argument to this command is the JOBID for the job of interest (which can be retrieved using the jobs command), you can use the full ID or the short ID. If you don't specify a JOBID, the command with display the changed parameters of the last job submitted.
The following example illustrates how the grbcluster params command can be used in practice. The first step is to start an optimization job on a Compute Server cluster with one modified parameter:
> gurobi_cl --server=server1 --password=pass TimeLimit=120 glass4.mps
Once the job starts, you can use the grbcluster jobs command to retrieve the associated JOBID (or you can read it off from the output of gurobi_cl). For jobs that have been already processed, you would run the recent command instead.
> grbcluster --server=server1 --password=pass jobs JOBID ADDRESS STATUS #Q STIME PRIO e88a496f server1 RUNNING 2017-10-06 23:09:34 0
Once you obtain the JOBID, the params command shows the modified parameter settings for the job:
> grbcluster --server=server1 --password=pass params e88a496f TimeLimit= 120
The full list of Gurobi parameters can be found in the Parameters section of the Gurobi Reference Manual.