| Modifier and Type | Method and Description |
|---|---|
GRBConstr |
GRBModel.addConstr(double lhs,
char sense,
GRBLinExpr rhsExpr,
String name) |
GRBConstr |
GRBModel.addConstr(double lhs,
char sense,
GRBVar rhsVar,
String name) |
GRBConstr |
GRBModel.addConstr(GRBLinExpr lhsExpr,
char sense,
double rhs,
String name) |
GRBConstr |
GRBModel.addConstr(GRBLinExpr lhsExpr,
char sense,
GRBLinExpr rhsExpr,
String name) |
GRBConstr |
GRBModel.addConstr(GRBLinExpr lhsExpr,
char sense,
GRBVar rhsVar,
String name) |
GRBConstr |
GRBModel.addConstr(GRBVar lhsVar,
char sense,
double rhs,
String name) |
GRBConstr |
GRBModel.addConstr(GRBVar lhsVar,
char sense,
GRBLinExpr rhsExpr,
String name) |
GRBConstr |
GRBModel.addConstr(GRBVar lhsVar,
char sense,
GRBVar rhsVar,
String name) |
GRBConstr[] |
GRBModel.addConstrs(GRBLinExpr[] lhsExprs,
char[] senses,
double[] rhss,
String[] names) |
GRBConstr[] |
GRBModel.addConstrs(GRBLinExpr[] lhsExprs,
char[] senses,
double[] rhss,
String[] names,
int start,
int len) |
GRBConstr[] |
GRBModel.addConstrs(int count) |
GRBConstr |
GRBModel.addRange(GRBLinExpr expr,
double lower,
double upper,
String name) |
GRBConstr[] |
GRBModel.addRanges(GRBLinExpr[] exprs,
double[] lower,
double[] upper,
String[] names) |
GRBConstr |
GRBColumn.getConstr(int i)
Retrieve the constraint object from a single term in the column.
|
GRBConstr |
GRBModel.getConstr(int i) |
GRBConstr |
GRBModel.getConstrByName(String name) |
GRBConstr[] |
GRBModel.getConstrs() |
| Modifier and Type | Method and Description |
|---|---|
void |
GRBColumn.addTerm(double coeff,
GRBConstr constr)
Add a single term into a column.
|
void |
GRBColumn.addTerms(double[] coeffs,
GRBConstr[] constrs)
Add a list of terms into a column.
|
void |
GRBColumn.addTerms(double[] coeffs,
GRBConstr[] constrs,
int start,
int len)
Add new terms into a column.
|
GRBVar |
GRBModel.addVar(double lb,
double ub,
double obj,
char type,
GRBConstr[] constrs,
double[] coeffs,
String name) |
void |
GRBModel.chgCoeff(GRBConstr constr,
GRBVar var,
double newval) |
void |
GRBModel.chgCoeffs(GRBConstr[] constrs,
GRBVar[] vars,
double[] newvals) |
double |
GRBModel.feasRelax(int relaxobjtype,
boolean minrelax,
GRBVar[] vars,
double[] lbpen,
double[] ubpen,
GRBConstr[] constrs,
double[] rhspen) |
char[] |
GRBModel.get(GRB.CharAttr attr,
GRBConstr[] constrs) |
char[][] |
GRBModel.get(GRB.CharAttr attr,
GRBConstr[][] constrs) |
char[][][] |
GRBModel.get(GRB.CharAttr attr,
GRBConstr[][][] constrs) |
char[] |
GRBModel.get(GRB.CharAttr attr,
GRBConstr[] constrs,
int start,
int len) |
double[] |
GRBModel.get(GRB.DoubleAttr attr,
GRBConstr[] constrs) |
double[][] |
GRBModel.get(GRB.DoubleAttr attr,
GRBConstr[][] constrs) |
double[][][] |
GRBModel.get(GRB.DoubleAttr attr,
GRBConstr[][][] constrs) |
double[] |
GRBModel.get(GRB.DoubleAttr attr,
GRBConstr[] constrs,
int start,
int len) |
int[] |
GRBModel.get(GRB.IntAttr attr,
GRBConstr[] constrs) |
int[][] |
GRBModel.get(GRB.IntAttr attr,
GRBConstr[][] constrs) |
int[][][] |
GRBModel.get(GRB.IntAttr attr,
GRBConstr[][][] constrs) |
int[] |
GRBModel.get(GRB.IntAttr attr,
GRBConstr[] constrs,
int start,
int len) |
String[] |
GRBModel.get(GRB.StringAttr attr,
GRBConstr[] constrs) |
String[][] |
GRBModel.get(GRB.StringAttr attr,
GRBConstr[][] constrs) |
String[][][] |
GRBModel.get(GRB.StringAttr attr,
GRBConstr[][][] constrs) |
String[] |
GRBModel.get(GRB.StringAttr attr,
GRBConstr[] constrs,
int start,
int len) |
double |
GRBModel.getCoeff(GRBConstr constr,
GRBVar var) |
GRBLinExpr |
GRBModel.getRow(GRBConstr constr) |
boolean |
GRBColumn.remove(GRBConstr constr)
Remove the term associated with constraint constr from the
column.
|
void |
GRBModel.remove(GRBConstr constr) |
boolean |
GRBConstr.sameAs(GRBConstr otherConstr)
Check whether two constraint objects refer to the same constraint.
|
void |
GRBModel.set(GRB.CharAttr attr,
GRBConstr[][][] constrs,
char[][][] newvals) |
void |
GRBModel.set(GRB.CharAttr attr,
GRBConstr[][] constrs,
char[][] newvals) |
void |
GRBModel.set(GRB.CharAttr attr,
GRBConstr[] constrs,
char[] newvals) |
void |
GRBModel.set(GRB.CharAttr attr,
GRBConstr[] constrs,
char[] newvals,
int start,
int len)
Deprecated.
|
void |
GRBModel.set(GRB.DoubleAttr attr,
GRBConstr[][][] constrs,
double[][][] newvals) |
void |
GRBModel.set(GRB.DoubleAttr attr,
GRBConstr[][] constrs,
double[][] newvals) |
void |
GRBModel.set(GRB.DoubleAttr attr,
GRBConstr[] constrs,
double[] newvals) |
void |
GRBModel.set(GRB.DoubleAttr attr,
GRBConstr[] constrs,
double[] newvals,
int start,
int len)
Deprecated.
|
void |
GRBModel.set(GRB.IntAttr attr,
GRBConstr[][][] constrs,
int[][][] newvals) |
void |
GRBModel.set(GRB.IntAttr attr,
GRBConstr[][] constrs,
int[][] newvals) |
void |
GRBModel.set(GRB.IntAttr attr,
GRBConstr[] constrs,
int[] newvals) |
void |
GRBModel.set(GRB.IntAttr attr,
GRBConstr[] constrs,
int[] newvals,
int start,
int len)
Deprecated.
|
void |
GRBModel.set(GRB.StringAttr attr,
GRBConstr[][][] constrs,
String[][][] newvals) |
void |
GRBModel.set(GRB.StringAttr attr,
GRBConstr[][] constrs,
String[][] newvals) |
void |
GRBModel.set(GRB.StringAttr attr,
GRBConstr[] constrs,
String[] newvals) |
void |
GRBModel.set(GRB.StringAttr attr,
GRBConstr[] constrs,
String[] newvals,
int start,
int len)
Deprecated.
|
Copyright © 2026 Gurobi Optimization, LLC. All rights reserved.