source: trunk/include/ClpCholeskyDense.hpp @ 265

Last change on this file since 265 was 265, checked in by forrest, 16 years ago

Trying to improve cycling

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1// Copyright (C) 2003, International Business Machines
2// Corporation and others.  All Rights Reserved.
3#ifndef ClpCholeskyDense_H
4#define ClpCholeskyDense_H
5
6#include "ClpCholeskyBase.hpp"
7
8
9/** Dense class for Clp Cholesky factorization
10
11*/
12class ClpMatrixBase;
13class ClpCholeskyDense : public ClpCholeskyBase {
14 
15public:
16   /**@name Virtual methods that the derived classes provides  */
17   //@{
18  /** Orders rows and saves pointer to matrix.and model.
19   Returns non-zero if not enough memory */
20  virtual int order(ClpInterior * model) ;
21  /** Factorize - filling in rowsDropped and returning number dropped */
22  virtual int factorize(const double * diagonal, int * rowsDropped) ;
23  /** Uses factorization to solve. */
24  virtual void solve (double * region) ;
25  //@}
26
27
28  /**@name Constructors, destructor */
29  //@{
30  /** Default constructor. */
31  ClpCholeskyDense();
32  /** Destructor  */
33  virtual ~ClpCholeskyDense();
34  // Copy
35  ClpCholeskyDense(const ClpCholeskyDense&);
36  // Assignment
37  ClpCholeskyDense& operator=(const ClpCholeskyDense&);
38  /// Clone
39  virtual ClpCholeskyBase * clone() const ;
40  //@}
41   
42   
43private:
44  /**@name Data members */
45   //@{
46  /// ADAT stored in full
47  double * work_;
48  /// Row copy of matrix
49  ClpMatrixBase * rowCopy_;
50  //@}
51};
52
53#endif
Note: See TracBrowser for help on using the repository browser.