a data structure for holding quadratic terms More...
#include <OSGeneral.h>
Public Member Functions | |
QuadraticTerms () | |
Default constructor. | |
~QuadraticTerms () | |
Public Attributes | |
int * | rowIndexes |
rowIndexes holds an integer array of row indexes of all the quadratic terms. | |
int * | varOneIndexes |
varOneIndexes holds an integer array of the first variable indexes of all the quadratic terms. | |
int * | varTwoIndexes |
varTwoIndexes holds an integer array of the second variable indexes of all the quadratic terms. | |
double * | coefficients |
coefficients holds a double array all the quadratic term coefficients. |
a data structure for holding quadratic terms
Definition at line 380 of file OSGeneral.h.
QuadraticTerms::QuadraticTerms | ( | ) |
Default constructor.
Definition at line 340 of file OSGeneral.cpp.
QuadraticTerms::~QuadraticTerms | ( | ) |
Definition at line 348 of file OSGeneral.cpp.
rowIndexes holds an integer array of row indexes of all the quadratic terms.
A negative integer corresponds to an objective row, e.g. -1 for 1st objective and -2 for 2nd.
Definition at line 389 of file OSGeneral.h.
varOneIndexes holds an integer array of the first variable indexes of all the quadratic terms.
Definition at line 394 of file OSGeneral.h.
varTwoIndexes holds an integer array of the second variable indexes of all the quadratic terms.
Definition at line 399 of file OSGeneral.h.
double* QuadraticTerms::coefficients |
coefficients holds a double array all the quadratic term coefficients.
Definition at line 404 of file OSGeneral.h.