#include <SmiScnData.hpp>
Public Member Functions | |
int | getNumCols () |
int | getNumRows () |
int | getNumElements () |
int | getNumStages () |
int | getNumCols (SmiStageIndex t) |
int | getNumRows (SmiStageIndex t) |
int | getColStart (SmiStageIndex t) |
int | getRowStart (SmiStageIndex t) |
int | getColStage (int i) |
int | getRowStage (int i) |
int | getRowInternalIndex (int i) |
int | getColInternalIndex (int i) |
int | getRowExternalIndex (int i) |
int | getColExternalIndex (int i) |
const double * | getDenseRowLower (SmiStageIndex t) |
const double * | getDenseRowUpper (SmiStageIndex t) |
const double * | getDenseColLower (SmiStageIndex t) |
const double * | getDenseColUpper (SmiStageIndex t) |
const double * | getDenseObjCoefficients (SmiStageIndex t) |
std::vector< int > | getIntCols (int stage) |
int * | getIntegerIndices () |
int | getIntegerLength () |
int * | getBinaryIndices () |
int | getBinaryLength () |
double | getInfinity () |
void | copyRowLower (double *drlo, SmiStageIndex t) |
void | copyRowUpper (double *drup, SmiStageIndex t) |
void | copyColLower (double *dclo, SmiStageIndex t) |
void | copyColUpper (double *dcup, SmiStageIndex t) |
void | copyObjective (double *dobj, SmiStageIndex t) |
SmiNodeData * | getNode (SmiStageIndex t) |
void | setColumnNames (char **namesStrict, char **namesFree) |
char ** | getColumnNames (bool strictFormat=true) |
SmiCoreData (CoinMpsIO *cMps, int nstag, int *cstag, int *rstag, int *integerIndices=0, int integerLength=0, int *binaryIndices=0, int binaryLength=0) | |
SmiCoreData (OsiSolverInterface *osi, int nstag, int *cstag, int *rstag, int *integerIndices=0, int integerLength=0, int *binaryIndices=0, int binaryLength=0) | |
void | addQuadraticObjectiveToCore (int *starts, int *indx, double *dels) |
Adds QP data after the constructor has been called. | |
void | setHasQdata (bool b) |
bool | hasQdata () |
~SmiCoreData () | |
Private Member Functions | |
void | gutsOfConstructor (int nrow, int ncol, int nstag, int *cstag, int *rstag, CoinPackedMatrix *matrix, CoinPackedVector *dclo, CoinPackedVector *dcup, CoinPackedVector *dobj, CoinPackedVector *drlo, CoinPackedVector *drup, int *integerIndices=0, int integerLength=0, int *binaryIndices=0, int binaryLength=0) |
OsiSolverInterface * | generateCoreProblem (OsiSolverInterface *osi) |
Private Attributes | |
int | nrow_ |
int | ncol_ |
int | nz_ |
SmiStageIndex | nstag_ |
int * | nColInStage_ |
int * | nRowInStage_ |
int * | stageColPtr_ |
int * | stageRowPtr_ |
int * | colStage_ |
int * | rowStage_ |
int * | colEx2In_ |
int * | rowEx2In_ |
int * | colIn2Ex_ |
int * | rowIn2Ex_ |
int * | integerIndices_ |
int | integerLength_ |
int * | binaryIndices_ |
int | binaryLength_ |
double | infinity_ |
double ** | cdrlo_ |
double ** | cdrup_ |
double ** | cdobj_ |
double ** | cdclo_ |
double ** | cdcup_ |
SmiQuadraticData * | sqp_ |
bool | hasQdata_ |
std::vector< SmiNodeData * > | nodes_ |
std::vector< double * > | pDenseRow_ |
std::vector< std::vector< int > > | intColsStagewise |
char ** | colNamesStrict |
char ** | colNamesFree |
Definition at line 202 of file SmiScnData.hpp.
SmiCoreData::SmiCoreData | ( | CoinMpsIO * | cMps, | |
int | nstag, | |||
int * | cstag, | |||
int * | rstag, | |||
int * | integerIndices = 0 , |
|||
int | integerLength = 0 , |
|||
int * | binaryIndices = 0 , |
|||
int | binaryLength = 0 | |||
) |
SmiCoreData::SmiCoreData | ( | OsiSolverInterface * | osi, | |
int | nstag, | |||
int * | cstag, | |||
int * | rstag, | |||
int * | integerIndices = 0 , |
|||
int | integerLength = 0 , |
|||
int * | binaryIndices = 0 , |
|||
int | binaryLength = 0 | |||
) |
SmiCoreData::~SmiCoreData | ( | ) |
int SmiCoreData::getNumCols | ( | ) | [inline] |
Definition at line 205 of file SmiScnData.hpp.
int SmiCoreData::getNumRows | ( | ) | [inline] |
Definition at line 206 of file SmiScnData.hpp.
int SmiCoreData::getNumElements | ( | ) | [inline] |
Definition at line 207 of file SmiScnData.hpp.
int SmiCoreData::getNumStages | ( | ) | [inline] |
Definition at line 208 of file SmiScnData.hpp.
int SmiCoreData::getNumCols | ( | SmiStageIndex | t | ) | [inline] |
Definition at line 209 of file SmiScnData.hpp.
int SmiCoreData::getNumRows | ( | SmiStageIndex | t | ) | [inline] |
Definition at line 210 of file SmiScnData.hpp.
int SmiCoreData::getColStart | ( | SmiStageIndex | t | ) | [inline] |
Definition at line 211 of file SmiScnData.hpp.
int SmiCoreData::getRowStart | ( | SmiStageIndex | t | ) | [inline] |
Definition at line 212 of file SmiScnData.hpp.
int SmiCoreData::getColStage | ( | int | i | ) | [inline] |
Definition at line 213 of file SmiScnData.hpp.
int SmiCoreData::getRowStage | ( | int | i | ) | [inline] |
Definition at line 214 of file SmiScnData.hpp.
int SmiCoreData::getRowInternalIndex | ( | int | i | ) | [inline] |
Definition at line 216 of file SmiScnData.hpp.
int SmiCoreData::getColInternalIndex | ( | int | i | ) | [inline] |
Definition at line 217 of file SmiScnData.hpp.
int SmiCoreData::getRowExternalIndex | ( | int | i | ) | [inline] |
Definition at line 218 of file SmiScnData.hpp.
int SmiCoreData::getColExternalIndex | ( | int | i | ) | [inline] |
Definition at line 219 of file SmiScnData.hpp.
const double* SmiCoreData::getDenseRowLower | ( | SmiStageIndex | t | ) | [inline] |
Definition at line 223 of file SmiScnData.hpp.
const double* SmiCoreData::getDenseRowUpper | ( | SmiStageIndex | t | ) | [inline] |
Definition at line 224 of file SmiScnData.hpp.
const double* SmiCoreData::getDenseColLower | ( | SmiStageIndex | t | ) | [inline] |
Definition at line 225 of file SmiScnData.hpp.
const double* SmiCoreData::getDenseColUpper | ( | SmiStageIndex | t | ) | [inline] |
Definition at line 226 of file SmiScnData.hpp.
const double* SmiCoreData::getDenseObjCoefficients | ( | SmiStageIndex | t | ) | [inline] |
Definition at line 227 of file SmiScnData.hpp.
std::vector<int> SmiCoreData::getIntCols | ( | int | stage | ) | [inline] |
Definition at line 229 of file SmiScnData.hpp.
int* SmiCoreData::getIntegerIndices | ( | ) | [inline] |
Definition at line 230 of file SmiScnData.hpp.
int SmiCoreData::getIntegerLength | ( | ) | [inline] |
Definition at line 231 of file SmiScnData.hpp.
int* SmiCoreData::getBinaryIndices | ( | ) | [inline] |
Definition at line 232 of file SmiScnData.hpp.
int SmiCoreData::getBinaryLength | ( | ) | [inline] |
Definition at line 233 of file SmiScnData.hpp.
double SmiCoreData::getInfinity | ( | ) | [inline] |
Definition at line 234 of file SmiScnData.hpp.
void SmiCoreData::copyRowLower | ( | double * | drlo, | |
SmiStageIndex | t | |||
) |
void SmiCoreData::copyRowUpper | ( | double * | drup, | |
SmiStageIndex | t | |||
) |
void SmiCoreData::copyColLower | ( | double * | dclo, | |
SmiStageIndex | t | |||
) |
void SmiCoreData::copyColUpper | ( | double * | dcup, | |
SmiStageIndex | t | |||
) |
void SmiCoreData::copyObjective | ( | double * | dobj, | |
SmiStageIndex | t | |||
) |
SmiNodeData* SmiCoreData::getNode | ( | SmiStageIndex | t | ) | [inline] |
Definition at line 242 of file SmiScnData.hpp.
void SmiCoreData::setColumnNames | ( | char ** | namesStrict, | |
char ** | namesFree | |||
) | [inline] |
Definition at line 244 of file SmiScnData.hpp.
char** SmiCoreData::getColumnNames | ( | bool | strictFormat = true |
) | [inline] |
Definition at line 245 of file SmiScnData.hpp.
void SmiCoreData::addQuadraticObjectiveToCore | ( | int * | starts, | |
int * | indx, | |||
double * | dels | |||
) |
Adds QP data after the constructor has been called.
void SmiCoreData::setHasQdata | ( | bool | b | ) | [inline] |
Definition at line 253 of file SmiScnData.hpp.
bool SmiCoreData::hasQdata | ( | ) | [inline] |
Definition at line 254 of file SmiScnData.hpp.
void SmiCoreData::gutsOfConstructor | ( | int | nrow, | |
int | ncol, | |||
int | nstag, | |||
int * | cstag, | |||
int * | rstag, | |||
CoinPackedMatrix * | matrix, | |||
CoinPackedVector * | dclo, | |||
CoinPackedVector * | dcup, | |||
CoinPackedVector * | dobj, | |||
CoinPackedVector * | drlo, | |||
CoinPackedVector * | drup, | |||
int * | integerIndices = 0 , |
|||
int | integerLength = 0 , |
|||
int * | binaryIndices = 0 , |
|||
int | binaryLength = 0 | |||
) | [private] |
OsiSolverInterface* SmiCoreData::generateCoreProblem | ( | OsiSolverInterface * | osi | ) | [private] |
int SmiCoreData::nrow_ [private] |
Definition at line 270 of file SmiScnData.hpp.
int SmiCoreData::ncol_ [private] |
Definition at line 271 of file SmiScnData.hpp.
int SmiCoreData::nz_ [private] |
Definition at line 272 of file SmiScnData.hpp.
SmiStageIndex SmiCoreData::nstag_ [private] |
Definition at line 273 of file SmiScnData.hpp.
int* SmiCoreData::nColInStage_ [private] |
Definition at line 274 of file SmiScnData.hpp.
int* SmiCoreData::nRowInStage_ [private] |
Definition at line 275 of file SmiScnData.hpp.
int* SmiCoreData::stageColPtr_ [private] |
Definition at line 276 of file SmiScnData.hpp.
int* SmiCoreData::stageRowPtr_ [private] |
Definition at line 277 of file SmiScnData.hpp.
int* SmiCoreData::colStage_ [private] |
Definition at line 278 of file SmiScnData.hpp.
int* SmiCoreData::rowStage_ [private] |
Definition at line 279 of file SmiScnData.hpp.
int* SmiCoreData::colEx2In_ [private] |
Definition at line 280 of file SmiScnData.hpp.
int* SmiCoreData::rowEx2In_ [private] |
Definition at line 281 of file SmiScnData.hpp.
int* SmiCoreData::colIn2Ex_ [private] |
Definition at line 282 of file SmiScnData.hpp.
int* SmiCoreData::rowIn2Ex_ [private] |
Definition at line 283 of file SmiScnData.hpp.
int* SmiCoreData::integerIndices_ [private] |
Definition at line 284 of file SmiScnData.hpp.
int SmiCoreData::integerLength_ [private] |
Definition at line 285 of file SmiScnData.hpp.
int* SmiCoreData::binaryIndices_ [private] |
Definition at line 286 of file SmiScnData.hpp.
int SmiCoreData::binaryLength_ [private] |
Definition at line 287 of file SmiScnData.hpp.
double SmiCoreData::infinity_ [private] |
Definition at line 288 of file SmiScnData.hpp.
double** SmiCoreData::cdrlo_ [private] |
Definition at line 289 of file SmiScnData.hpp.
double** SmiCoreData::cdrup_ [private] |
Definition at line 290 of file SmiScnData.hpp.
double** SmiCoreData::cdobj_ [private] |
Definition at line 291 of file SmiScnData.hpp.
double** SmiCoreData::cdclo_ [private] |
Definition at line 292 of file SmiScnData.hpp.
double** SmiCoreData::cdcup_ [private] |
Definition at line 293 of file SmiScnData.hpp.
SmiQuadraticData* SmiCoreData::sqp_ [private] |
Definition at line 294 of file SmiScnData.hpp.
bool SmiCoreData::hasQdata_ [private] |
Definition at line 295 of file SmiScnData.hpp.
std::vector<SmiNodeData*> SmiCoreData::nodes_ [private] |
Definition at line 296 of file SmiScnData.hpp.
std::vector<double *> SmiCoreData::pDenseRow_ [private] |
Definition at line 297 of file SmiScnData.hpp.
std::vector< std::vector<int> > SmiCoreData::intColsStagewise [private] |
Definition at line 298 of file SmiScnData.hpp.
char** SmiCoreData::colNamesStrict [private] |
Definition at line 299 of file SmiScnData.hpp.
char** SmiCoreData::colNamesFree [private] |
Definition at line 300 of file SmiScnData.hpp.