#include <OSInstance.h>
Collaboration diagram for LinearConstraintCoefficients:
Public Member Functions | |
LinearConstraintCoefficients () | |
The LinearConstraintCoefficients class constructor. | |
~LinearConstraintCoefficients () | |
The LinearConstraintCoefficients class destructor. | |
bool | IsEqual (LinearConstraintCoefficients *that) |
A function to check for the equality of two objects. | |
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 | |
IntVector * | start |
a pointer to the start of each row or column stored in sparse format | |
IntVector * | rowIdx |
a pointer of row indices if the problem is stored by column | |
IntVector * | colIdx |
a pointer of column indices if the problem is stored by row | |
DoubleVector * | value |
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 | |
IntVector * | start |
a pointer to the start of each row or column stored in sparse format | |
IntVector * | rowIdx |
a pointer of row indices if the problem is stored by column | |
IntVector * | colIdx |
a pointer of column indices if the problem is stored by row | |
DoubleVector * | value |
a pointer to the array of nonzero values being stored |
Definition at line 322 of file OSInstance.h.
LinearConstraintCoefficients::LinearConstraintCoefficients | ( | ) |
LinearConstraintCoefficients::~LinearConstraintCoefficients | ( | ) |
LinearConstraintCoefficients::LinearConstraintCoefficients | ( | ) |
The LinearConstraintCoefficients class constructor.
LinearConstraintCoefficients::~LinearConstraintCoefficients | ( | ) |
The LinearConstraintCoefficients class destructor.
bool LinearConstraintCoefficients::IsEqual | ( | LinearConstraintCoefficients * | that | ) |
A function to check for the equality of two objects.
Definition at line 5947 of file OSInstance.cpp.
References colIdx, numberOfValues, rowIdx, start, and value.
numberOfValues is the number of nonzero elements stored in the <linearConstraintCoefficients> element
Definition at line 335 of file OSInstance.h.
Referenced by OSInstance::getLinearConstraintCoefficientNumber(), IsEqual(), main(), and OSInstance::setLinearConstraintCoefficients().
a pointer to the start of each row or column stored in sparse format
Definition at line 340 of file OSInstance.h.
Referenced by OSInstance::getSparseJacobianFromColumnMajor(), OSInstance::getSparseJacobianFromRowMajor(), IsEqual(), LinearConstraintCoefficients(), OSInstance::processLinearConstraintCoefficients(), OSInstance::setLinearConstraintCoefficients(), ~LinearConstraintCoefficients(), OSmps2osil::~OSmps2osil(), and OSnl2osil::~OSnl2osil().
a pointer of row indices if the problem is stored by column
Definition at line 343 of file OSInstance.h.
Referenced by OSInstance::getSparseJacobianFromColumnMajor(), IsEqual(), LinearConstraintCoefficients(), OSInstance::processLinearConstraintCoefficients(), OSInstance::setLinearConstraintCoefficients(), ~LinearConstraintCoefficients(), OSmps2osil::~OSmps2osil(), and OSnl2osil::~OSnl2osil().
a pointer of column indices if the problem is stored by row
Definition at line 346 of file OSInstance.h.
Referenced by OSInstance::getSparseJacobianFromRowMajor(), IsEqual(), LinearConstraintCoefficients(), OSInstance::processLinearConstraintCoefficients(), OSInstance::setLinearConstraintCoefficients(), ~LinearConstraintCoefficients(), and OSmps2osil::~OSmps2osil().
a pointer to the array of nonzero values being stored
Definition at line 349 of file OSInstance.h.
Referenced by OSInstance::getSparseJacobianFromColumnMajor(), OSInstance::getSparseJacobianFromRowMajor(), IsEqual(), LinearConstraintCoefficients(), main(), OSInstance::processLinearConstraintCoefficients(), OSInstance::setLinearConstraintCoefficients(), ~LinearConstraintCoefficients(), OSmps2osil::~OSmps2osil(), and OSnl2osil::~OSnl2osil().
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 356 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.