Modifier and Type | Method and Description |
---|---|
GRBColumn |
GRBModel.getCol(GRBVar var)
Retrieve the list of constraints in which a variable participates, and
the associated coefficients.
|
Modifier and Type | Method and Description |
---|---|
GRBVar |
GRBModel.addVar(double lb,
double ub,
double obj,
char type,
GRBColumn col,
String name)
Add a variable to a model.
|
GRBVar[] |
GRBModel.addVars(double[] lb,
double[] ub,
double[] obj,
char[] type,
String[] names,
GRBColumn[] cols)
Add new decision variables to a model.
|
Constructor and Description |
---|
GRBColumn(GRBColumn col)
Copy an existing column.
|
Copyright © 2024. All rights reserved.