LinearConstraintCoefficients Class Reference

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

#include <OSInstance.h>

Collaboration diagram for LinearConstraintCoefficients:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

int numberOfValues
 numberOfValues is the number of nonzero elements stored in the <linearConstraintCoefficients> element
IntVectorstart
 a pointer to the start of each row or column stored in sparse format
IntVectorrowIdx
 a pointer of row indices if the problem is stored by column
IntVectorcolIdx
 a pointer of column indices if the problem is stored by row
DoubleVectorvalue
 a pointer to the array of nonzero values being stored
int iNumberOfStartElements
 iNumberOfStartElements counts the number of elements in the <start> section of <linearConstraintCoefficients> this is useful for the parser in checking consistency of the number of start elements with variables or rows

Detailed Description

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

Remarks:
if a large part of the problem is linear, then store this is the standard sparse format, either by column or row. There are three arrays, an array of nonzero values, an array of either column or row indices and then a pointer to the start of each column or row.

Definition at line 282 of file OSInstance.h.


Constructor & Destructor Documentation

LinearConstraintCoefficients::LinearConstraintCoefficients (  ) 

The LinearConstraintCoefficients class constructor.

LinearConstraintCoefficients::~LinearConstraintCoefficients (  ) 

The LinearConstraintCoefficients class destructor.


Member Data Documentation

numberOfValues is the number of nonzero elements stored in the <linearConstraintCoefficients> element

Definition at line 294 of file OSInstance.h.

a pointer to the start of each row or column stored in sparse format

Definition at line 299 of file OSInstance.h.

a pointer of row indices if the problem is stored by column

Definition at line 302 of file OSInstance.h.

a pointer of column indices if the problem is stored by row

Definition at line 305 of file OSInstance.h.

a pointer to the array of nonzero values being stored

Definition at line 308 of file OSInstance.h.

iNumberOfStartElements counts the number of elements in the <start> section of <linearConstraintCoefficients> this is useful for the parser in checking consistency of the number of start elements with variables or rows

Definition at line 315 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