Clp
1.17.8
|
#include <AbcMatrix.hpp>
Public Member Functions | |
Useful methods | |
void | transposeTimes (const AbcSimplex *model, const double *pi, CoinIndexedVector &output) const |
Return x * -1 * A in More... | |
void | transposeTimes2 (const AbcSimplex *model, const double *pi, CoinIndexedVector &dj1, const double *piWeight, double referenceIn, double devex, unsigned int *reference, double *weights, double scaleFactor) |
Updates two arrays for steepest. More... | |
Constructors, destructor | |
AbcMatrix3 () | |
Default constructor. More... | |
AbcMatrix3 (AbcSimplex *model, const CoinPackedMatrix *columnCopy) | |
Constructor from copy. More... | |
~AbcMatrix3 () | |
Destructor. More... | |
Copy method | |
AbcMatrix3 (const AbcMatrix3 &) | |
The copy constructor. More... | |
AbcMatrix3 & | operator= (const AbcMatrix3 &) |
Sort methods | |
void | sortBlocks (const AbcSimplex *model) |
Sort blocks. More... | |
void | swapOne (const AbcSimplex *model, const AbcMatrix *matrix, int iColumn) |
Swap one variable. More... | |
Protected Attributes | |
Data members | |
The data members are protected to allow access for derived classes. | |
int | numberBlocks_ |
Number of blocks. More... | |
int | numberColumns_ |
Number of columns. More... | |
int * | column_ |
Column indices and reverse lookup (within block) More... | |
CoinBigIndex * | start_ |
Starts for odd/long vectors. More... | |
int * | row_ |
Rows. More... | |
double * | element_ |
Elements. More... | |
blockStruct * | block_ |
Blocks (ordinary start at 0 and go to first block) More... | |
Definition at line 605 of file AbcMatrix.hpp.
AbcMatrix3::AbcMatrix3 | ( | ) |
Default constructor.
AbcMatrix3::AbcMatrix3 | ( | AbcSimplex * | model, |
const CoinPackedMatrix * | columnCopy | ||
) |
Constructor from copy.
AbcMatrix3::~AbcMatrix3 | ( | ) |
Destructor.
AbcMatrix3::AbcMatrix3 | ( | const AbcMatrix3 & | ) |
The copy constructor.
void AbcMatrix3::transposeTimes | ( | const AbcSimplex * | model, |
const double * | pi, | ||
CoinIndexedVector & | output | ||
) | const |
Return x * -1 * A in
z
.
Note - x packed and z will be packed mode Squashes small elements and knows about AbcSimplex
void AbcMatrix3::transposeTimes2 | ( | const AbcSimplex * | model, |
const double * | pi, | ||
CoinIndexedVector & | dj1, | ||
const double * | piWeight, | ||
double | referenceIn, | ||
double | devex, | ||
unsigned int * | reference, | ||
double * | weights, | ||
double | scaleFactor | ||
) |
Updates two arrays for steepest.
AbcMatrix3& AbcMatrix3::operator= | ( | const AbcMatrix3 & | ) |
void AbcMatrix3::sortBlocks | ( | const AbcSimplex * | model | ) |
Sort blocks.
void AbcMatrix3::swapOne | ( | const AbcSimplex * | model, |
const AbcMatrix * | matrix, | ||
int | iColumn | ||
) |
Swap one variable.
|
protected |
Number of blocks.
Definition at line 656 of file AbcMatrix.hpp.
|
protected |
Number of columns.
Definition at line 658 of file AbcMatrix.hpp.
|
protected |
Column indices and reverse lookup (within block)
Definition at line 660 of file AbcMatrix.hpp.
|
protected |
Starts for odd/long vectors.
Definition at line 662 of file AbcMatrix.hpp.
|
protected |
Rows.
Definition at line 664 of file AbcMatrix.hpp.
|
protected |
Elements.
Definition at line 666 of file AbcMatrix.hpp.
|
protected |
Blocks (ordinary start at 0 and go to first block)
Definition at line 668 of file AbcMatrix.hpp.