source: trunk/Clp/src/ClpCholeskyWssmp.hpp @ 754

Last change on this file since 754 was 754, checked in by andreasw, 14 years ago

first version

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1// Copyright (C) 2003, International Business Machines
2// Corporation and others.  All Rights Reserved.
3#ifndef ClpCholeskyWssmp_H
4#define ClpCholeskyWssmp_H
5
6#include "ClpCholeskyBase.hpp"
7class ClpMatrixBase;
8class ClpCholeskyDense;
9
10
11/** Wssmp class for Clp Cholesky factorization
12
13*/
14class ClpCholeskyWssmp : public ClpCholeskyBase {
15 
16public:
17   /**@name Virtual methods that the derived classes provides  */
18   //@{
19  /** Orders rows and saves pointer to matrix.and model.
20   Returns non-zero if not enough memory */
21  virtual int order(ClpInterior * model) ;
22  /** Does Symbolic factorization given permutation.
23      This is called immediately after order.  If user provides this then
24      user must provide factorize and solve.  Otherwise the default factorization is used
25      returns non-zero if not enough memory */
26  virtual int symbolic();
27  /** Factorize - filling in rowsDropped and returning number dropped.
28      If return code negative then out of memory */
29  virtual int factorize(const double * diagonal, int * rowsDropped) ;
30  /** Uses factorization to solve. */
31  virtual void solve (double * region) ;
32  //@}
33
34
35  /**@name Constructors, destructor */
36  //@{
37  /** Constructor which has dense columns activated.
38      Default is off. */
39  ClpCholeskyWssmp(int denseThreshold=-1);
40  /** Destructor  */
41  virtual ~ClpCholeskyWssmp();
42  // Copy
43  ClpCholeskyWssmp(const ClpCholeskyWssmp&);
44  // Assignment
45  ClpCholeskyWssmp& operator=(const ClpCholeskyWssmp&);
46  /// Clone
47  virtual ClpCholeskyBase * clone() const ;
48  //@}
49   
50   
51private:
52  /**@name Data members */
53   //@{
54  //@}
55};
56
57#endif
Note: See TracBrowser for help on using the repository browser.