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.
| int[] | get ( | GRB.IntAttr | 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.
| int[] | get ( | GRB.IntAttr | 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.
| int[][] | get ( | GRB.IntAttr | 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.
| int[][][] | get ( | GRB.IntAttr | 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, |
| GRBGenConstr[] | genconstrs ) |
Arguments:
attr: The attribute being queried.
genconstrs: The general constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input general constraint.
| int[] | get ( | GRB.IntAttr | attr, |
| GRBGenConstr[] | genconstrs, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
genconstrs: A one-dimensional array of general constraints whose attribute values are being queried.
start: The index of the first general constraint of interest in the list.
len: The number of general constraints.
Return value:
The current values of the requested attribute for each input general constraint.
| int[][] | get ( | GRB.IntAttr | attr, |
| GRBGenConstr[][] | genconstrs ) |
Arguments:
attr: The attribute being queried.
genconstrs: A two-dimensional array of general constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input general constraint.
| int[][][] | get ( | GRB.IntAttr | attr, |
| GRBGenConstr[][][] | genconstrs ) |
Arguments:
attr: The attribute being queried.
genconstrs: A three-dimensional array of general constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input general 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.
| String[] | get ( | GRB.StringAttr | attr, |
| GRBGenConstr[] | genconstrs ) |
Arguments:
attr: The attribute being queried.
genconstrs: The general constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input general constraint.
| String[] | get ( | GRB.StringAttr | attr, |
| GRBGenConstr[] | genconstrs, | ||
| int | start, | ||
| int | len ) |
Arguments:
attr: The attribute being queried.
genconstrs: A one-dimensional array of general constraints whose attribute values are being queried.
start: The index of the first general constraint of interest in the list.
len: The number of general constraints.
Return value:
The current values of the requested attribute for each input general constraint.
| String[][] | get ( | GRB.StringAttr | attr, |
| GRBGenConstr[][] | genconstrs ) |
Arguments:
attr: The attribute being queried.
genconstrs: A two-dimensional array of general constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input general constraint.
| String[][][] | get ( | GRB.StringAttr | attr, |
| GRBGenConstr[][][] | genconstrs ) |
Arguments:
attr: The attribute being queried.
genconstrs: A three-dimensional array of general constraints whose attribute values are being queried.
Return value:
The current values of the requested attribute for each input general constraint.