QuadraticTerm Class Reference

The in-memory representation of the <qTerm> element. More...

#include <OSInstance.h>

List of all members.

Public Member Functions

 QuadraticTerm ()
 The QuadraticTerm class constructor.
 ~QuadraticTerm ()
 The QuadraticTerm class destructor.

Public Attributes

int idx
 idx is the index of the row in which the quadratic term appears
int idxOne
 idxOne is the index of the first variable in the quadratic term
int idxTwo
 idxTwo is the index of the second variable in the quadratic term
double coef
 coef is the coefficient of the quadratic term

Detailed Description

The in-memory representation of the <qTerm> element.

Remarks:
quadratic terms can be stored efficiently by storing the index of each variable, the coefficient of the quadratic term, and the row in which it appears

Definition at line 328 of file OSInstance.h.


Constructor & Destructor Documentation

QuadraticTerm::QuadraticTerm (  ) 

The QuadraticTerm class constructor.

QuadraticTerm::~QuadraticTerm (  ) 

The QuadraticTerm class destructor.


Member Data Documentation

idx is the index of the row in which the quadratic term appears

Definition at line 340 of file OSInstance.h.

idxOne is the index of the first variable in the quadratic term

Definition at line 345 of file OSInstance.h.

idxTwo is the index of the second variable in the quadratic term

Definition at line 350 of file OSInstance.h.

coef is the coefficient of the quadratic term

Definition at line 353 of file OSInstance.h.


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

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1