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
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.

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.