amplify.client.GurobiClientParameters

class GurobiClientParameters

A parameter class of Gurobi client.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

Attributes

heuristics

The ratio of runtime devoted to heuristics.

logfile

The logfile name.

mip_focus

Strategy of optimization.

node_file_dir

The path to directory where node file will be located.

node_file_start

The max amount of memory (GB) used to store nodes.

prmfile

Parameter file name.

seed

The random seed to give to the optimizer.

threads

The number of threads to apply to parallel algorithms.

time_limit

Set the time limit in seconds.

tune_file

The path where to locate the output parameter file of tuning result.

tune_time_limit

Set the time limit of tuning in seconds.

property heuristics

The ratio of runtime devoted to heuristics.

Type:

double

property logfile

The logfile name.

Type:

str

property mip_focus

Strategy of optimization.

Type:

int

property node_file_dir

The path to directory where node file will be located.

Type:

str

property node_file_start
The max amount of memory (GB) used to store nodes.

If exceed, a file to store nodes will be made.

Type:

float

property prmfile

Parameter file name.

Type:

str

property seed

The random seed to give to the optimizer. If the value is out of the range that can be passed to the optimizer, a random value will be given as a seed.

Type:

int

property threads

The number of threads to apply to parallel algorithms. An integer value ranging between 0 (automatic setting) to NProc can be set.

Type:

int

property time_limit

Set the time limit in seconds.

Type:

float

property tune_file

The path where to locate the output parameter file of tuning result.

Type:

str

property tune_time_limit

Set the time limit of tuning in seconds.

Type:

float