#include <ClpModel.hpp>
Inheritance diagram for ClpModel:


Public Member Functions | |
| const double * | rowScale () const |
| Scaling. | |
| const double * | columnScale () const |
| const double * | inverseRowScale () const |
| const double * | inverseColumnScale () const |
| double * | mutableRowScale () const |
| double * | mutableColumnScale () const |
| double * | mutableInverseRowScale () const |
| double * | mutableInverseColumnScale () const |
| void | setRowScale (double *scale) |
| void | setColumnScale (double *scale) |
| double | objectiveScale () const |
| Scaling of objective. | |
| void | setObjectiveScale (double value) |
| double | rhsScale () const |
| Scaling of rhs and bounds. | |
| void | setRhsScale (double value) |
| void | scaling (int mode=1) |
| Sets or unsets scaling, 0 -off, 1 equilibrium, 2 geometric, 3 auto, 4 auto-but-as-initialSolve-in-bab. | |
| void | unscale () |
| If we constructed a "really" scaled model then this reverses the operation. | |
| int | scalingFlag () const |
| Gets scalingFlag. | |
| double * | objective () const |
| Objective. | |
| double * | objective (const double *solution, double &offset, bool refresh=true) const |
| const double * | getObjCoefficients () const |
| double * | rowObjective () const |
| Row Objective. | |
| const double * | getRowObjCoefficients () const |
| double * | columnLower () const |
| Column Lower. | |
| const double * | getColLower () const |
| double * | columnUpper () const |
| Column Upper. | |
| const double * | getColUpper () const |
| CoinPackedMatrix * | matrix () const |
| Matrix (if not ClpPackedmatrix be careful about memory leak. | |
| int | getNumElements () const |
| Number of elements in matrix. | |
| double | getSmallElementValue () const |
| Small element value - elements less than this set to zero, default is 1.0e-20. | |
| void | setSmallElementValue (double value) |
| ClpMatrixBase * | rowCopy () const |
| Row Matrix. | |
| ClpMatrixBase * | clpMatrix () const |
| Clp Matrix. | |
| ClpPackedMatrix * | clpScaledMatrix () const |
| Scaled ClpPackedMatrix. | |
| void | setClpScaledMatrix (ClpPackedMatrix *scaledMatrix) |
| Sets pointer to scaled ClpPackedMatrix. | |
| void | replaceMatrix (ClpMatrixBase *matrix, bool deleteCurrent=false) |
| Replace Clp Matrix (current is not deleted unless told to and new is used) So up to user to delete current. | |
| void | replaceMatrix (CoinPackedMatrix *matrix, bool deleteCurrent=false) |
| Replace Clp Matrix (current is not deleted unless told to and new is used) So up to user to delete current. | |
| double | objectiveValue () const |
| Objective value. | |
| void | setObjectiveValue (double value) |
| double | getObjValue () const |
| char * | integerInformation () const |
| Integer information. | |
| double * | infeasibilityRay () const |
| Infeasibility/unbounded ray (NULL returned if none/wrong) Up to user to use delete [] on these arrays. | |
| double * | unboundedRay () const |
| bool | statusExists () const |
| See if status (i.e. basis) array exists (partly for OsiClp). | |
| unsigned char * | statusArray () const |
| Return address of status (i.e. basis) array (char[numberRows+numberColumns]). | |
| unsigned char * | statusCopy () const |
| Return copy of status (i.e. | |
| void | copyinStatus (const unsigned char *statusArray) |
| Copy in status (basis) vector. | |
| void | setUserPointer (void *pointer) |
| User pointer for whatever reason. | |
| void * | getUserPointer () const |
| int | whatsChanged () const |
| What has changed in model (only for masochistic users). | |
| void | setWhatsChanged (int value) |
| int | numberThreads () const |
| Number of threads (not really being used). | |
| void | setNumberThreads (int value) |
Constructors and destructor | |
Note - copy methods copy ALL data so can chew up memory until other copy is freed | |
| ClpModel (bool emptyMessages=false) | |
| Default constructor. | |
| ClpModel (const ClpModel &rhs, int scalingMode=-1) | |
| Copy constructor. | |
| ClpModel & | operator= (const ClpModel &rhs) |
| Assignment operator. This copies the data. | |
| ClpModel (const ClpModel *wholeModel, int numberRows, const int *whichRows, int numberColumns, const int *whichColumns, bool dropNames=true, bool dropIntegers=true) | |
| Subproblem constructor. | |
| ~ClpModel () | |
| Destructor. | |
Load model - loads some stuff and initializes others | |
| void | loadProblem (const ClpMatrixBase &matrix, const double *collb, const double *colub, const double *obj, const double *rowlb, const double *rowub, const double *rowObjective=NULL) |
| Loads a problem (the constraints on the rows are given by lower and upper bounds). | |
| void | loadProblem (const CoinPackedMatrix &matrix, const double *collb, const double *colub, const double *obj, const double *rowlb, const double *rowub, const double *rowObjective=NULL) |
| Loads a problem (the constraints on the rows are given by lower and upper bounds). | |
| 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, const double *rowObjective=NULL) |
| Just like the other loadProblem() method except that the matrix is given in a standard column major ordered format (without gaps). | |
| int | loadProblem (CoinModel &modelObject, bool tryPlusMinusOne=false) |
| This loads a model from a coinModel object - returns number of errors. | |
| void | loadProblem (const int numcols, const int numrows, const CoinBigIndex *start, const int *index, const double *value, const int *length, const double *collb, const double *colub, const double *obj, const double *rowlb, const double *rowub, const double *rowObjective=NULL) |
| This one is for after presolve to save memory. | |
| void | loadQuadraticObjective (const int numberColumns, const CoinBigIndex *start, const int *column, const double *element) |
| Load up quadratic objective. | |
| void | loadQuadraticObjective (const CoinPackedMatrix &matrix) |
| Loads a problem (the constraints on the rows are given by lower and upper bounds). | |
| void | deleteQuadraticObjective () |
| Get rid of quadratic objective. | |
| void | setRowObjective (const double *rowObjective) |
| This just loads up a row objective. | |
| int | readMps (const char *filename, bool keepNames=false, bool ignoreErrors=false) |
| Read an mps file from the given filename. | |
| int | readGMPL (const char *filename, const char *dataName, bool keepNames=false) |
| Read GMPL files from the given filenames. | |
| void | copyInIntegerInformation (const char *information) |
| Copy in integer informations. | |
| void | deleteIntegerInformation () |
| Drop integer informations. | |
| void | setContinuous (int index) |
| Set the index-th variable to be a continuous variable. | |
| void | setInteger (int index) |
| Set the index-th variable to be an integer variable. | |
| bool | isInteger (int index) const |
| Return true if the index-th variable is an integer variable. | |
| void | resize (int newNumberRows, int newNumberColumns) |
| Resizes rim part of model. | |
| void | deleteRows (int number, const int *which) |
| Deletes rows. | |
| void | addRow (int numberInRow, const int *columns, const double *elements, double rowLower=-COIN_DBL_MAX, double rowUpper=COIN_DBL_MAX) |
| Add one row. | |
| void | addRows (int number, const double *rowLower, const double *rowUpper, const CoinBigIndex *rowStarts, const int *columns, const double *elements) |
| Add rows. | |
| void | addRows (int number, const double *rowLower, const double *rowUpper, const CoinBigIndex *rowStarts, const int *rowLengths, const int *columns, const double *elements) |
| Add rows. | |
| void | addRows (int number, const double *rowLower, const double *rowUpper, const CoinPackedVectorBase *const *rows) |
| Loads a problem (the constraints on the rows are given by lower and upper bounds). | |
| int | addRows (const CoinBuild &buildObject, bool tryPlusMinusOne=false, bool checkDuplicates=true) |
| Add rows from a build object. | |
| int | addRows (CoinModel &modelObject, bool tryPlusMinusOne=false, bool checkDuplicates=true) |
| Add rows from a model object. | |
| void | deleteColumns (int number, const int *which) |
| Deletes columns. | |
| void | addColumn (int numberInColumn, const int *rows, const double *elements, double columnLower=0.0, double columnUpper=COIN_DBL_MAX, double objective=0.0) |
| Add one column. | |
| void | addColumns (int number, const double *columnLower, const double *columnUpper, const double *objective, const CoinBigIndex *columnStarts, const int *rows, const double *elements) |
| Add columns. | |
| void | addColumns (int number, const double *columnLower, const double *columnUpper, const double *objective, const CoinBigIndex *columnStarts, const int *columnLengths, const int *rows, const double *elements) |
| Loads a problem (the constraints on the rows are given by lower and upper bounds). | |
| void | addColumns (int number, const double *columnLower, const double *columnUpper, const double *objective, const CoinPackedVectorBase *const *columns) |
| Loads a problem (the constraints on the rows are given by lower and upper bounds). | |
| int | addColumns (const CoinBuild &buildObject, bool tryPlusMinusOne=false, bool checkDuplicates=true) |
| Add columns from a build object If tryPlusMinusOne then will try adding as +-1 matrix if no matrix exists. | |
| int | addColumns (CoinModel &modelObject, bool tryPlusMinusOne=false, bool checkDuplicates=true) |
| Add columns from a model object. | |
| void | modifyCoefficient (int row, int column, double newElement, bool keepZero=false) |
| Modify one element of a matrix. | |
| void | chgRowLower (const double *rowLower) |
| Change row lower bounds. | |
| void | chgRowUpper (const double *rowUpper) |
| Change row upper bounds. | |
| void | chgColumnLower (const double *columnLower) |
| Change column lower bounds. | |
| void | chgColumnUpper (const double *columnUpper) |
| Change column upper bounds. | |
| void | chgObjCoefficients (const double *objIn) |
| Change objective coefficients. | |
| void | borrowModel (ClpModel &otherModel) |
| Borrow model. | |
| void | returnModel (ClpModel &otherModel) |
| Return model - nulls all arrays so can be deleted safely also updates any scalars. | |
| void | createEmptyMatrix () |
| Create empty ClpPackedMatrix. | |
| int | cleanMatrix (double threshold=1.0e-20) |
| Really clean up matrix (if ClpPackedMatrix). | |
| void | copy (const ClpMatrixBase *from, ClpMatrixBase *&to) |
| Copy contents - resizing if necessary - otherwise re-use memory. | |
| void | dropNames () |
| Drops names - makes lengthnames 0 and names empty. | |
| void | copyNames (std::vector< std::string > &rowNames, std::vector< std::string > &columnNames) |
| Copies in names. | |
| void | copyRowNames (const std::vector< std::string > &rowNames, int first, int last) |
| Copies in Row names - modifies names first .. last-1. | |
| void | copyColumnNames (const std::vector< std::string > &columnNames, int first, int last) |
| Copies in Column names - modifies names first .. last-1. | |
| void | copyRowNames (const char *const *rowNames, int first, int last) |
| Copies in Row names - modifies names first .. last-1. | |
| void | copyColumnNames (const char *const *columnNames, int first, int last) |
| Copies in Column names - modifies names first .. last-1. | |
| void | setRowName (int rowIndex, std::string &name) |
| Set name of row. | |
| void | setColumnName (int colIndex, std::string &name) |
| Set name of col. | |
| int | findNetwork (char *rotate, double fractionNeeded=0.75) |
| Find a network subset. | |
| CoinModel * | createCoinModel () const |
| This creates a coinModel object. | |
| int | writeMps (const char *filename, int formatType=0, int numberAcross=2, double objSense=0.0) const |
| Write the problem in MPS format to the specified file. | |
gets and sets | |
| int | numberRows () const |
| Number of rows. | |
| int | getNumRows () const |
| Number of rows. | |
| int | getNumCols () const |
| Number of columns. | |
| int | numberColumns () const |
| Number of rows. | |
| double | primalTolerance () const |
| Primal tolerance to use. | |
| void | setPrimalTolerance (double value) |
| Number of rows. | |
| double | dualTolerance () const |
| Dual tolerance to use. | |
| void | setDualTolerance (double value) |
| Number of rows. | |
| double | primalObjectiveLimit () const |
| Primal objective limit. | |
| void | setPrimalObjectiveLimit (double value) |
| Number of rows. | |
| double | dualObjectiveLimit () const |
| Dual objective limit. | |
| void | setDualObjectiveLimit (double value) |
| Number of rows. | |
| double | objectiveOffset () const |
| Objective offset. | |
| void | setObjectiveOffset (double value) |
| Number of rows. | |
| double | presolveTolerance () const |
| Presolve tolerance to use. | |
| std::string | problemName () const |
| Number of rows. | |
| int | numberIterations () const |
| Number of iterations. | |
| int | getIterationCount () const |
| Number of rows. | |
| void | setNumberIterations (int numberIterations) |
| Number of rows. | |
| int | solveType () const |
| Solve type - 1 simplex, 2 simplex interface, 3 Interior. | |
| void | setSolveType (int type) |
| Number of rows. | |
| int | maximumIterations () const |
| Maximum number of iterations. | |
| void | setMaximumIterations (int value) |
| Number of rows. | |
| double | maximumSeconds () const |
| Maximum time in seconds (from when set called). | |
| void | setMaximumSeconds (double value) |
| Number of rows. | |
| bool | hitMaximumIterations () const |
| Returns true if hit maximum iterations (or time). | |
| int | status () const |
| Status of problem: -1 - unknown e.g. | |
| int | problemStatus () const |
| Number of rows. | |
| void | setProblemStatus (int problemStatus) |
| Set problem status. | |
| int | secondaryStatus () const |
| Secondary status of problem - may get extended 0 - none 1 - primal infeasible because dual limit reached OR probably primal infeasible but can't prove it (main status 4) 2 - scaled problem optimal - unscaled problem has primal infeasibilities 3 - scaled problem optimal - unscaled problem has dual infeasibilities 4 - scaled problem optimal - unscaled problem has primal and dual infeasibilities 5 - giving up in primal with flagged variables 6 - failed due to empty problem check 7 - postSolve says not optimal 8 - failed due to bad element check 9 - status was 3 and stopped on time 100 up - translation of enum from ClpEventHandler. | |
| void | setSecondaryStatus (int status) |
| Number of rows. | |
| bool | isAbandoned () const |
| Are there a numerical difficulties? | |
| bool | isProvenOptimal () const |
| Is optimality proven? | |
| bool | isProvenPrimalInfeasible () const |
| Is primal infeasiblity proven? | |
| bool | isProvenDualInfeasible () const |
| Is dual infeasiblity proven? | |
| bool | isPrimalObjectiveLimitReached () const |
| Is the given primal objective limit reached? | |
| bool | isDualObjectiveLimitReached () const |
| Is the given dual objective limit reached? | |
| bool | isIterationLimitReached () const |
| Iteration limit reached? | |
| double | optimizationDirection () const |
| Direction of optimization (1 - minimize, -1 - maximize, 0 - ignore. | |
| double | getObjSense () const |
| Number of rows. | |
| void | setOptimizationDirection (double value) |
| Number of rows. | |
| double * | primalRowSolution () const |
| Primal row solution. | |
| const double * | getRowActivity () const |
| Number of rows. | |
| double * | primalColumnSolution () const |
| Primal column solution. | |
| const double * | getColSolution () const |
| Number of rows. | |
| void | setColSolution (const double *input) |
| Number of rows. | |
| double * | dualRowSolution () const |
| Dual row solution. | |
| const double * | getRowPrice () const |
| Number of rows. | |
| double * | dualColumnSolution () const |
| Reduced costs. | |
| const double * | getReducedCost () const |
| Number of rows. | |
| double * | rowLower () const |
| Row lower. | |
| const double * | getRowLower () const |
| Number of rows. | |
| double * | rowUpper () const |
| Row upper. | |
| const double * | getRowUpper () const |
| Number of rows. | |
Changing bounds on variables and constraints | |
| void | setObjectiveCoefficient (int elementIndex, double elementValue) |
| Set an objective function coefficient. | |
| void | setObjCoeff (int elementIndex, double elementValue) |
| Set an objective function coefficient. | |
| void | setColumnLower (int elementIndex, double elementValue) |
| Set a single column lower bound Use -DBL_MAX for -infinity. | |
| void | setColumnUpper (int elementIndex, double elementValue) |
| Set a single column upper bound Use DBL_MAX for infinity. | |
| void | setColumnBounds (int elementIndex, double lower, double upper) |
| Set a single column lower and upper bound. | |
| void | setColumnSetBounds (const int *indexFirst, const int *indexLast, const double *boundList) |
| Set the bounds on a number of columns simultaneously The default implementation just invokes setColLower() and setColUpper() over and over again. | |
| void | setColLower (int elementIndex, double elementValue) |
| Set a single column lower bound Use -DBL_MAX for -infinity. | |
| void | setColUpper (int elementIndex, double elementValue) |
| Set a single column upper bound Use DBL_MAX for infinity. | |
| void | setColBounds (int elementIndex, double lower, double upper) |
| Set a single column lower and upper bound. | |
| void | setColSetBounds (const int *indexFirst, const int *indexLast, const double *boundList) |
| Set the bounds on a number of columns simultaneously . | |
| void | setRowLower (int elementIndex, double elementValue) |
| Set a single row lower bound Use -DBL_MAX for -infinity. | |
| void | setRowUpper (int elementIndex, double elementValue) |
| Set a single row upper bound Use DBL_MAX for infinity. | |
| void | setRowBounds (int elementIndex, double lower, double upper) |
| Set a single row lower and upper bound. | |
| void | setRowSetBounds (const int *indexFirst, const int *indexLast, const double *boundList) |
| Set the bounds on a number of rows simultaneously . | |
Message handling | |
| void | passInMessageHandler (CoinMessageHandler *handler) |
| Pass in Message handler (not deleted at end). | |
| CoinMessageHandler * | pushMessageHandler (CoinMessageHandler *handler, bool &oldDefault) |
| Pass in Message handler (not deleted at end) and return current. | |
| void | popMessageHandler (CoinMessageHandler *oldHandler, bool oldDefault) |
| back to previous message handler | |
| void | newLanguage (CoinMessages::Language language) |
| Set language. | |
| void | setLanguage (CoinMessages::Language language) |
| Pass in Message handler (not deleted at end). | |
| CoinMessageHandler * | messageHandler () const |
| Return handler. | |
| CoinMessages | messages () const |
| Return messages. | |
| CoinMessages * | messagesPointer () |
| Return pointer to messages. | |
| CoinMessages | coinMessages () const |
| Return Coin messages. | |
| CoinMessages * | coinMessagesPointer () |
| Return pointer to Coin messages. | |
| void | setLogLevel (int value) |
| Amount of print out: 0 - none 1 - just final 2 - just factorizations 3 - as 2 plus a bit more 4 - verbose above that 8,16,32 etc just for selective debug. | |
| int | logLevel () const |
| Pass in Message handler (not deleted at end). | |
| bool | defaultHandler () const |
| Return true if default handler. | |
| void | passInEventHandler (const ClpEventHandler *eventHandler) |
| Pass in Event handler (cloned and deleted at end). | |
| ClpEventHandler * | eventHandler () const |
| Event handler. | |
| CoinThreadRandom * | randomNumberGenerator () |
| Thread specific random number generator. | |
| CoinThreadRandom & | mutableRandomNumberGenerator () |
| Thread specific random number generator. | |
| void | setRandomSeed (int value) |
| Set seed for thread specific random number generator. | |
| int | lengthNames () const |
| length of names (0 means no names0 | |
| void | setLengthNames (int value) |
| length of names (0 means no names0 | |
| const std::vector< std::string > * | rowNames () const |
| Row names. | |
| const std::string & | rowName (int iRow) const |
| Pass in Message handler (not deleted at end). | |
| std::string | getRowName (int iRow) const |
| Return name or Rnnnnnnn. | |
| const std::vector< std::string > * | columnNames () const |
| Column names. | |
| const std::string & | columnName (int iColumn) const |
| Pass in Message handler (not deleted at end). | |
| std::string | getColumnName (int iColumn) const |
| Return name or Cnnnnnnn. | |
| ClpObjective * | objectiveAsObject () const |
| Objective methods. | |
| void | setObjective (ClpObjective *objective) |
| Pass in Message handler (not deleted at end). | |
| void | setObjectivePointer (ClpObjective *objective) |
| Pass in Message handler (not deleted at end). | |
| int | emptyProblem (int *infeasNumber=NULL, double *infeasSum=NULL, bool printMessage=true) |
| Solve a problem with no elements - return status and dual and primal infeasibilites. | |
Matrix times vector methods | |
They can be faster if scalar is +- 1 These are covers so user need not worry about scaling Also for simplex I am not using basic/non-basic split | |
| void | times (double scalar, const double *x, double *y) const |
Return y + A * x * scalar in y. | |
| void | transposeTimes (double scalar, const double *x, double *y) const |
Return y + x * scalar * A in y. | |
Parameter set/get methods | |
The set methods return true if the parameter was set to the given value, false otherwise. There can be various reasons for failure: the given parameter is not applicable for the solver (e.g., refactorization frequency for the volume algorithm), the parameter is not yet implemented for the solver or simply the value of the parameter is out of the range the solver accepts. If a parameter setting call returns false check the details of your solver. The get methods return true if the given parameter is applicable for the solver and is implemented. In this case the value of the parameter is returned in the second argument. Otherwise they return false.
once it has been decided where solver sits this may be redone | |
| bool | setIntParam (ClpIntParam key, int value) |
| Set an integer parameter. | |
| bool | setDblParam (ClpDblParam key, double value) |
| Set an double parameter. | |
| bool | setStrParam (ClpStrParam key, const std::string &value) |
| Set an string parameter. | |
| bool | getIntParam (ClpIntParam key, int &value) const |
| Set an integer parameter. | |
| bool | getDblParam (ClpDblParam key, double &value) const |
| Set an integer parameter. | |
| bool | getStrParam (ClpStrParam key, std::string &value) const |
| Set an integer parameter. | |
| void | generateCpp (FILE *fp) |
| Create C++ lines to get to current state. | |
| unsigned int | specialOptions () const |
| Set an integer parameter. | |
| void | setSpecialOptions (unsigned int value) |
| Set an integer parameter. | |
| bool | inCbcBranchAndBound () const |
| Set an integer parameter. | |
Protected Member Functions | |
private or protected methods | |
| void | gutsOfDelete (int type) |
| Does most of deletion (0 = all, 1 = most). | |
| void | gutsOfCopy (const ClpModel &rhs, int trueCopy=1) |
| Does most of copying If trueCopy 0 then just points to arrays If -1 leaves as much as possible. | |
| void | getRowBound (int iRow, double &lower, double &upper) const |
| gets lower and upper bounds on rows | |
| void | gutsOfLoadModel (int numberRows, int numberColumns, const double *collb, const double *colub, const double *obj, const double *rowlb, const double *rowub, const double *rowObjective=NULL) |
| puts in format I like - 4 array matrix - may make row copy | |
| void | gutsOfScaling () |
| Does much of scaling. | |
| double | rawObjectiveValue () const |
| Objective value - always minimize. | |
| bool | permanentArrays () const |
| If we are using maximumRows_ and Columns_. | |
| void | startPermanentArrays () |
| Start using maximumRows_ and Columns_. | |
| void | stopPermanentArrays () |
| Stop using maximumRows_ and Columns_. | |
| const char *const * | rowNamesAsChar () const |
| Create row names as char **. | |
| const char *const * | columnNamesAsChar () const |
| Create column names as char **. | |
| void | deleteNamesAsChar (const char *const *names, int number) const |
| Delete char * version of names. | |
| void | onStopped () |
| On stopped - sets secondary status. | |
Protected Attributes | |
data | |
| double | optimizationDirection_ |
| Direction of optimization (1 - minimize, -1 - maximize, 0 - ignore. | |
| double | dblParam_ [ClpLastDblParam] |
| Array of double parameters. | |
| double | objectiveValue_ |
| Objective value. | |
| double | smallElement_ |
| Small element value. | |
| double | objectiveScale_ |
| Scaling of objective. | |
| double | rhsScale_ |
| Scaling of rhs and bounds. | |
| int | numberRows_ |
| Number of rows. | |
| int | numberColumns_ |
| Number of columns. | |
| double * | rowActivity_ |
| Row activities. | |
| double * | columnActivity_ |
| Column activities. | |
| double * | dual_ |
| Duals. | |
| double * | reducedCost_ |
| Reduced costs. | |
| double * | rowLower_ |
| Row lower. | |
| double * | rowUpper_ |
| Row upper. | |
| ClpObjective * | objective_ |
| Objective. | |
| double * | rowObjective_ |
| Row Objective (? sign) - may be NULL. | |
| double * | columnLower_ |
| Column Lower. | |
| double * | columnUpper_ |
| Column Upper. | |
| ClpMatrixBase * | matrix_ |
| Packed matrix. | |
| ClpMatrixBase * | rowCopy_ |
| Row copy if wanted. | |
| ClpPackedMatrix * | scaledMatrix_ |
| Scaled packed matrix. | |
| double * | ray_ |
| Infeasible/unbounded ray. | |
| double * | rowScale_ |
| Row scale factors for matrix. | |
| double * | columnScale_ |
| Column scale factors. | |
| double * | inverseRowScale_ |
| Inverse row scale factors for matrix (end of rowScale_). | |
| double * | inverseColumnScale_ |
| Inverse column scale factors for matrix (end of columnScale_). | |
| int | scalingFlag_ |
| Scale flag, 0 none, 1 equilibrium, 2 geometric, 3, auto, 4 dynamic. | |
| unsigned char * | status_ |
| Status (i.e. | |
| char * | integerType_ |
| Integer information. | |
| void * | userPointer_ |
| User pointer for whatever reason. | |
| int | intParam_ [ClpLastIntParam] |
| Array of integer parameters. | |
| int | numberIterations_ |
| Number of iterations. | |
| int | solveType_ |
| Solve type - 1 simplex, 2 simplex interface, 3 Interior. | |
| unsigned int | whatsChanged_ |
| Whats changed since last solve. | |
| int | problemStatus_ |
| Status of problem. | |
| int | secondaryStatus_ |
| Secondary status of problem. | |
| int | lengthNames_ |
| length of names (0 means no names) | |
| int | numberThreads_ |
| Number of threads (not very operational). | |
| unsigned int | specialOptions_ |
| For advanced options See get and set for meaning. | |
| CoinMessageHandler * | handler_ |
| Message handler. | |
| bool | defaultHandler_ |
| Flag to say if default handler (so delete). | |
| CoinThreadRandom | randomNumberGenerator_ |
| Thread specific random number generator. | |
| ClpEventHandler * | eventHandler_ |
| Event handler. | |
| std::vector< std::string > | rowNames_ |
| Row names. | |
| std::vector< std::string > | columnNames_ |
| Column names. | |
| CoinMessages | messages_ |
| Messages. | |
| CoinMessages | coinMessages_ |
| Coin messages. | |
| int | maximumColumns_ |
| Maximum number of columns in model. | |
| int | maximumRows_ |
| Maximum number of rows in model. | |
| int | maximumInternalColumns_ |
| Maximum number of columns (internal arrays) in model. | |
| int | maximumInternalRows_ |
| Maximum number of rows (internal arrays) in model. | |
| CoinPackedMatrix | baseMatrix_ |
| Base packed matrix. | |
| CoinPackedMatrix | baseRowCopy_ |
| Base row copy. | |
| double * | savedRowScale_ |
| Saved row scale factors for matrix. | |
| double * | savedColumnScale_ |
| Saved column scale factors. | |
| std::string | strParam_ [ClpLastStrParam] |
| Array of string parameters. | |
Definition at line 39 of file ClpModel.hpp.
| ClpModel::ClpModel | ( | bool | emptyMessages = false |
) |
Default constructor.
| ClpModel::ClpModel | ( | const ClpModel & | rhs, |