GRBModel.set()

Set the value(s) of a parameter or attribute. Use this method for parameters, for scalar model attributes, or for arrays of constraint or variable attributes.

void set ( GRB.DoubleParam param,
    double newval )

void set ( GRB.IntParam param,
    int newval )

void set ( GRB.StringParam param,
    String newval )

void set ( String param,
    String newval )

void set ( GRB.CharAttr attr,
    GRBVar[] vars,
    char[] newvals )

void set ( GRB.CharAttr attr,
    GRBVar[] vars,
    char[] newvals,
    int start,
    int len )

void set ( GRB.CharAttr attr,
    GRBVar[][] vars,
    char[][] newvals )

void set ( GRB.CharAttr attr,
    GRBVar[][][] vars,
    char[][][] newvals )

void set ( GRB.CharAttr attr,
    GRBConstr[] constrs,
    char[] newvals )

void set ( GRB.CharAttr attr,
    GRBConstr[] constrs,
    char[] newvals,
    int start,
    int len )

void set ( GRB.CharAttr attr,
    GRBConstr[][] constrs,
    char[][] newvals )

void set ( GRB.CharAttr attr,
    GRBConstr[][][] constrs,
    char[][][] newvals )

void set ( GRB.CharAttr attr,
    GRBQConstr[] qconstrs,
    char[] newvals )

void set ( GRB.CharAttr attr,
    GRBQConstr[] qconstrs,
    char[] newvals,
    int start,
    int len )

void set ( GRB.CharAttr attr,
    GRBQConstr[][] qconstrs,
    char[][] newvals )

void set ( GRB.CharAttr attr,
    GRBQConstr[][][] qconstrs,
    char[][][] newvals )

void set ( GRB.DoubleAttr attr,
    double newval )

void set ( GRB.DoubleAttr attr,
    GRBVar[] vars,
    double[] newvals )

void set ( GRB.DoubleAttr attr,
    GRBVar[] vars,
    double[] newvals,
    int start,
    int len )

void set ( GRB.DoubleAttr attr,
    GRBVar[][] vars,
    double[][] newvals )

void set ( GRB.DoubleAttr attr,
    GRBVar[][][] vars,
    double[][][] newvals )

void set ( GRB.DoubleAttr attr,
    GRBConstr[] constrs,
    double[] newvals )

void set ( GRB.DoubleAttr attr,
    GRBConstr[] constrs,
    double[] newvals,
    int start,
    int len )

void set ( GRB.DoubleAttr attr,
    GRBConstr[][] constrs,
    double[][] newvals )

void set ( GRB.DoubleAttr attr,
    GRBConstr[][][] constrs,
    double[][][] newvals )

void set ( GRB.DoubleAttr attr,
    GRBQConstr[] qconstrs,
    double[] newvals )

void set ( GRB.DoubleAttr attr,
    GRBQConstr[] qconstrs,
    double[] newvals,
    int start,
    int len )

void set ( GRB.DoubleAttr attr,
    GRBQConstr[][] qconstrs,
    double[][] newvals )

void set ( GRB.DoubleAttr attr,
    GRBQConstr[][][] qconstrs,
    double[][][] newvals )

void set ( GRB.IntAttr attr,
    int newval )

void set ( GRB.IntAttr attr,
    GRBVar[] vars,
    int[] newvals )

void set ( GRB.IntAttr attr,
    GRBVar[] vars,
    int[] newvals,
    int start,
    int len )

void set ( GRB.IntAttr attr,
    GRBVar[][] vars,
    int[][] newvals )

void set ( GRB.IntAttr attr,
    GRBVar[][][] vars,
    int[][][] newvals )

void set ( GRB.IntAttr attr,
    GRBConstr[] constrs,
    int[] newvals )

void set ( GRB.IntAttr attr,
    GRBConstr[] constrs,
    int[] newvals,
    int start,
    int len )

void set ( GRB.IntAttr attr,
    GRBConstr[][] constrs,
    int[][] newvals )

void set ( GRB.IntAttr attr,
    GRBConstr[][][] constrs,
    int[][][] newvals )

void set ( GRB.StringAttr attr,
    String newval )

void set ( GRB.StringAttr attr,
    GRBVar[] vars,
    String[] newvals )

void set ( GRB.StringAttr attr,
    GRBVar[] vars,
    String[] newvals,
    int start,
    int len )

void set ( GRB.StringAttr attr,
    GRBVar[][] vars,
    String[][] newvals )

void set ( GRB.StringAttr attr,
    GRBVar[][][] vars,
    String[][][] newvals )

void set ( GRB.StringAttr attr,
    GRBConstr[] constrs,
    String[] newvals )

void set ( GRB.StringAttr attr,
    GRBConstr[] constrs,
    String[] newvals,
    int start,
    int len )

void set ( GRB.StringAttr attr,
    GRBConstr[][] constrs,
    String[][] newvals )

void set ( GRB.StringAttr attr,
    GRBConstr[][][] constrs,
    String[][][] newvals )

void set ( GRB.StringAttr attr,
    GRBQConstr[] qconstrs,
    String[] newvals )

void set ( GRB.StringAttr attr,
    GRBQConstr[] qconstrs,
    String[] newvals,
    int start,
    int len )

void set ( GRB.StringAttr attr,
    GRBQConstr[][] qconstrs,
    String[][] newvals )

void set ( GRB.StringAttr attr,
    GRBQConstr[][][] qconstrs,
    String[][][] newvals )

void set ( GRB.StringAttr attr,
    GRBGenConstr[] genconstrs,
    String[] newvals )

void set ( GRB.StringAttr attr,
    GRBGenConstr[] genconstrs,
    String[] newvals,
    int start,
    int len )

void set ( GRB.StringAttr attr,
    GRBGenConstr[][] genconstrs,
    String[][] newvals )

void set ( GRB.StringAttr attr,
    GRBGenConstr[][][] genconstrs,
    String[][][] newvals )