Changeset 1502 for trunk/Clp/src/ClpCholeskyUfl.hpp
 Timestamp:
 Jan 29, 2010 9:25:07 AM (10 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/Clp/src/ClpCholeskyUfl.hpp
r1370 r1502 6 6 #include "ClpCholeskyBase.hpp" 7 7 #ifdef __cplusplus 8 extern "C" {8 extern "C" { 9 9 #endif 10 10 #ifndef CLP_USE_CHOLMOD … … 12 12 #else 13 13 #include "cholmod.h" 14 #endif 14 #endif 15 15 #ifdef __cplusplus 16 16 } 17 17 #endif 18 18 class ClpMatrixBase; … … 35 35 */ 36 36 class ClpCholeskyUfl : public ClpCholeskyBase { 37 37 38 38 public: 39 /**@name Virtual methods that the derived classes provides */40 //@{41 /** Orders rows and saves pointer to matrix.and model.42 Returns nonzero if not enough memory */43 virtual int order(ClpInterior * model) ;39 /**@name Virtual methods that the derived classes provides */ 40 //@{ 41 /** Orders rows and saves pointer to matrix.and model. 42 Returns nonzero if not enough memory */ 43 virtual int order(ClpInterior * model) ; 44 44 #ifdef CLP_USE_CHOLMOD 45 /** Does Symbolic factorization given permutation.46 This is called immediately after order. If user provides this then47 user must provide factorize and solve. Otherwise the default factorization is used48 returns nonzero if not enough memory */49 virtual int symbolic();50 /** Factorize  filling in rowsDropped and returning number dropped.51 If return code negative then out of memory */52 virtual int factorize(const double * diagonal, int * rowsDropped) ;53 /** Uses factorization to solve. */54 virtual void solve (double * region) ;45 /** Does Symbolic factorization given permutation. 46 This is called immediately after order. If user provides this then 47 user must provide factorize and solve. Otherwise the default factorization is used 48 returns nonzero if not enough memory */ 49 virtual int symbolic(); 50 /** Factorize  filling in rowsDropped and returning number dropped. 51 If return code negative then out of memory */ 52 virtual int factorize(const double * diagonal, int * rowsDropped) ; 53 /** Uses factorization to solve. */ 54 virtual void solve (double * region) ; 55 55 #endif 56 //@}56 //@} 57 57 58 58 59 /**@name Constructors, destructor */60 //@{61 /** Constructor which has dense columns activated.62 Default is off. */63 ClpCholeskyUfl(int denseThreshold=1);64 /** Destructor */65 virtual ~ClpCholeskyUfl();66 // Copy67 ClpCholeskyUfl(const ClpCholeskyUfl&);68 // Assignment69 ClpCholeskyUfl& operator=(const ClpCholeskyUfl&);70 /// Clone71 virtual ClpCholeskyBase * clone() const ;72 //@}73 74 59 /**@name Constructors, destructor */ 60 //@{ 61 /** Constructor which has dense columns activated. 62 Default is off. */ 63 ClpCholeskyUfl(int denseThreshold = 1); 64 /** Destructor */ 65 virtual ~ClpCholeskyUfl(); 66 // Copy 67 ClpCholeskyUfl(const ClpCholeskyUfl&); 68 // Assignment 69 ClpCholeskyUfl& operator=(const ClpCholeskyUfl&); 70 /// Clone 71 virtual ClpCholeskyBase * clone() const ; 72 //@} 73 74 75 75 private: 76 76 #ifdef CLP_USE_CHOLMOD
Note: See TracChangeset
for help on using the changeset viewer.