|
Cbc
2.10.3
|
This is for codes where solver needs to know about CbcModel Seems to provide only one value-added feature, a CbcModel object. More...
#include <CbcFathom.hpp>
Inheritance diagram for CbcOsiSolver:Public Member Functions | |
Constructors and destructors | |
| CbcOsiSolver () | |
| Default Constructor. More... | |
| virtual OsiSolverInterface * | clone (bool copyData=true) const |
| Clone. More... | |
| CbcOsiSolver (const CbcOsiSolver &) | |
| Copy constructor. More... | |
| CbcOsiSolver & | operator= (const CbcOsiSolver &rhs) |
| Assignment operator. More... | |
| virtual | ~CbcOsiSolver () |
| Destructor. More... | |
Sets and Gets | |
| void | setCbcModel (CbcModel *model) |
| Set Cbc Model. More... | |
| CbcModel * | cbcModel () const |
| Return Cbc Model. More... | |
Public Member Functions inherited from OsiClpSolverInterface | |
| virtual void | setObjSense (double s) |
| virtual void | setColSolution (const double *colsol) |
| virtual void | setRowPrice (const double *rowprice) |
| virtual void | initialSolve () |
| virtual void | resolve () |
| virtual void | resolveGub (int needed) |
| virtual void | branchAndBound () |
| void | crossover (int options, int basis) |
| virtual int | canDoSimplexInterface () const |
| virtual void | enableFactorization () const |
| virtual void | disableFactorization () const |
| virtual bool | basisIsAvailable () const |
| virtual void | getBasisStatus (int *cstat, int *rstat) const |
| virtual int | setBasisStatus (const int *cstat, const int *rstat) |
| virtual void | getReducedGradient (double *columnReducedCosts, double *duals, const double *c) const |
| virtual void | getBInvARow (int row, double *z, double *slack=NULL) const |
| virtual void | getBInvARow (int row, CoinIndexedVector *z, CoinIndexedVector *slack=NULL, bool keepScaled=false) const |
| virtual void | getBInvRow (int row, double *z) const |
| virtual void | getBInvACol (int col, double *vec) const |
| virtual void | getBInvACol (int col, CoinIndexedVector *vec) const |
| virtual void | getBInvACol (CoinIndexedVector *vec) const |
| virtual void | getBInvCol (int col, double *vec) const |
| virtual void | getBasics (int *index) const |
| virtual void | enableSimplexInterface (bool doingPrimal) |
| void | copyEnabledSuff (OsiClpSolverInterface &rhs) |
| virtual void | disableSimplexInterface () |
| void | copyEnabledStuff (ClpSimplex &rhs) |
| virtual int | pivot (int colIn, int colOut, int outStatus) |
| virtual int | primalPivotResult (int colIn, int sign, int &colOut, int &outStatus, double &t, CoinPackedVector *dx) |
| virtual int | dualPivotResult (int &colIn, int &sign, int colOut, int outStatus, double &t, CoinPackedVector *dx) |
| bool | setIntParam (OsiIntParam key, int value) |
| bool | setDblParam (OsiDblParam key, double value) |
| bool | setStrParam (OsiStrParam key, const std::string &value) |
| bool | getIntParam (OsiIntParam key, int &value) const |
| bool | getDblParam (OsiDblParam key, double &value) const |
| bool | getStrParam (OsiStrParam key, std::string &value) const |
| virtual bool | setHintParam (OsiHintParam key, bool yesNo=true, OsiHintStrength strength=OsiHintTry, void *otherInformation=NULL) |
| virtual bool | isAbandoned () const |
| virtual bool | isProvenOptimal () const |
| virtual bool | isProvenPrimalInfeasible () const |
| virtual bool | isProvenDualInfeasible () const |
| virtual bool | isPrimalObjectiveLimitReached () const |
| virtual bool | isDualObjectiveLimitReached () const |
| virtual bool | isIterationLimitReached () const |
| virtual CoinWarmStart * | getEmptyWarmStart () const |
| virtual CoinWarmStart * | getWarmStart () const |
| CoinWarmStartBasis * | getPointerToWarmStart () |
| const CoinWarmStartBasis * | getConstPointerToWarmStart () const |
| virtual bool | setWarmStart (const CoinWarmStart *warmstart) |
| virtual CoinWarmStart * | getPointerToWarmStart (bool &mustDelete) |
| void | setColumnStatus (int iColumn, ClpSimplex::Status status) |
| virtual void | markHotStart () |
| virtual void | solveFromHotStart () |
| virtual void | unmarkHotStart () |
| int | startFastDual (int options) |
| void | stopFastDual () |
| void | setStuff (double tolerance, double increment) |
| OsiRowCut * | smallModelCut (const double *originalLower, const double *originalUpper, int numberRowsAtContinuous, const int *whichGenerator, int typeCut=0) |
| OsiRowCut * | modelCut (const double *originalLower, const double *originalUpper, int numberRowsAtContinuous, const int *whichGenerator, int typeCut=0) |
| virtual int | getNumCols () const |
| virtual int | getNumRows () const |
| virtual CoinBigIndex | getNumElements () const |
| virtual std::string | getRowName (int rowIndex, unsigned maxLen=static_cast< unsigned >(std::string::npos)) const |
| virtual std::string | getColName (int colIndex, unsigned maxLen=static_cast< unsigned >(std::string::npos)) const |
| virtual const double * | getColLower () const |
| virtual const double * | getColUpper () const |
| virtual const char * | getRowSense () const |
| virtual const double * | getRightHandSide () const |
| virtual const double * | getRowRange () const |
| virtual const double * | getRowLower () const |
| virtual const double * | getRowUpper () const |
| virtual const double * | getObjCoefficients () const |
| virtual double | getObjSense () const |
| virtual bool | isContinuous (int colNumber) const |
| virtual bool | isBinary (int colIndex) const |
| virtual bool | isInteger (int colIndex) const |
| virtual bool | isIntegerNonBinary (int colIndex) const |
| virtual bool | isFreeBinary (int colIndex) const |
| virtual const char * | getColType (bool refresh=false) const |
| bool | isOptionalInteger (int colIndex) const |
| void | setOptionalInteger (int index) |
| bool | isHeuristicInteger (int colIndex) const |
| int | integerType (int colIndex) const |
| void | setIntegerType (int colIndex, int value) |
| virtual const CoinPackedMatrix * | getMatrixByRow () const |
| virtual const CoinPackedMatrix * | getMatrixByCol () const |
| virtual CoinPackedMatrix * | getMutableMatrixByCol () const |
| virtual double | getInfinity () const |
| virtual const double * | getColSolution () const |
| virtual const double * | getRowPrice () const |
| virtual const double * | getReducedCost () const |
| virtual const double * | getRowActivity () const |
| virtual double | getObjValue () const |
| virtual int | getIterationCount () const |
| virtual std::vector< double * > | getDualRays (int maxNumRays, bool fullRay=false) const |
| virtual std::vector< double * > | getPrimalRays (int maxNumRays) const |
| virtual void | setObjCoeff (int elementIndex, double elementValue) |
| virtual void | setColLower (int elementIndex, double elementValue) |
| virtual void | setColUpper (int elementIndex, double elementValue) |
| virtual void | setColBounds (int elementIndex, double lower, double upper) |
| virtual void | setColSetBounds (const int *indexFirst, const int *indexLast, const double *boundList) |
| virtual void | setRowLower (int elementIndex, double elementValue) |
| virtual void | setRowUpper (int elementIndex, double elementValue) |
| virtual void | setRowBounds (int elementIndex, double lower, double upper) |
| virtual void | setRowType (int index, char sense, double rightHandSide, double range) |
| virtual void | setRowSetBounds (const int *indexFirst, const int *indexLast, const double *boundList) |
| virtual void | setRowSetTypes (const int *indexFirst, const int *indexLast, const char *senseList, const double *rhsList, const double *rangeList) |
| virtual void | setObjective (const double *array) |
| virtual void | setColLower (const double *array) |
| virtual void | setColUpper (const double *array) |
| virtual void | setRowName (int rowIndex, std::string name) |
| virtual void | setColName (int colIndex, std::string name) |
| virtual void | setContinuous (int index) |
| virtual void | setInteger (int index) |
| virtual void | setContinuous (const int *indices, int len) |
| virtual void | setInteger (const int *indices, int len) |
| int | numberSOS () const |
| const CoinSet * | setInfo () const |
| void | replaceSetInfo (int numberSOS, CoinSet *setInfo) |
| virtual int | findIntegersAndSOS (bool justCount) |
| virtual void | addCol (const CoinPackedVectorBase &vec, const double collb, const double colub, const double obj) |
| virtual void | addCol (const CoinPackedVectorBase &vec, const double collb, const double colub, const double obj, std::string name) |
| virtual void | addCol (int numberElements, const int *rows, const double *elements, const double collb, const double colub, const double obj) |
| virtual void | addCol (int numberElements, const int *rows, const double *elements, const double collb, const double colub, const double obj, std::string name) |
| virtual void | addCols (const int numcols, const CoinPackedVectorBase *const *cols, const double *collb, const double *colub, const double *obj) |
| virtual void | addCols (const int numcols, const CoinBigIndex *columnStarts, const int *rows, const double *elements, const double *collb, const double *colub, const double *obj) |
| virtual void | deleteCols (const int num, const int *colIndices) |
| virtual void | addRow (const CoinPackedVectorBase &vec, const double rowlb, const double rowub) |
| virtual void | addRow (const CoinPackedVectorBase &vec, const double rowlb, const double rowub, std::string name) |
| virtual void | addRow (const CoinPackedVectorBase &vec, const char rowsen, const double rowrhs, const double rowrng) |
| virtual void | addRow (int numberElements, const int *columns, const double *element, const double rowlb, const double rowub) |
| virtual void | addRow (const CoinPackedVectorBase &vec, const char rowsen, const double rowrhs, const double rowrng, std::string name) |
| virtual void | addRows (const int numrows, const CoinPackedVectorBase *const *rows, const double *rowlb, const double *rowub) |
| virtual void | addRows (const int numrows, const CoinPackedVectorBase *const *rows, const char *rowsen, const double *rowrhs, const double *rowrng) |
| virtual void | addRows (const int numrows, const CoinBigIndex *rowStarts, const int *columns, const double *element, const double *rowlb, const double *rowub) |
| void | modifyCoefficient (int row, int column, double newElement, bool keepZero=false) |
| virtual void | deleteRows (const int num, const int *rowIndices) |
| virtual void | saveBaseModel () |
| virtual void | restoreBaseModel (int numberRows) |
| virtual void | applyRowCuts (int numberCuts, const OsiRowCut *cuts) |
| virtual void | applyRowCuts (int numberCuts, const OsiRowCut **cuts) |
| virtual ApplyCutsReturnCode | applyCuts (const OsiCuts &cs, double effectivenessLb=0.0) |
| virtual void | loadProblem (const CoinPackedMatrix &matrix, const double *collb, const double *colub, const double *obj, const double *rowlb, const double *rowub) |
| virtual void | assignProblem (CoinPackedMatrix *&matrix, double *&collb, double *&colub, double *&obj, double *&rowlb, double *&rowub) |
| virtual void | loadProblem (const CoinPackedMatrix &matrix, const double *collb, const double *colub, const double *obj, const char *rowsen, const double *rowrhs, const double *rowrng) |
| virtual void | assignProblem (CoinPackedMatrix *&matrix, double *&collb, double *&colub, double *&obj, char *&rowsen, double *&rowrhs, double *&rowrng) |
| virtual void | loadProblem (const ClpMatrixBase &matrix, const double *collb, const double *colub, const double *obj, const double *rowlb, const double *rowub) |
| virtual void | loadProblem (const int numcols, const int numrows, const CoinBigIndex *start, const int *index, const double *value, const double *collb, const double *colub, const double *obj, const double *rowlb, const double *rowub) |
| virtual void | loadProblem (const int numcols, const int numrows, const CoinBigIndex *start, const int *index, const double *value, const double *collb, const double *colub, const double *obj, const char *rowsen, const double *rowrhs, const double *rowrng) |
| virtual int | loadFromCoinModel (CoinModel &modelObject, bool keepSolution=false) |
| virtual int | readMps (const char *filename, const char *extension="mps") |
| int | readMps (const char *filename, bool keepNames, bool allowErrors) |
| virtual int | readMps (const char *filename, const char *extension, int &numberSets, CoinSet **&sets) |
| virtual void | writeMps (const char *filename, const char *extension="mps", double objSense=0.0) const |
| virtual int | writeMpsNative (const char *filename, const char **rowNames, const char **columnNames, int formatType=0, int numberAcross=2, double objSense=0.0) const |
| virtual int | readLp (const char *filename, const double epsilon=1e-5) |
| virtual void | writeLp (const char *filename, const char *extension="lp", double epsilon=1e-5, int numberAcross=10, int decimals=5, double objSense=0.0, bool useRowNames=true) const |
| virtual void | writeLp (FILE *fp, double epsilon=1e-5, int numberAcross=10, int decimals=5, double objSense=0.0, bool useRowNames=true) const |
| virtual void | replaceMatrixOptional (const CoinPackedMatrix &matrix) |
| virtual void | replaceMatrix (const CoinPackedMatrix &matrix) |
| virtual int | readMps (const char *filename, const char *extension="mps") |
| virtual int | readMps (const char *filename, const char *extension, int &numberSets, CoinSet **&sets) |
| virtual int | readMps (const char *filename, const char *extension="mps") |
| virtual int | readMps (const char *filename, const char *extension, int &numberSets, CoinSet **&sets) |
| virtual void | passInMessageHandler (CoinMessageHandler *handler) |
| void | newLanguage (CoinMessages::Language language) |
| void | setLanguage (CoinMessages::Language language) |
| void | setLogLevel (int value) |
| void | generateCpp (FILE *fp) |
| ClpSimplex * | getModelPtr () const |
| ClpSimplex * | swapModelPtr (ClpSimplex *newModel) |
| unsigned int | specialOptions () const |
| void | setSpecialOptions (unsigned int value) |
| int | lastAlgorithm () const |
| void | setLastAlgorithm (int value) |
| int | cleanupScaling () const |
| void | setCleanupScaling (int value) |
| double | smallestElementInCut () const |
| void | setSmallestElementInCut (double value) |
| double | smallestChangeInCut () const |
| void | setSmallestChangeInCut (double value) |
| void | setSolveOptions (const ClpSolve &options) |
| virtual int | tightenBounds (int lightweight=0) |
| int | infeasibleOtherWay (char *whichWay) |
| virtual CoinBigIndex | getSizeL () const |
| virtual CoinBigIndex | getSizeU () const |
| const OsiClpDisasterHandler * | disasterHandler () const |
| void | passInDisasterHandler (OsiClpDisasterHandler *handler) |
| ClpLinearObjective * | fakeObjective () const |
| void | setFakeObjective (ClpLinearObjective *fakeObjective) |
| void | setFakeObjective (double *fakeObjective) |
| void | setupForRepeatedUse (int senseOfAdventure=0, int printOut=0) |
| virtual void | synchronizeModel () |
| void | setSpecialOptionsMutable (unsigned int value) const |
| OsiClpSolverInterface () | |
| OsiClpSolverInterface (const OsiClpSolverInterface &) | |
| OsiClpSolverInterface (ClpSimplex *rhs, bool reallyOwn=false) | |
| void | releaseClp () |
| OsiClpSolverInterface & | operator= (const OsiClpSolverInterface &rhs) |
| virtual | ~OsiClpSolverInterface () |
| virtual void | reset () |
| virtual void | initialSolve () |
| virtual void | resolve () |
| virtual void | resolveGub (int needed) |
| virtual void | branchAndBound () |
| void | crossover (int options, int basis) |
| virtual int | canDoSimplexInterface () const |
| virtual void | enableFactorization () const |
| virtual void | disableFactorization () const |
| virtual bool | basisIsAvailable () const |
| virtual void | getBasisStatus (int *cstat, int *rstat) const |
| virtual int | setBasisStatus (const int *cstat, const int *rstat) |
| virtual void | getReducedGradient (double *columnReducedCosts, double *duals, const double *c) const |
| virtual void | getBInvARow (int row, double *z, double *slack=NULL) const |
| virtual void | getBInvARow (int row, CoinIndexedVector *z, CoinIndexedVector *slack=NULL, bool keepScaled=false) const |
| virtual void | getBInvRow (int row, double *z) const |
| virtual void | getBInvACol (int col, double *vec) const |
| virtual void | getBInvACol (int col, CoinIndexedVector *vec) const |
| virtual void | getBInvACol (CoinIndexedVector *vec) const |
| virtual void | getBInvCol (int col, double *vec) const |
| virtual void | getBasics (int *index) const |
| virtual void | enableSimplexInterface (bool doingPrimal) |
| void | copyEnabledSuff (OsiClpSolverInterface &rhs) |
| virtual void | disableSimplexInterface () |
| void | copyEnabledStuff (ClpSimplex &rhs) |
| virtual int | pivot (int colIn, int colOut, int outStatus) |
| virtual int | primalPivotResult (int colIn, int sign, int &colOut, int &outStatus, double &t, CoinPackedVector *dx) |
| virtual int | dualPivotResult (int &colIn, int &sign, int colOut, int outStatus, double &t, CoinPackedVector *dx) |
| bool | setIntParam (OsiIntParam key, int value) |
| bool | setDblParam (OsiDblParam key, double value) |
| bool | setStrParam (OsiStrParam key, const std::string &value) |
| bool | getIntParam (OsiIntParam key, int &value) const |
| bool | getDblParam (OsiDblParam key, double &value) const |
| bool | getStrParam (OsiStrParam key, std::string &value) const |
| virtual bool | setHintParam (OsiHintParam key, bool yesNo=true, OsiHintStrength strength=OsiHintTry, void *otherInformation=NULL) |
| virtual bool | isAbandoned () const |
| virtual bool | isProvenOptimal () const |
| virtual bool | isProvenPrimalInfeasible () const |
| virtual bool | isProvenDualInfeasible () const |
| virtual bool | isPrimalObjectiveLimitReached () const |
| virtual bool | isDualObjectiveLimitReached () const |
| virtual bool | isIterationLimitReached () const |
| virtual CoinWarmStart * | getEmptyWarmStart () const |
| virtual CoinWarmStart * | getWarmStart () const |
| CoinWarmStartBasis * | getPointerToWarmStart () |
| const CoinWarmStartBasis * | getConstPointerToWarmStart () const |
| virtual bool | setWarmStart (const CoinWarmStart *warmstart) |
| virtual CoinWarmStart * | getPointerToWarmStart (bool &mustDelete) |
| void | setColumnStatus (int iColumn, ClpSimplex::Status status) |
| virtual void | markHotStart () |
| virtual void | solveFromHotStart () |
| virtual void | unmarkHotStart () |
| int | startFastDual (int options) |
| void | stopFastDual () |
| void | setStuff (double tolerance, double increment) |
| OsiRowCut * | smallModelCut (const double *originalLower, const double *originalUpper, int numberRowsAtContinuous, const int *whichGenerator, int typeCut=0) |
| OsiRowCut * | modelCut (const double *originalLower, const double *originalUpper, int numberRowsAtContinuous, const int *whichGenerator, int typeCut=0) |
| virtual int | getNumCols () const |
| virtual int | getNumRows () const |
| virtual CoinBigIndex | getNumElements () const |
| virtual std::string | getRowName (int rowIndex, unsigned maxLen=static_cast< unsigned >(std::string::npos)) const |
| virtual std::string | getColName (int colIndex, unsigned maxLen=static_cast< unsigned >(std::string::npos)) const |
| virtual const double * | getColLower () const |
| virtual const double * | getColUpper () const |
| virtual const char * | getRowSense () const |
| virtual const double * | getRightHandSide () const |
| virtual const double * | getRowRange () const |
| virtual const double * | getRowLower () const |
| virtual const double * | getRowUpper () const |
| virtual const double * | getObjCoefficients () const |
| virtual double | getObjSense () const |
| virtual bool | isContinuous (int colNumber) const |
| virtual bool | isBinary (int colIndex) const |
| virtual bool | isInteger (int colIndex) const |
| virtual bool | isIntegerNonBinary (int colIndex) const |
| virtual bool | isFreeBinary (int colIndex) const |
| virtual const char * | getColType (bool refresh=false) const |
| bool | isOptionalInteger (int colIndex) const |
| void | setOptionalInteger (int index) |
| bool | isHeuristicInteger (int colIndex) const |
| int | integerType (int colIndex) const |
| void | setIntegerType (int colIndex, int value) |
| virtual const CoinPackedMatrix * | getMatrixByRow () const |
| virtual const CoinPackedMatrix * | getMatrixByCol () const |
| virtual CoinPackedMatrix * | getMutableMatrixByCol () const |
| virtual double | getInfinity () const |
| virtual const double * | getColSolution () const |
| virtual const double * | getRowPrice () const |
| virtual const double * | getReducedCost () const |
| virtual const double * | getRowActivity () const |
| virtual double | getObjValue () const |
| virtual int | getIterationCount () const |
| virtual std::vector< double * > | getDualRays (int maxNumRays, bool fullRay=false) const |
| virtual std::vector< double * > | getPrimalRays (int maxNumRays) const |
| virtual void | setObjCoeff (int elementIndex, double elementValue) |
| virtual void | setColLower (int elementIndex, double elementValue) |
| virtual void | setColUpper (int elementIndex, double elementValue) |
| virtual void | setColBounds (int elementIndex, double lower, double upper) |
| virtual void | setColSetBounds (const int *indexFirst, const int *indexLast, const double *boundList) |
| virtual void | setRowLower (int elementIndex, double elementValue) |
| virtual void | setRowUpper (int elementIndex, double elementValue) |
| virtual void | setRowBounds (int elementIndex, double lower, double upper) |
| virtual void | setRowType (int index, char sense, double rightHandSide, double range) |
| virtual void | setRowSetBounds (const int *indexFirst, const int *indexLast, const double *boundList) |
| virtual void | setRowSetTypes (const int *indexFirst, const int *indexLast, const char *senseList, const double *rhsList, const double *rangeList) |
| virtual void | setObjective (const double *array) |
| virtual void | setColLower (const double *array) |
| virtual void | setColUpper (const double *array) |
| virtual void | setRowName (int rowIndex, std::string name) |
| virtual void | setColName (int colIndex, std::string name) |
| virtual void | setContinuous (int index) |
| virtual void | setInteger (int index) |
| virtual void | setContinuous (const int *indices, int len) |
| virtual void | setInteger (const int *indices, int len) |
| int | numberSOS () const |
| const CoinSet * | setInfo () const |
| void | replaceSetInfo (int numberSOS, CoinSet *setInfo) |
| virtual int | findIntegersAndSOS (bool justCount) |
| virtual void | addCol (const CoinPackedVectorBase &vec, const double collb, const double colub, const double obj) |
| virtual void | addCol (const CoinPackedVectorBase &vec, const double collb, const double colub, const double obj, std::string name) |
| virtual void | addCol (int numberElements, const int *rows, const double *elements, const double collb, const double colub, const double obj) |
| virtual void | addCol (int numberElements, const int *rows, const double *elements, const double collb, const double colub, const double obj, std::string name) |
| virtual void | addCols (const int numcols, const CoinPackedVectorBase *const *cols, const double *collb, const double *colub, const double *obj) |
| virtual void | addCols (const int numcols, const CoinBigIndex *columnStarts, const int *rows, const double *elements, const double *collb, const double *colub, const double *obj) |
| virtual void | deleteCols (const int num, const int *colIndices) |
| virtual void | addRow (const CoinPackedVectorBase &vec, const double rowlb, const double rowub) |
| virtual void | addRow (const CoinPackedVectorBase &vec, const double rowlb, const double rowub, std::string name) |
| virtual void | addRow (const CoinPackedVectorBase &vec, const char rowsen, const double rowrhs, const double rowrng) |
| virtual void | addRow (int numberElements, const int *columns, const double *element, const double rowlb, const double rowub) |
| virtual void | addRow (const CoinPackedVectorBase &vec, const char rowsen, const double rowrhs, const double rowrng, std::string name) |
| virtual void | addRows (const int numrows, const CoinPackedVectorBase *const *rows, const double *rowlb, const double *rowub) |
| virtual void | addRows (const int numrows, const CoinPackedVectorBase *const *rows, const char *rowsen, const double *rowrhs, const double *rowrng) |
| virtual void | addRows (const int numrows, const CoinBigIndex *rowStarts, const int *columns, const double *element, const double *rowlb, const double *rowub) |
| void | modifyCoefficient (int row, int column, double newElement, bool keepZero=false) |
| virtual void | deleteRows (const int num, const int *rowIndices) |
| virtual void | saveBaseModel () |
| virtual void | restoreBaseModel (int numberRows) |
| virtual void | applyRowCuts (int numberCuts, const OsiRowCut *cuts) |
| virtual void | applyRowCuts (int numberCuts, const OsiRowCut **cuts) |
| virtual ApplyCutsReturnCode | applyCuts (const OsiCuts &cs, double effectivenessLb=0.0) |
| virtual void | loadProblem (const CoinPackedMatrix &matrix, const double *collb, const double *colub, const double *obj, const double *rowlb, const double *rowub) |
| virtual void | assignProblem (CoinPackedMatrix *&matrix, double *&collb, double *&colub, double *&obj, double *&rowlb, double *&rowub) |
| virtual void | loadProblem (const CoinPackedMatrix &matrix, const double *collb, const double *colub, const double *obj, const char *rowsen, const double *rowrhs, const double *rowrng) |
| virtual void | assignProblem (CoinPackedMatrix *&matrix, double *&collb, double *&colub, double *&obj, char *&rowsen, double *&rowrhs, double *&rowrng) |
| virtual void | loadProblem (const ClpMatrixBase &matrix, const double *collb, const double *colub, const double *obj, const double *rowlb, const double *rowub) |
| virtual void | loadProblem (const int numcols, const int numrows, const CoinBigIndex *start, const int *index, const double *value, const double *collb, const double *colub, const double *obj, const double *rowlb, const double *rowub) |
| virtual void | loadProblem (const int numcols, const int numrows, const CoinBigIndex *start, const int *index, const double *value, const double *collb, const double *colub, const double *obj, const char *rowsen, const double *rowrhs, const double *rowrng) |
| virtual int | loadFromCoinModel (CoinModel &modelObject, bool keepSolution=false) |
| virtual int | readMps (const char *filename, const char *extension="mps") |
| int | readMps (const char *filename, bool keepNames, bool allowErrors) |
| virtual int | readMps (const char *filename, const char *extension, int &numberSets, CoinSet **&sets) |
| virtual void | writeMps (const char *filename, const char *extension="mps", double objSense=0.0) const |
| virtual int | writeMpsNative (const char *filename, const char **rowNames, const char **columnNames, int formatType=0, int numberAcross=2, double objSense=0.0) const |
| virtual int | readLp (const char *filename, const double epsilon=1e-5) |
| virtual void | writeLp (const char *filename, const char *extension="lp", double epsilon=1e-5, int numberAcross=10, int decimals=5, double objSense=0.0, bool useRowNames=true) const |
| virtual void | writeLp (FILE *fp, double epsilon=1e-5, int numberAcross=10, int decimals=5, double objSense=0.0, bool useRowNames=true) const |
| virtual void | replaceMatrixOptional (const CoinPackedMatrix &matrix) |
| virtual void | replaceMatrix (const CoinPackedMatrix &matrix) |
| virtual int | readMps (const char *filename, const char *extension="mps") |
| virtual int | readMps (const char *filename, const char *extension, int &numberSets, CoinSet **&sets) |
| virtual int | readMps (const char *filename, const char *extension="mps") |
| virtual int | readMps (const char *filename, const char *extension, int &numberSets, CoinSet **&sets) |
| virtual void | passInMessageHandler (CoinMessageHandler *handler) |
| void | newLanguage (CoinMessages::Language language) |
| void | setLanguage (CoinMessages::Language language) |
| void | setLogLevel (int value) |
| void | generateCpp (FILE *fp) |
| ClpSimplex * | getModelPtr () const |
| ClpSimplex * | swapModelPtr (ClpSimplex *newModel) |
| unsigned int | specialOptions () const |
| void | setSpecialOptions (unsigned int value) |
| int | lastAlgorithm () const |
| void | setLastAlgorithm (int value) |
| int | cleanupScaling () const |
| void | setCleanupScaling (int value) |
| double | smallestElementInCut () const |
| void | setSmallestElementInCut (double value) |
| double | smallestChangeInCut () const |
| void | setSmallestChangeInCut (double value) |
| void | setSolveOptions (const ClpSolve &options) |
| virtual int | tightenBounds (int lightweight=0) |
| int | infeasibleOtherWay (char *whichWay) |
| virtual CoinBigIndex | getSizeL () const |
| virtual CoinBigIndex | getSizeU () const |
| const OsiClpDisasterHandler * | disasterHandler () const |
| void | passInDisasterHandler (OsiClpDisasterHandler *handler) |
| ClpLinearObjective * | fakeObjective () const |
| void | setFakeObjective (ClpLinearObjective *fakeObjective) |
| void | setFakeObjective (double *fakeObjective) |
| void | setupForRepeatedUse (int senseOfAdventure=0, int printOut=0) |
| virtual void | synchronizeModel () |
| void | setSpecialOptionsMutable (unsigned int value) const |
| OsiClpSolverInterface () | |
| OsiClpSolverInterface (const OsiClpSolverInterface &) | |
| OsiClpSolverInterface (ClpSimplex *rhs, bool reallyOwn=false) | |
| void | releaseClp () |
| OsiClpSolverInterface & | operator= (const OsiClpSolverInterface &rhs) |
| virtual | ~OsiClpSolverInterface () |
| virtual void | reset () |
| void | setBasis (const CoinWarmStartBasis &basis) |
| void | setBasis () |
| CoinWarmStartDiff * | getBasisDiff (const unsigned char *statusArray) const |
| CoinWarmStartBasis * | getBasis (const unsigned char *statusArray) const |
| void | deleteScaleFactors () |
| const double * | upRange () const |
| const double * | downRange () const |
| void | passInRanges (int *array) |
| void | setSOSData (int numberSOS, const char *type, const int *start, const int *indices, const double *weights=NULL) |
| void | computeLargestAway () |
| double | largestAway () const |
| void | setLargestAway (double value) |
| void | lexSolve () |
| ClpSimplex * | getContinuousModel () const |
| void | setContinuousModel (ClpSimplex *model) |
Public Member Functions inherited from OsiSolverInterface | |
| virtual bool | getHintParam (OsiHintParam key, bool &yesNo, OsiHintStrength &strength, void *&otherInformation) const |
| virtual bool | getHintParam (OsiHintParam key, bool &yesNo, OsiHintStrength &strength) const |
| virtual bool | getHintParam (OsiHintParam key, bool &yesNo) const |
| void | copyParameters (OsiSolverInterface &rhs) |
| double | getIntegerTolerance () const |
| virtual int | getNumIntegers () const |
| const char * | columnType (bool refresh=false) const |
| void | setColumnType (int iColumn, char type) |
| virtual CoinPackedMatrix * | getMutableMatrixByRow () const |
| virtual const double * | getStrictColSolution () |
| virtual OsiVectorInt | getFractionalIndices (const double etol=1.e-05) const |
| virtual void | setObjCoeffSet (const int *indexFirst, const int *indexLast, const double *coeffList) |
| virtual int | reducedCostFix (double gap, bool justInteger=true) |
| virtual std::string | dfltRowColName (char rc, int ndx, unsigned digits=7) const |
| virtual std::string | getObjName (unsigned maxLen=static_cast< unsigned >(std::string::npos)) const |
| virtual void | setObjName (std::string name) |
| virtual const OsiNameVec & | getRowNames () |
| virtual void | setRowNames (OsiNameVec &srcNames, int srcStart, int len, int tgtStart) |
| virtual void | deleteRowNames (int tgtStart, int len) |
| virtual const OsiNameVec & | getColNames () |
| virtual void | setColNames (OsiNameVec &srcNames, int srcStart, int len, int tgtStart) |
| virtual void | deleteColNames (int tgtStart, int len) |
| void | setRowColNames (const CoinMpsIO &mps) |
| void | setRowColNames (CoinModel &mod) |
| void | setRowColNames (CoinLpIO &mod) |
| void | addCols (const CoinBuild &buildObject) |
| int | addCols (CoinModel &modelObject) |
| void | addRows (const CoinBuild &buildObject) |
| int | addRows (CoinModel &modelObject) |
| void | deleteBranchingInfo (int numberDeleted, const int *which) |
| virtual int | readGMPL (const char *filename, const char *dataname=NULL) |
| int | writeMpsNative (const char *filename, const char **rowNames, const char **columnNames, int formatType=0, int numberAcross=2, double objSense=0.0, int numberSOS=0, const CoinSet *setInfo=NULL) const |
| int | writeLpNative (const char *filename, char const *const *const rowNames, char const *const *const columnNames, const double epsilon=1.0e-5, const int numberAcross=10, const int decimals=5, const double objSense=0.0, const bool useRowNames=true) const |
| int | writeLpNative (FILE *fp, char const *const *const rowNames, char const *const *const columnNames, const double epsilon=1.0e-5, const int numberAcross=10, const int decimals=5, const double objSense=0.0, const bool useRowNames=true) const |
| int | readLp (FILE *fp, const double epsilon=1e-5) |
| int | differentModel (OsiSolverInterface &other, bool ignoreNames=true) |
| void | statistics (double &minimumNegative, double &maximumNegative, double &minimumPositive, double &maximumPositive, int type=3) const |
| void | setApplicationData (void *appData) |
| void | setAuxiliaryInfo (OsiAuxInfo *auxiliaryInfo) |
| void * | getApplicationData () const |
| OsiAuxInfo * | getAuxiliaryInfo () const |
| void | newLanguage (CoinMessages::Language language) |
| void | setLanguage (CoinMessages::Language language) |
| CoinMessageHandler * | messageHandler () const |
| CoinMessages | messages () |
| CoinMessages * | messagesPointer () |
| bool | defaultHandler () const |
| void | findIntegers (bool justCount) |
| int | numberObjects () const |
| void | setNumberObjects (int number) |
| OsiObject ** | objects () const |
| const OsiObject * | object (int which) const |
| OsiObject * | modifiableObject (int which) const |
| void | deleteObjects () |
| void | addObjects (int numberObjects, OsiObject **objects) |
| double | forceFeasible () |
| virtual void | activateRowCutDebugger (const char *modelName) |
| virtual void | activateRowCutDebugger (const double *solution, bool enforceOptimality=true) |
| const OsiRowCutDebugger * | getRowCutDebugger () const |
| OsiRowCutDebugger * | getRowCutDebuggerAlways () const |
| bool | optimalBasisIsAvailable () const |
| OsiSolverInterface () | |
| OsiSolverInterface (const OsiSolverInterface &) | |
| OsiSolverInterface & | operator= (const OsiSolverInterface &rhs) |
| virtual | ~OsiSolverInterface () |
| virtual bool | getHintParam (OsiHintParam key, bool &yesNo, OsiHintStrength &strength, void *&otherInformation) const |
| virtual bool | getHintParam (OsiHintParam key, bool &yesNo, OsiHintStrength &strength) const |
| virtual bool | getHintParam (OsiHintParam key, bool &yesNo) const |
| void | copyParameters (OsiSolverInterface &rhs) |
| double | getIntegerTolerance () const |
| virtual int | getNumIntegers () const |
| const char * | columnType (bool refresh=false) const |
| void | setColumnType (int iColumn, char type) |
| virtual CoinPackedMatrix * | getMutableMatrixByRow () const |
| virtual const double * | getStrictColSolution () |
| virtual OsiVectorInt | getFractionalIndices (const double etol=1.e-05) const |
| virtual void | setObjCoeffSet (const int *indexFirst, const int *indexLast, const double *coeffList) |
| virtual int | reducedCostFix (double gap, bool justInteger=true) |
| virtual std::string | dfltRowColName (char rc, int ndx, unsigned digits=7) const |
| virtual std::string | getObjName (unsigned maxLen=static_cast< unsigned >(std::string::npos)) const |
| virtual void | setObjName (std::string name) |
| virtual const OsiNameVec & | getRowNames () |
| virtual void | setRowNames (OsiNameVec &srcNames, int srcStart, int len, int tgtStart) |
| virtual void | deleteRowNames (int tgtStart, int len) |
| virtual const OsiNameVec & | getColNames () |
| virtual void | setColNames (OsiNameVec &srcNames, int srcStart, int len, int tgtStart) |
| virtual void | deleteColNames (int tgtStart, int len) |
| void | setRowColNames (const CoinMpsIO &mps) |
| void | setRowColNames (CoinModel &mod) |
| void | setRowColNames (CoinLpIO &mod) |
| void | addCols (const CoinBuild &buildObject) |
| int | addCols (CoinModel &modelObject) |
| void | addRows (const CoinBuild &buildObject) |
| int | addRows (CoinModel &modelObject) |
| void | deleteBranchingInfo (int numberDeleted, const int *which) |
| virtual int | readGMPL (const char *filename, const char *dataname=NULL) |
| int | writeMpsNative (const char *filename, const char **rowNames, const char **columnNames, int formatType=0, int numberAcross=2, double objSense=0.0, int numberSOS=0, const CoinSet *setInfo=NULL) const |
| int | writeLpNative (const char *filename, char const *const *const rowNames, char const *const *const columnNames, const double epsilon=1.0e-5, const int numberAcross=10, const int decimals=5, const double objSense=0.0, const bool useRowNames=true) const |
| int | writeLpNative (FILE *fp, char const *const *const rowNames, char const *const *const columnNames, const double epsilon=1.0e-5, const int numberAcross=10, const int decimals=5, const double objSense=0.0, const bool useRowNames=true) const |
| int | readLp (FILE *fp, const double epsilon=1e-5) |
| int | differentModel (OsiSolverInterface &other, bool ignoreNames=true) |
| void | statistics (double &minimumNegative, double &maximumNegative, double &minimumPositive, double &maximumPositive, int type=3) const |
| void | setApplicationData (void *appData) |
| void | setAuxiliaryInfo (OsiAuxInfo *auxiliaryInfo) |
| void * | getApplicationData () const |
| OsiAuxInfo * | getAuxiliaryInfo () const |
| void | newLanguage (CoinMessages::Language language) |
| void | setLanguage (CoinMessages::Language language) |
| CoinMessageHandler * | messageHandler () const |
| CoinMessages | messages () |
| CoinMessages * | messagesPointer () |
| bool | defaultHandler () const |
| void | findIntegers (bool justCount) |
| int | numberObjects () const |
| void | setNumberObjects (int number) |
| OsiObject ** | objects () const |
| const OsiObject * | object (int which) const |
| OsiObject * | modifiableObject (int which) const |
| void | deleteObjects () |
| void | addObjects (int numberObjects, OsiObject **objects) |
| double | forceFeasible () |
| virtual void | activateRowCutDebugger (const char *modelName) |
| virtual void | activateRowCutDebugger (const double *solution, bool enforceOptimality=true) |
| const OsiRowCutDebugger * | getRowCutDebugger () const |
| OsiRowCutDebugger * | getRowCutDebuggerAlways () const |
| bool | optimalBasisIsAvailable () const |
| OsiSolverInterface () | |
| OsiSolverInterface (const OsiSolverInterface &) | |
| OsiSolverInterface & | operator= (const OsiSolverInterface &rhs) |
| virtual | ~OsiSolverInterface () |
Additional Inherited Members | |
Public Types inherited from OsiSolverInterface | |
| typedef std::vector< std::string > | OsiNameVec |
Protected Member Functions inherited from OsiClpSolverInterface | |
| virtual void | applyRowCut (const OsiRowCut &rc) |
| virtual void | applyColCut (const OsiColCut &cc) |
| void | gutsOfDestructor () |
| void | freeCachedResults () const |
| void | freeCachedResults0 () const |
| void | freeCachedResults1 () const |
| void | extractSenseRhsRange () const |
| void | fillParamMaps () |
| CoinWarmStartBasis | getBasis (ClpSimplex *model) const |
| void | setBasis (const CoinWarmStartBasis &basis, ClpSimplex *model) |
| void | crunch () |
| void | redoScaleFactors (int numberRows, const CoinBigIndex *starts, const int *indices, const double *elements) |
Protected Member Functions inherited from OsiSolverInterface | |
| void | convertBoundToSense (const double lower, const double upper, char &sense, double &right, double &range) const |
| void | convertSenseToBound (const char sense, const double right, const double range, double &lower, double &upper) const |
| T | forceIntoRange (const T value, const T lower, const T upper) const |
| void | setInitialData () |
| void | convertBoundToSense (const double lower, const double upper, char &sense, double &right, double &range) const |
| void | convertSenseToBound (const char sense, const double right, const double range, double &lower, double &upper) const |
| T | forceIntoRange (const T value, const T lower, const T upper) const |
| void | setInitialData () |
This is for codes where solver needs to know about CbcModel Seems to provide only one value-added feature, a CbcModel object.
Definition at line 88 of file CbcFathom.hpp.
| CbcOsiSolver::CbcOsiSolver | ( | ) |
Default Constructor.
| CbcOsiSolver::CbcOsiSolver | ( | const CbcOsiSolver & | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
| CbcOsiSolver& CbcOsiSolver::operator= | ( | const CbcOsiSolver & | rhs | ) |
Assignment operator.
|
inline |
Set Cbc Model.
Definition at line 113 of file CbcFathom.hpp.
|
inline |
Return Cbc Model.
Definition at line 118 of file CbcFathom.hpp.
|
protected |
Pointer back to CbcModel.
Definition at line 130 of file CbcFathom.hpp.
1.8.14