Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
GRBQuadExpr()
Quadratic expression constructor. Create an empty quadratic expression, or copy an existing expression.
GRBQuadExpr | GRBQuadExpr ( ) |
Create an empty quadratic expression.
Return value:
An empty expression object.
GRBQuadExpr | GRBQuadExpr ( | double | a ) |
Create a constant quadratic expression.
Return value:
A quadratic expression object.
GRBQuadExpr | GRBQuadExpr ( | GRBLinExpr | orig ) |
Initialize a quadratic expression from an existing linear expression.
Arguments:
orig: Existing linear expression to copy.
Return value:
Quadratic expression object whose initial value is taken from the input linear expression.
GRBQuadExpr | GRBQuadExpr ( | GRBQuadExpr | orig ) |
Copy an existing quadratic expression.
Arguments:
orig: Existing expression to copy.
Return value:
A copy of the input expression object.