OS  2.10.1
Public Member Functions | Public Attributes | List of all members
QuadraticTerms Class Reference

a data structure for holding quadratic terms More...

#include <OSGeneral.h>

Public Member Functions

 QuadraticTerms ()
 Default constructor. More...
 
 ~QuadraticTerms ()
 

Public Attributes

int * rowIndexes
 rowIndexes holds an integer array of row indexes of all the quadratic terms. More...
 
int * varOneIndexes
 varOneIndexes holds an integer array of the first variable indexes of all the quadratic terms. More...
 
int * varTwoIndexes
 varTwoIndexes holds an integer array of the second variable indexes of all the quadratic terms. More...
 
double * coefficients
 coefficients holds a double array all the quadratic term coefficients. More...
 

Detailed Description

a data structure for holding quadratic terms

Definition at line 431 of file OSGeneral.h.

Constructor & Destructor Documentation

◆ QuadraticTerms()

QuadraticTerms::QuadraticTerms ( )

Default constructor.

◆ ~QuadraticTerms()

QuadraticTerms::~QuadraticTerms ( )

Member Data Documentation

◆ rowIndexes

int* QuadraticTerms::rowIndexes

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 440 of file OSGeneral.h.

◆ varOneIndexes

int* QuadraticTerms::varOneIndexes

varOneIndexes holds an integer array of the first variable indexes of all the quadratic terms.

Definition at line 445 of file OSGeneral.h.

◆ varTwoIndexes

int* QuadraticTerms::varTwoIndexes

varTwoIndexes holds an integer array of the second variable indexes of all the quadratic terms.

Definition at line 450 of file OSGeneral.h.

◆ coefficients

double* QuadraticTerms::coefficients

coefficients holds a double array all the quadratic term coefficients.

Definition at line 455 of file OSGeneral.h.


The documentation for this class was generated from the following file: