Public Member Functions | Public Attributes | List of all members
LinearConstraintCoefficients Class Reference

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

#include <OSInstance.h>

Collaboration diagram for LinearConstraintCoefficients:
Collaboration graph
[legend]

Public Member Functions

 LinearConstraintCoefficients ()
 The LinearConstraintCoefficients class constructor. More...
 
 ~LinearConstraintCoefficients ()
 The LinearConstraintCoefficients class destructor. More...
 
bool IsEqual (LinearConstraintCoefficients *that)
 A function to check for the equality of two objects. More...
 
 LinearConstraintCoefficients ()
 The LinearConstraintCoefficients class constructor. More...
 
 ~LinearConstraintCoefficients ()
 The LinearConstraintCoefficients class destructor. More...
 

Public Attributes

int numberOfValues
 numberOfValues is the number of nonzero elements stored in the <linearConstraintCoefficients> element More...
 
IntVectorstart
 a pointer to the start of each row or column stored in sparse format More...
 
IntVectorrowIdx
 a pointer of row indices if the problem is stored by column More...
 
IntVectorcolIdx
 a pointer of column indices if the problem is stored by row More...
 
DoubleVectorvalue
 a pointer to the array of nonzero values being stored More...
 
int iNumberOfStartElements
 iNumberOfStartElements counts the number of elements in the <start> section of <linearConstraintCoefficients>. More...
 

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 288 of file OSInstance.h.

Constructor & Destructor Documentation

LinearConstraintCoefficients::LinearConstraintCoefficients ( )

The LinearConstraintCoefficients class constructor.

Definition at line 734 of file OSInstance.cpp.

LinearConstraintCoefficients::~LinearConstraintCoefficients ( )

The LinearConstraintCoefficients class destructor.

Definition at line 748 of file OSInstance.cpp.

LinearConstraintCoefficients::LinearConstraintCoefficients ( )

The LinearConstraintCoefficients class constructor.

LinearConstraintCoefficients::~LinearConstraintCoefficients ( )

The LinearConstraintCoefficients class destructor.

Member Function Documentation

bool LinearConstraintCoefficients::IsEqual ( LinearConstraintCoefficients that)

A function to check for the equality of two objects.

Definition at line 8428 of file OSInstance.cpp.

Member Data Documentation

int LinearConstraintCoefficients::numberOfValues

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

Definition at line 301 of file OSInstance.h.

IntVector * LinearConstraintCoefficients::start

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

Definition at line 306 of file OSInstance.h.

IntVector * LinearConstraintCoefficients::rowIdx

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

Definition at line 309 of file OSInstance.h.

IntVector * LinearConstraintCoefficients::colIdx

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

Definition at line 312 of file OSInstance.h.

DoubleVector * LinearConstraintCoefficients::value

a pointer to the array of nonzero values being stored

Definition at line 315 of file OSInstance.h.

int LinearConstraintCoefficients::iNumberOfStartElements

iNumberOfStartElements counts the number of elements in the <start> section of <linearConstraintCoefficients>.

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

This is useful for the parser in checking consistency of the number of start elements with variables or rows

Definition at line 322 of file OSInstance.h.


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