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 58780a22
info  : Found matching job is 58780a22-8acc-499e-b73c-da6f2df59669
ComputeServer=server1
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               USER  PRIO API
7c51bf74 server1 RUNNING     2019-04-07 14:50:56 jones 0    gurobi_cl

Once you obtain the JOBID, the params command shows the modified parameter settings for the job:

> grbcluster --server=server1 --password=pass params 7c51bf74
info  : Found matching job is 7c51bf74-ba02-4239-875e-c8ea388f9427
ComputeServer=server1
TimeLimit=120

The full list of Gurobi parameters can be found in the Parameters section of the Gurobi Reference Manual.

Try Gurobi for Free

Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.

Evaluation License
Get a free, full-featured license of the Gurobi Optimizer to experience the performance, support, benchmarking and tuning services we provide as part of our product offering.
Academic License
Gurobi supports the teaching and use of optimization within academic institutions. We offer free, full-featured copies of Gurobi for use in class, and for research.
Cloud Trial

Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.

Search