Add new terms into a quadratic expression.
| void | AddTerms ( | double[] | coeffs, |
| GRBVar[] | vars ) |
Arguments:
coeffs: Coefficients for new terms.
vars: Variables for new terms.
| void | AddTerms ( | double[] | coeffs, |
| GRBVar[] | vars, | ||
| int | start, | ||
| int | len ) |
start and len
arguments allow you to specify which terms to add.
Arguments:
coeffs: Coefficients for new terms.
vars: Variables for new terms.
start: The first term in the list to add.
len: The number of terms to add.
| void | AddTerms ( | double[] | coeffs, |
| GRBVar[] | vars1, | ||
| GRBVar[] | vars2 ) |
Arguments:
coeffs: Coefficients for new quadratic terms.
vars1: First variables for new quadratic terms.
vars2: Second variables for new quadratic terms.
| void | AddTerms ( | double[] | coeffs, |
| GRBVar[] | vars1, | ||
| GRBVar[] | vars2, | ||
| int | start, | ||
| int | len ) |
start and len arguments
allow you to specify which terms to add.
Arguments:
coeffs: Coefficients for new quadratic terms.
vars1: First variables for new quadratic terms.
vars2: Second variables for new quadratic terms.
start: The first term in the list to add.
len: The number of terms to add.