#include <OSDataStructures.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 varialbe indexes of all the quadratic terms. | |
| int * | varTwoIndexes |
| varTwoIndexes holds an integer array of the second varialbe indexes of all the quadratic terms. | |
| double * | coefficients |
| coefficients holds a double array all the quadratic term coefficients. | |
Definition at line 298 of file OSDataStructures.h.
| QuadraticTerms::QuadraticTerms | ( | ) |
| QuadraticTerms::~QuadraticTerms | ( | ) |
Definition at line 217 of file OSDataStructures.cpp.
References coefficients, rowIndexes, varOneIndexes, and varTwoIndexes.
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 306 of file OSDataStructures.h.
Referenced by LindoSolver::dataEchoCheck(), KnitroSolver::dataEchoCheck(), BonminSolver::dataEchoCheck(), OSInstance::getQuadraticRowIndexes(), OSInstance::getQuadraticTerms(), LindoSolver::processQuadraticTerms(), and ~QuadraticTerms().
varOneIndexes holds an integer array of the first varialbe indexes of all the quadratic terms.
Definition at line 311 of file OSDataStructures.h.
Referenced by LindoSolver::dataEchoCheck(), KnitroSolver::dataEchoCheck(), BonminSolver::dataEchoCheck(), OSInstance::getQuadraticTerms(), LindoSolver::processQuadraticTerms(), and ~QuadraticTerms().
varTwoIndexes holds an integer array of the second varialbe indexes of all the quadratic terms.
Definition at line 316 of file OSDataStructures.h.
Referenced by LindoSolver::dataEchoCheck(), KnitroSolver::dataEchoCheck(), BonminSolver::dataEchoCheck(), OSInstance::getQuadraticTerms(), LindoSolver::processQuadraticTerms(), and ~QuadraticTerms().
| double* QuadraticTerms::coefficients |
coefficients holds a double array all the quadratic term coefficients.
Definition at line 321 of file OSDataStructures.h.
Referenced by LindoSolver::dataEchoCheck(), KnitroSolver::dataEchoCheck(), BonminSolver::dataEchoCheck(), OSInstance::getQuadraticTerms(), LindoSolver::processQuadraticTerms(), and ~QuadraticTerms().
1.4.7