Hide navigation sidebar
Hide table of contents sidebar
Back to top
Toggle table of contents sidebar

# Enums

## Attribute Enums

These `enums` are used to get or set Gurobi attributes. The complete list of attributes can be found in the Attributes section.

enum GRB_CharAttr

  This enum is used to get or set char-valued attributes (through `GRBModel::get` or `GRBModel::set`). Please refer to the Attributes section to see a list of all attributes and their purpose.

enum GRB_DoubleAttr

  This enum is used to get or set double-valued attributes (through `GRBModel::get` or `GRBModel::set`). Please refer to the Attributes section to see a list of all attributes and their purpose.

enum GRB_IntAttr

  This enum is used to get or set int-valued attributes (through `GRBModel::get` or `GRBModel::set`). Please refer to the Attributes section to see a list of all attributes and their purpose.

enum GRB_StringAttr

  This enum is used to get or set string-valued attributes (through `GRBModel::get` or `GRBModel::set`). Please refer to the Attributes section to see a list of all attributes and their purpose.

## Parameter Enums

These `enums` are used to get or set Gurobi parameters. The complete list of parameters can be found in the Parameters section.

enum GRB_DoubleParam

  This enum is used to get or set double-valued parameters (through `GRBModel::get`, `GRBModel::set`. `GRBEnv::get`, or `GRBEnv::set`). Please refer to the Parameters section to see a list of all parameters and their purpose.

enum GRB_IntParam

  This enum is used to get or set int-valued parameters (through `GRBModel::get`, `GRBModel::set`. `GRBEnv::get`, or `GRBEnv::set`). Please refer to the Parameters section to see a list of all parameters and their purpose.

enum GRB_StringParam

  This enum is used to get or set string-valued parameters (through `GRBModel::get`, `GRBModel::set`, `GRBEnv::get`, or `GRBEnv::set`). Please refer to the Parameters section to see a list of all parameters and their purpose.

Help and Feedback

Press `/` or click to search this documentation | Gurobi website | Gurobi community forum
Go to other Gurobi documentation | Gurobi download | Contact support