Modifier and Type | Class and Description |
---|---|
class |
GRBLinExpr |
class |
GRBQuadExpr |
Modifier and Type | Method and Description |
---|---|
GRBExpr |
GRBModel.getObjective()
Retrieve the optimization objective.
|
Modifier and Type | Method and Description |
---|---|
void |
GRBModel.setObjective(GRBExpr expr)
Set the model objective.
|
void |
GRBModel.setObjective(GRBExpr expr,
int sense)
Set the model objective, and the objective sense (
GRB.MINIMIZE
for minimization, GRB.MAXIMIZE for maximization). |
Copyright © 2024. All rights reserved.