Query the value(s) of a parameter or attribute. Use this method for parameters, for scalar model attributes, and for arrays of constraint or variable attributes.
| double | Get ( | GRB.DoubleParam | param ) |
Query the value of a double-valued parameter.
Arguments:
param: The parameter being queried.
Return value:
The current value of the requested parameter.
| int | Get ( | GRB.IntParam | param ) |
Query the value of an int-valued parameter.
Arguments:
param: The parameter being queried.
Return value:
The current value of the requested parameter.
| string | Get ( | GRB.StringParam | param ) |
Query the value of a string-valued parameter.
Arguments:
param: The parameter being queried.
Return value:
The current value of the requested parameter.
| char[] | Get ( | GRB.CharAttr | attr, |
| GRBVar[] | vars ) |
Arguments:
attr: The attribute being queried.
vars: The variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| char[] | Get ( | GRB.CharAttr | attr, |
| GRBVar[] | vars, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
vars: A one-dimensional array of variables whose attribute values are being queried.
start: The index of the first variable of interest in the list.
len: The number of variables.
Return value:
The current values of the requested attribute for each input variable.
| char[,] | Get ( | GRB.CharAttr | attr, |
| GRBVar[,] | vars ) |
Arguments:
attr: The attribute being queried.
vars: A two-dimensional array of variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| char[,,] | Get ( | GRB.CharAttr | attr, |
| GRBVar[,,] | vars ) |
Arguments:
attr: The attribute being queried.
vars: A three-dimensional array of variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| char[] | Get ( | GRB.CharAttr | attr, |
| GRBConstr[] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: The constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| char[] | Get ( | GRB.CharAttr | attr, |
| GRBConstr[] | constrs, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
constrs: A one-dimensional array of constraints whose attribute values are being queried.
start: The index of the first constraint of interest in the list.
len: The number of constraints.
Return value:
The current values of the requested attribute for each input constraint.
| char[,] | Get ( | GRB.CharAttr | attr, |
| GRBConstr[,] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: A two-dimensional array of constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| char[,,] | Get ( | GRB.CharAttr | attr, |
| GRBConstr[,,] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: A three-dimensional array of constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| char[] | Get ( | GRB.CharAttr | attr, |
| GRBQConstr[] | qconstrs ) |
Arguments:
attr: The attribute being queried.
qconstrs: The quadratic constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input quadratic constraint.
| char[] | Get ( | GRB.CharAttr | attr, |
| GRBQConstr[] | qconstrs, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
qconstrs: A one-dimensional array of quadratic constraints whose attribute values are being queried.
start: The index of the first quadratic constraint of interest in the list.
len: The number of quadratic constraints.
Return value:
The current values of the requested attribute for each input quadratic constraint.
| char[,] | Get ( | GRB.CharAttr | attr, |
| GRBQConstr[,] | qconstrs ) |
Arguments:
attr: The attribute being queried.
qconstrs: A two-dimensional array of quadratic constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input quadratic constraint.
| char[,,] | Get ( | GRB.CharAttr | attr, |
| GRBQConstr[,,] | qconstrs ) |
Arguments:
attr: The attribute being queried.
qconstrs: A three-dimensional array of quadratic constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input quadratic constraint.
| double | Get ( | GRB.DoubleAttr | attr ) |
Query the value of a double-valued model attribute.
Arguments:
attr: The attribute being queried.
Return value:
The current value of the requested attribute.
| double[] | Get ( | GRB.DoubleAttr | attr, |
| GRBVar[] | vars ) |
Arguments:
attr: The attribute being queried.
vars: The variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| double[] | Get ( | GRB.DoubleAttr | attr, |
| GRBVar[] | vars, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
vars: A one-dimensional array of variables whose attribute values are being queried.
start: The index of the first variable of interest in the list.
len: The number of variables.
Return value:
The current values of the requested attribute for each input variable.
| double[,] | Get ( | GRB.DoubleAttr | attr, |
| GRBVar[,] | vars ) |
Arguments:
attr: The attribute being queried.
vars: A two-dimensional array of variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| double[,,] | Get ( | GRB.DoubleAttr | attr, |
| GRBVar[,,] | vars ) |
Arguments:
attr: The attribute being queried.
vars: A three-dimensional array of variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| double[] | Get ( | GRB.DoubleAttr | attr, |
| GRBConstr[] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: The constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| double[] | Get ( | GRB.DoubleAttr | attr, |
| GRBConstr[] | constrs, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
constrs: A one-dimensional array of constraints whose attribute values are being queried.
start: The first constraint of interest in the list.
len: The number of constraints.
Return value:
The current values of the requested attribute for each input constraint.
| double[,] | Get ( | GRB.DoubleAttr | attr, |
| GRBConstr[,] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: A two-dimensional array of constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| double[,,] | Get ( | GRB.DoubleAttr | attr, |
| GRBConstr[,,] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: A three-dimensional array of constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| double[] | Get ( | GRB.DoubleAttr | attr, |
| GRBQConstr[] | qconstrs ) |
Arguments:
attr: The attribute being queried.
qconstrs: The quadratic constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input quadratic constraint.
| double[] | Get ( | GRB.DoubleAttr | attr, |
| GRBQConstr[] | qconstrs, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
qconstrs: A one-dimensional array of quadratic constraints whose attribute values are being queried.
start: The first quadratic constraint of interest in the list.
len: The number of quadratic constraints.
Return value:
The current values of the requested attribute for each input quadratic constraint.
| double[,] | Get ( | GRB.DoubleAttr | attr, |
| GRBQConstr[,] | qconstrs ) |
Arguments:
attr: The attribute being queried.
qconstrs: A two-dimensional array of quadratic constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input quadratic constraint.
| double[,,] | Get ( | GRB.DoubleAttr | attr, |
| GRBQConstr[,,] | qconstrs ) |
Arguments:
attr: The attribute being queried.
qconstrs: A three-dimensional array of quadratic constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input quadratic constraint.
| int | Get ( | GRB.IntAttr | attr ) |
Query the value of an int-valued model attribute.
Arguments:
attr: The attribute being queried.
Return value:
The current value of the requested attribute.
| int[] | Get ( | GRB.IntAttr | attr, |
| GRBVar[] | vars ) |
Arguments:
attr: The attribute being queried.
vars: The variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| int[] | Get ( | GRB.IntAttr | attr, |
| GRBVar[] | vars, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
vars: A one-dimensional array of variables whose attribute values are being queried.
start: The index of the first variable of interest in the list.
len: The number of variables.
Return value:
The current values of the requested attribute for each input variable.
| int[,] | Get ( | GRB.IntAttr | attr, |
| GRBVar[,] | vars ) |
Arguments:
attr: The attribute being queried.
vars: A two-dimensional array of variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| int[,,] | Get ( | GRB.IntAttr | attr, |
| GRBVar[,,] | vars ) |
Arguments:
attr: The attribute being queried.
vars: A three-dimensional array of variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| int[] | Get ( | GRB.IntAttr | attr, |
| GRBConstr[] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: The constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| int[] | Get ( | GRB.IntAttr | attr, |
| GRBConstr[] | constrs, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
constrs: A one-dimensional array of constraints whose attribute values are being queried.
start: The index of the first constraint of interest in the list.
len: The number of constraints.
Return value:
The current values of the requested attribute for each input constraint.
| int[,] | Get ( | GRB.IntAttr | attr, |
| GRBConstr[,] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: A two-dimensional array of constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| int[,,] | Get ( | GRB.IntAttr | attr, |
| GRBConstr[,,] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: A three-dimensional array of constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| string | Get ( | GRB.StringAttr | attr ) |
Query the value of a string-valued model attribute.
Arguments:
attr: The attribute being queried.
Return value:
The current value of the requested attribute.
| string[] | Get ( | GRB.StringAttr | attr, |
| GRBVar[] | vars ) |
Arguments:
attr: The attribute being queried.
vars: The variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| string[] | Get ( | GRB.StringAttr | attr, |
| GRBVar[] | vars, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
vars: A one-dimensional array of variables whose attribute values are being queried.
start: The index of the first variable of interest in the list.
len: The number of variables.
Return value:
The current values of the requested attribute for each input variable.
| string[,] | Get ( | GRB.StringAttr | attr, |
| GRBVar[,] | vars ) |
Arguments:
attr: The attribute being queried.
vars: A two-dimensional array of variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| string[,,] | Get ( | GRB.StringAttr | attr, |
| GRBVar[,,] | vars ) |
Arguments:
attr: The attribute being queried.
vars: A three-dimensional array of variables whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input variable.
| string[] | Get ( | GRB.StringAttr | attr, |
| GRBConstr[] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: The constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| string[] | Get ( | GRB.StringAttr | attr, |
| GRBConstr[] | constrs, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
constrs: A one-dimensional array of constraints whose attribute values are being queried.
start: The index of the first constraint of interest in the list.
len: The number of constraints.
Return value:
The current values of the requested attribute for each input constraint.
| string[,] | Get ( | GRB.StringAttr | attr, |
| GRBConstr[,] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: A two-dimensional array of constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| string[,,] | Get ( | GRB.StringAttr | attr, |
| GRBConstr[,,] | constrs ) |
Arguments:
attr: The attribute being queried.
constrs: A three-dimensional array of constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input constraint.
| string[] | Get ( | GRB.StringAttr | attr, |
| GRBQConstr[] | qconstrs ) |
Arguments:
attr: The attribute being queried.
qconstrs: The quadratic constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input quadratic constraint.
| string[] | Get ( | GRB.StringAttr | attr, |
| GRBQConstr[] | qconstrs, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
qconstrs: A one-dimensional array of quadratic constraints whose attribute values are being queried.
start: The index of the first quadratic constraint of interest in the list.
len: The number of quadratic constraints.
Return value:
The current values of the requested attribute for each input quadratic constraint.
| string[,] | Get ( | GRB.StringAttr | attr, |
| GRBQConstr[,] | qconstrs ) |
Arguments:
attr: The attribute being queried.
qconstrs: A two-dimensional array of quadratic constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input quadratic constraint.
| string[,,] | Get ( | GRB.StringAttr | attr, |
| GRBQConstr[,,] | qconstrs ) |
Arguments:
attr: The attribute being queried.
qconstrs: A three-dimensional array of quadratic constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input quadratic constraint.