Dip
0.92.4
|
NON Abstract Base Class for interfacing with cut generators or branching code or . More...
#include <CoinSnapshot.hpp>
Classes | |
struct | coinOwned |
To say whether arrays etc are owned by CoinSnapshot. More... | |
Public Member Functions | |
Problem query methods | |
The Matrix pointers may be NULL | |
int | getNumCols () const |
Get number of columns. More... | |
int | getNumRows () const |
Get number of rows. More... | |
int | getNumElements () const |
Get number of nonzero elements. More... | |
int | getNumIntegers () const |
Get number of integer variables. More... | |
const double * | getColLower () const |
Get pointer to array[getNumCols()] of column lower bounds. More... | |
const double * | getColUpper () const |
Get pointer to array[getNumCols()] of column upper bounds. More... | |
const double * | getRowLower () const |
Get pointer to array[getNumRows()] of row lower bounds. More... | |
const double * | getRowUpper () const |
Get pointer to array[getNumRows()] of row upper bounds. More... | |
const double * | getRightHandSide () const |
Get pointer to array[getNumRows()] of row right-hand sides This gives same results as OsiSolverInterface for useful cases If getRowUpper()[i] != infinity then getRightHandSide()[i] == getRowUpper()[i] else getRightHandSide()[i] == getRowLower()[i]. More... | |
const double * | getObjCoefficients () const |
Get pointer to array[getNumCols()] of objective function coefficients. More... | |
double | getObjSense () const |
Get objective function sense (1 for min (default), -1 for max) More... | |
bool | isContinuous (int colIndex) const |
Return true if variable is continuous. More... | |
bool | isBinary (int colIndex) const |
Return true if variable is binary. More... | |
bool | isInteger (int colIndex) const |
Return true if column is integer. More... | |
bool | isIntegerNonBinary (int colIndex) const |
Return true if variable is general integer. More... | |
bool | isFreeBinary (int colIndex) const |
Return true if variable is binary and not fixed at either bound. More... | |
const char * | getColType () const |
Get colType array ('B', 'I', or 'C' for Binary, Integer and Continuous) More... | |
const CoinPackedMatrix * | getMatrixByRow () const |
Get pointer to row-wise copy of current matrix. More... | |
const CoinPackedMatrix * | getMatrixByCol () const |
Get pointer to column-wise copy of current matrix. More... | |
const CoinPackedMatrix * | getOriginalMatrixByRow () const |
Get pointer to row-wise copy of "original" matrix. More... | |
const CoinPackedMatrix * | getOriginalMatrixByCol () const |
Get pointer to column-wise copy of "original" matrix. More... | |
Solution query methods | |
const double * | getColSolution () const |
Get pointer to array[getNumCols()] of primal variable values. More... | |
const double * | getRowPrice () const |
Get pointer to array[getNumRows()] of dual variable values. More... | |
const double * | getReducedCost () const |
Get a pointer to array[getNumCols()] of reduced costs. More... | |
const double * | getRowActivity () const |
Get pointer to array[getNumRows()] of row activity levels (constraint matrix times the solution vector). More... | |
const double * | getDoNotSeparateThis () const |
Get pointer to array[getNumCols()] of primal variable values which should not be separated (for debug) More... | |
Other scalar get methods | |
double | getInfinity () const |
Get solver's value for infinity. More... | |
double | getObjValue () const |
Get objective function value - includinbg any offset i.e. More... | |
double | getObjOffset () const |
Get objective offset i.e. sum c sub j * x subj -objValue = objOffset. More... | |
double | getDualTolerance () const |
Get dual tolerance. More... | |
double | getPrimalTolerance () const |
Get primal tolerance. More... | |
double | getIntegerTolerance () const |
Get integer tolerance. More... | |
double | getIntegerUpperBound () const |
Get integer upper bound i.e. best solution * getObjSense. More... | |
double | getIntegerLowerBound () const |
Get integer lower bound i.e. best possible solution * getObjSense. More... | |
Method to input a problem | |
void | loadProblem (const CoinPackedMatrix &matrix, const double *collb, const double *colub, const double *obj, const double *rowlb, const double *rowub, bool makeRowCopy=false) |
Load in an problem by copying the arguments (the constraints on the rows are given by lower and upper bounds). More... | |
Methods to set data | |
void | setNumCols (int value) |
Set number of columns. More... | |
void | setNumRows (int value) |
Set number of rows. More... | |
void | setNumElements (int value) |
Set number of nonzero elements. More... | |
void | setNumIntegers (int value) |
Set number of integer variables. More... | |
void | setColLower (const double *array, bool copyIn=true) |
Set pointer to array[getNumCols()] of column lower bounds. More... | |
void | setColUpper (const double *array, bool copyIn=true) |
Set pointer to array[getNumCols()] of column upper bounds. More... | |
void | setRowLower (const double *array, bool copyIn=true) |
Set pointer to array[getNumRows()] of row lower bounds. More... | |
void | setRowUpper (const double *array, bool copyIn=true) |
Set pointer to array[getNumRows()] of row upper bounds. More... | |
void | setRightHandSide (const double *array, bool copyIn=true) |
Set pointer to array[getNumRows()] of row right-hand sides This gives same results as OsiSolverInterface for useful cases If getRowUpper()[i] != infinity then getRightHandSide()[i] == getRowUpper()[i] else getRightHandSide()[i] == getRowLower()[i]. More... | |
void | createRightHandSide () |
Create array[getNumRows()] of row right-hand sides using existing information This gives same results as OsiSolverInterface for useful cases If getRowUpper()[i] != infinity then getRightHandSide()[i] == getRowUpper()[i] else getRightHandSide()[i] == getRowLower()[i]. More... | |
void | setObjCoefficients (const double *array, bool copyIn=true) |
Set pointer to array[getNumCols()] of objective function coefficients. More... | |
void | setObjSense (double value) |
Set objective function sense (1 for min (default), -1 for max) More... | |
void | setColType (const char *array, bool copyIn=true) |
Set colType array ('B', 'I', or 'C' for Binary, Integer and Continuous) More... | |
void | setMatrixByRow (const CoinPackedMatrix *matrix, bool copyIn=true) |
Set pointer to row-wise copy of current matrix. More... | |
void | createMatrixByRow () |
Create row-wise copy from MatrixByCol. More... | |
void | setMatrixByCol (const CoinPackedMatrix *matrix, bool copyIn=true) |
Set pointer to column-wise copy of current matrix. More... | |
void | setOriginalMatrixByRow (const CoinPackedMatrix *matrix, bool copyIn=true) |
Set pointer to row-wise copy of "original" matrix. More... | |
void | setOriginalMatrixByCol (const CoinPackedMatrix *matrix, bool copyIn=true) |
Set pointer to column-wise copy of "original" matrix. More... | |
void | setColSolution (const double *array, bool copyIn=true) |
Set pointer to array[getNumCols()] of primal variable values. More... | |
void | setRowPrice (const double *array, bool copyIn=true) |
Set pointer to array[getNumRows()] of dual variable values. More... | |
void | setReducedCost (const double *array, bool copyIn=true) |
Set a pointer to array[getNumCols()] of reduced costs. More... | |
void | setRowActivity (const double *array, bool copyIn=true) |
Set pointer to array[getNumRows()] of row activity levels (constraint matrix times the solution vector). More... | |
void | setDoNotSeparateThis (const double *array, bool copyIn=true) |
Set pointer to array[getNumCols()] of primal variable values which should not be separated (for debug) More... | |
void | setInfinity (double value) |
Set solver's value for infinity. More... | |
void | setObjValue (double value) |
Set objective function value (including any rhs offset) More... | |
void | setObjOffset (double value) |
Set objective offset i.e. sum c sub j * x subj -objValue = objOffset. More... | |
void | setDualTolerance (double value) |
Set dual tolerance. More... | |
void | setPrimalTolerance (double value) |
Set primal tolerance. More... | |
void | setIntegerTolerance (double value) |
Set integer tolerance. More... | |
void | setIntegerUpperBound (double value) |
Set integer upper bound i.e. best solution * getObjSense. More... | |
void | setIntegerLowerBound (double value) |
Set integer lower bound i.e. best possible solution * getObjSense. More... | |
Constructors and destructors | |
CoinSnapshot () | |
Default Constructor. More... | |
CoinSnapshot (const CoinSnapshot &) | |
Copy constructor. More... | |
CoinSnapshot & | operator= (const CoinSnapshot &rhs) |
Assignment operator. More... | |
virtual | ~CoinSnapshot () |
Destructor. More... | |
Private Member Functions | |
private functions | |
void | gutsOfDestructor (int type) |
Does main work of destructor - type (or'ed) 1 - NULLify pointers 2 - delete pointers 4 - initialize scalars (tolerances etc) 8 - initialize scalars (objValue etc0. More... | |
void | gutsOfCopy (const CoinSnapshot &rhs) |
Does main work of copy. More... | |
Private Attributes | |
Private member data | |
double | objSense_ |
objective function sense (1 for min (default), -1 for max) More... | |
double | infinity_ |
solver's value for infinity More... | |
double | objValue_ |
objective function value (including any rhs offset) More... | |
double | objOffset_ |
objective offset i.e. sum c sub j * x subj -objValue = objOffset More... | |
double | dualTolerance_ |
dual tolerance More... | |
double | primalTolerance_ |
primal tolerance More... | |
double | integerTolerance_ |
integer tolerance More... | |
double | integerUpperBound_ |
integer upper bound i.e. best solution * getObjSense More... | |
double | integerLowerBound_ |
integer lower bound i.e. best possible solution * getObjSense More... | |
const double * | colLower_ |
pointer to array[getNumCols()] of column lower bounds More... | |
const double * | colUpper_ |
pointer to array[getNumCols()] of column upper bounds More... | |
const double * | rowLower_ |
pointer to array[getNumRows()] of row lower bounds More... | |
const double * | rowUpper_ |
pointer to array[getNumRows()] of row upper bounds More... | |
const double * | rightHandSide_ |
pointer to array[getNumRows()] of rhs side values More... | |
const double * | objCoefficients_ |
pointer to array[getNumCols()] of objective function coefficients More... | |
const char * | colType_ |
colType array ('B', 'I', or 'C' for Binary, Integer and Continuous) More... | |
const CoinPackedMatrix * | matrixByRow_ |
pointer to row-wise copy of current matrix More... | |
const CoinPackedMatrix * | matrixByCol_ |
pointer to column-wise copy of current matrix More... | |
const CoinPackedMatrix * | originalMatrixByRow_ |
pointer to row-wise copy of "original" matrix More... | |
const CoinPackedMatrix * | originalMatrixByCol_ |
pointer to column-wise copy of "original" matrix More... | |
const double * | colSolution_ |
pointer to array[getNumCols()] of primal variable values More... | |
const double * | rowPrice_ |
pointer to array[getNumRows()] of dual variable values More... | |
const double * | reducedCost_ |
a pointer to array[getNumCols()] of reduced costs More... | |
const double * | rowActivity_ |
pointer to array[getNumRows()] of row activity levels (constraint matrix times the solution vector). More... | |
const double * | doNotSeparateThis_ |
pointer to array[getNumCols()] of primal variable values which should not be separated (for debug) More... | |
int | numCols_ |
number of columns More... | |
int | numRows_ |
number of rows More... | |
int | numElements_ |
number of nonzero elements More... | |
int | numIntegers_ |
number of integer variables More... | |
coinOwned | owned_ |
objective function sense (1 for min (default), -1 for max) More... | |
NON Abstract Base Class for interfacing with cut generators or branching code or .
It is designed to be snapshot of a problem at a node in tree
The class may or may not own the arrays - see owned_
Querying a problem that has no data associated with it will result in zeros for the number of rows and columns, and NULL pointers from the methods that return arrays.
Definition at line 25 of file CoinSnapshot.hpp.
CoinSnapshot::CoinSnapshot | ( | ) |
Default Constructor.
CoinSnapshot::CoinSnapshot | ( | const CoinSnapshot & | ) |
Copy constructor.
|
virtual |
Destructor.
|
inline |
Get number of columns.
Definition at line 35 of file CoinSnapshot.hpp.
|
inline |
|
inline |
Get number of nonzero elements.
Definition at line 47 of file CoinSnapshot.hpp.
References numElements_.
|
inline |
Get number of integer variables.
Definition at line 53 of file CoinSnapshot.hpp.
References numIntegers_.
|
inline |
Get pointer to array[getNumCols()] of column lower bounds.
Definition at line 59 of file CoinSnapshot.hpp.
References colLower_.
|
inline |
Get pointer to array[getNumCols()] of column upper bounds.
Definition at line 65 of file CoinSnapshot.hpp.
References colUpper_.
|
inline |
Get pointer to array[getNumRows()] of row lower bounds.
Definition at line 71 of file CoinSnapshot.hpp.
References rowLower_.
|
inline |
Get pointer to array[getNumRows()] of row upper bounds.
Definition at line 77 of file CoinSnapshot.hpp.
References rowUpper_.
|
inline |
Get pointer to array[getNumRows()] of row right-hand sides This gives same results as OsiSolverInterface for useful cases If getRowUpper()[i] != infinity then getRightHandSide()[i] == getRowUpper()[i] else getRightHandSide()[i] == getRowLower()[i].
Definition at line 89 of file CoinSnapshot.hpp.
References rightHandSide_.
|
inline |
Get pointer to array[getNumCols()] of objective function coefficients.
Definition at line 95 of file CoinSnapshot.hpp.
References objCoefficients_.
|
inline |
Get objective function sense (1 for min (default), -1 for max)
Definition at line 101 of file CoinSnapshot.hpp.
References objSense_.
|
inline |
Return true if variable is continuous.
Definition at line 107 of file CoinSnapshot.hpp.
References colType_.
|
inline |
Return true if variable is binary.
Definition at line 113 of file CoinSnapshot.hpp.
References colType_.
|
inline |
Return true if column is integer.
Definition at line 119 of file CoinSnapshot.hpp.
References colType_.
|
inline |
Return true if variable is general integer.
Definition at line 125 of file CoinSnapshot.hpp.
References colType_.
|
inline |
Return true if variable is binary and not fixed at either bound.
Definition at line 131 of file CoinSnapshot.hpp.
|
inline |
Get colType array ('B', 'I', or 'C' for Binary, Integer and Continuous)
Definition at line 137 of file CoinSnapshot.hpp.
References colType_.
|
inline |
Get pointer to row-wise copy of current matrix.
Definition at line 143 of file CoinSnapshot.hpp.
References matrixByRow_.
|
inline |
Get pointer to column-wise copy of current matrix.
Definition at line 149 of file CoinSnapshot.hpp.
References matrixByCol_.
|
inline |
Get pointer to row-wise copy of "original" matrix.
Definition at line 155 of file CoinSnapshot.hpp.
References originalMatrixByRow_.
|
inline |
Get pointer to column-wise copy of "original" matrix.
Definition at line 161 of file CoinSnapshot.hpp.
References originalMatrixByCol_.
|
inline |
Get pointer to array[getNumCols()] of primal variable values.
Definition at line 170 of file CoinSnapshot.hpp.
|
inline |
Get pointer to array[getNumRows()] of dual variable values.
Definition at line 176 of file CoinSnapshot.hpp.
References rowPrice_.
|
inline |
Get a pointer to array[getNumCols()] of reduced costs.
Definition at line 182 of file CoinSnapshot.hpp.
References reducedCost_.
|
inline |
Get pointer to array[getNumRows()] of row activity levels (constraint matrix times the solution vector).
Definition at line 188 of file CoinSnapshot.hpp.
References rowActivity_.
|
inline |
Get pointer to array[getNumCols()] of primal variable values which should not be separated (for debug)
Definition at line 194 of file CoinSnapshot.hpp.
References doNotSeparateThis_.
|
inline |
Get solver's value for infinity.
Definition at line 203 of file CoinSnapshot.hpp.
|
inline |
Get objective function value - includinbg any offset i.e.
sum c sub j * x subj - objValue = objOffset
Definition at line 210 of file CoinSnapshot.hpp.
References objValue_.
|
inline |
Get objective offset i.e. sum c sub j * x subj -objValue = objOffset.
Definition at line 216 of file CoinSnapshot.hpp.
References objOffset_.
|
inline |
|
inline |
|
inline |
Get integer tolerance.
Definition at line 234 of file CoinSnapshot.hpp.
References integerTolerance_.
|
inline |
Get integer upper bound i.e. best solution * getObjSense.
Definition at line 240 of file CoinSnapshot.hpp.
References integerUpperBound_.
|
inline |
Get integer lower bound i.e. best possible solution * getObjSense.
Definition at line 246 of file CoinSnapshot.hpp.
References integerLowerBound_.
void CoinSnapshot::loadProblem | ( | const CoinPackedMatrix & | matrix, |
const double * | collb, | ||
const double * | colub, | ||
const double * | obj, | ||
const double * | rowlb, | ||
const double * | rowub, | ||
bool | makeRowCopy = false |
||
) |
Load in an problem by copying the arguments (the constraints on the rows are given by lower and upper bounds).
If a pointer is NULL then the following values are the default:
colub
: all columns have upper bound infinity collb
: all columns have lower bound 0 rowub
: all rows have upper bound infinity rowlb
: all rows have lower bound -infinity obj
: all variables have 0 objective coefficient All solution type arrays will be deleted
|
inline |
Set number of columns.
Definition at line 281 of file CoinSnapshot.hpp.
|
inline |
|
inline |
Set number of nonzero elements.
Definition at line 293 of file CoinSnapshot.hpp.
References numElements_.
|
inline |
Set number of integer variables.
Definition at line 299 of file CoinSnapshot.hpp.
References numIntegers_.
void CoinSnapshot::setColLower | ( | const double * | array, |
bool | copyIn = true |
||
) |
Set pointer to array[getNumCols()] of column lower bounds.
void CoinSnapshot::setColUpper | ( | const double * | array, |
bool | copyIn = true |
||
) |
Set pointer to array[getNumCols()] of column upper bounds.
void CoinSnapshot::setRowLower | ( | const double * | array, |
bool | copyIn = true |
||
) |
Set pointer to array[getNumRows()] of row lower bounds.
void CoinSnapshot::setRowUpper | ( | const double * | array, |
bool | copyIn = true |
||
) |
Set pointer to array[getNumRows()] of row upper bounds.
void CoinSnapshot::setRightHandSide | ( | const double * | array, |
bool | copyIn = true |
||
) |
Set pointer to array[getNumRows()] of row right-hand sides This gives same results as OsiSolverInterface for useful cases If getRowUpper()[i] != infinity then getRightHandSide()[i] == getRowUpper()[i] else getRightHandSide()[i] == getRowLower()[i].
void CoinSnapshot::createRightHandSide | ( | ) |
Create array[getNumRows()] of row right-hand sides using existing information This gives same results as OsiSolverInterface for useful cases If getRowUpper()[i] != infinity then getRightHandSide()[i] == getRowUpper()[i] else getRightHandSide()[i] == getRowLower()[i].
void CoinSnapshot::setObjCoefficients | ( | const double * | array, |
bool | copyIn = true |
||
) |
Set pointer to array[getNumCols()] of objective function coefficients.
|
inline |
Set objective function sense (1 for min (default), -1 for max)
Definition at line 339 of file CoinSnapshot.hpp.
References objSense_.
void CoinSnapshot::setColType | ( | const char * | array, |
bool | copyIn = true |
||
) |
Set colType array ('B', 'I', or 'C' for Binary, Integer and Continuous)
void CoinSnapshot::setMatrixByRow | ( | const CoinPackedMatrix * | matrix, |
bool | copyIn = true |
||
) |
Set pointer to row-wise copy of current matrix.
void CoinSnapshot::createMatrixByRow | ( | ) |
Create row-wise copy from MatrixByCol.
void CoinSnapshot::setMatrixByCol | ( | const CoinPackedMatrix * | matrix, |
bool | copyIn = true |
||
) |
Set pointer to column-wise copy of current matrix.
void CoinSnapshot::setOriginalMatrixByRow | ( | const CoinPackedMatrix * | matrix, |
bool | copyIn = true |
||
) |
Set pointer to row-wise copy of "original" matrix.
void CoinSnapshot::setOriginalMatrixByCol | ( | const CoinPackedMatrix * | matrix, |
bool | copyIn = true |
||
) |
Set pointer to column-wise copy of "original" matrix.
void CoinSnapshot::setColSolution | ( | const double * | array, |
bool | copyIn = true |
||
) |
Set pointer to array[getNumCols()] of primal variable values.
void CoinSnapshot::setRowPrice | ( | const double * | array, |
bool | copyIn = true |
||
) |
Set pointer to array[getNumRows()] of dual variable values.
void CoinSnapshot::setReducedCost | ( | const double * | array, |
bool | copyIn = true |
||
) |
Set a pointer to array[getNumCols()] of reduced costs.
void CoinSnapshot::setRowActivity | ( | const double * | array, |
bool | copyIn = true |
||
) |
Set pointer to array[getNumRows()] of row activity levels (constraint matrix times the solution vector).
void CoinSnapshot::setDoNotSeparateThis | ( | const double * | array, |
bool | copyIn = true |
||
) |
Set pointer to array[getNumCols()] of primal variable values which should not be separated (for debug)
|
inline |
Set solver's value for infinity.
Definition at line 378 of file CoinSnapshot.hpp.
References infinity_.
|
inline |
Set objective function value (including any rhs offset)
Definition at line 384 of file CoinSnapshot.hpp.
References objValue_.
|
inline |
Set objective offset i.e. sum c sub j * x subj -objValue = objOffset.
Definition at line 390 of file CoinSnapshot.hpp.
References objOffset_.
|
inline |
|
inline |
|
inline |
Set integer tolerance.
Definition at line 408 of file CoinSnapshot.hpp.
References integerTolerance_.
|
inline |
Set integer upper bound i.e. best solution * getObjSense.
Definition at line 414 of file CoinSnapshot.hpp.
References integerUpperBound_.
|
inline |
Set integer lower bound i.e. best possible solution * getObjSense.
Definition at line 420 of file CoinSnapshot.hpp.
References integerLowerBound_.
CoinSnapshot& CoinSnapshot::operator= | ( | const CoinSnapshot & | rhs | ) |
Assignment operator.
|
private |
Does main work of destructor - type (or'ed) 1 - NULLify pointers 2 - delete pointers 4 - initialize scalars (tolerances etc) 8 - initialize scalars (objValue etc0.
|
private |
Does main work of copy.
|
private |
objective function sense (1 for min (default), -1 for max)
Definition at line 461 of file CoinSnapshot.hpp.
Referenced by getObjSense(), and setObjSense().
|
private |
solver's value for infinity
Definition at line 464 of file CoinSnapshot.hpp.
Referenced by setInfinity().
|
private |
objective function value (including any rhs offset)
Definition at line 467 of file CoinSnapshot.hpp.
Referenced by getObjValue(), and setObjValue().
|
private |
objective offset i.e. sum c sub j * x subj -objValue = objOffset
Definition at line 470 of file CoinSnapshot.hpp.
Referenced by getObjOffset(), and setObjOffset().
|
private |
dual tolerance
Definition at line 473 of file CoinSnapshot.hpp.
Referenced by getDualTolerance(), and setDualTolerance().
|
private |
primal tolerance
Definition at line 476 of file CoinSnapshot.hpp.
Referenced by getPrimalTolerance(), and setPrimalTolerance().
|
private |
integer tolerance
Definition at line 479 of file CoinSnapshot.hpp.
Referenced by getIntegerTolerance(), and setIntegerTolerance().
|
private |
integer upper bound i.e. best solution * getObjSense
Definition at line 482 of file CoinSnapshot.hpp.
Referenced by getIntegerUpperBound(), and setIntegerUpperBound().
|
private |
integer lower bound i.e. best possible solution * getObjSense
Definition at line 485 of file CoinSnapshot.hpp.
Referenced by getIntegerLowerBound(), and setIntegerLowerBound().
|
private |
pointer to array[getNumCols()] of column lower bounds
Definition at line 488 of file CoinSnapshot.hpp.
Referenced by getColLower(), and isFreeBinary().
|
private |
pointer to array[getNumCols()] of column upper bounds
Definition at line 491 of file CoinSnapshot.hpp.
Referenced by getColUpper(), and isFreeBinary().
|
private |
pointer to array[getNumRows()] of row lower bounds
Definition at line 494 of file CoinSnapshot.hpp.
Referenced by getRowLower().
|
private |
pointer to array[getNumRows()] of row upper bounds
Definition at line 497 of file CoinSnapshot.hpp.
Referenced by getRowUpper().
|
private |
pointer to array[getNumRows()] of rhs side values
Definition at line 500 of file CoinSnapshot.hpp.
Referenced by getRightHandSide().
|
private |
pointer to array[getNumCols()] of objective function coefficients
Definition at line 503 of file CoinSnapshot.hpp.
Referenced by getObjCoefficients().
|
private |
colType array ('B', 'I', or 'C' for Binary, Integer and Continuous)
Definition at line 506 of file CoinSnapshot.hpp.
Referenced by getColType(), isBinary(), isContinuous(), isFreeBinary(), isInteger(), and isIntegerNonBinary().
|
private |
pointer to row-wise copy of current matrix
Definition at line 509 of file CoinSnapshot.hpp.
Referenced by getMatrixByRow().
|
private |
pointer to column-wise copy of current matrix
Definition at line 512 of file CoinSnapshot.hpp.
Referenced by getMatrixByCol().
|
private |
pointer to row-wise copy of "original" matrix
Definition at line 515 of file CoinSnapshot.hpp.
Referenced by getOriginalMatrixByRow().
|
private |
pointer to column-wise copy of "original" matrix
Definition at line 518 of file CoinSnapshot.hpp.
Referenced by getOriginalMatrixByCol().
|
private |
pointer to array[getNumCols()] of primal variable values
Definition at line 521 of file CoinSnapshot.hpp.
|
private |
pointer to array[getNumRows()] of dual variable values
Definition at line 524 of file CoinSnapshot.hpp.
Referenced by getRowPrice().
|
private |
a pointer to array[getNumCols()] of reduced costs
Definition at line 527 of file CoinSnapshot.hpp.
Referenced by getReducedCost().
|
private |
pointer to array[getNumRows()] of row activity levels (constraint matrix times the solution vector).
Definition at line 530 of file CoinSnapshot.hpp.
Referenced by getRowActivity().
|
private |
pointer to array[getNumCols()] of primal variable values which should not be separated (for debug)
Definition at line 533 of file CoinSnapshot.hpp.
Referenced by getDoNotSeparateThis().
|
private |
number of columns
Definition at line 536 of file CoinSnapshot.hpp.
|
private |
number of rows
Definition at line 539 of file CoinSnapshot.hpp.
Referenced by getNumRows(), and setNumRows().
|
private |
number of nonzero elements
Definition at line 542 of file CoinSnapshot.hpp.
Referenced by getNumElements(), and setNumElements().
|
private |
number of integer variables
Definition at line 545 of file CoinSnapshot.hpp.
Referenced by getNumIntegers(), and setNumIntegers().
|
private |
objective function sense (1 for min (default), -1 for max)
Definition at line 566 of file CoinSnapshot.hpp.