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

Last change on this file since 1525 was 1525, checked in by mjs, 10 years ago

Formatted .cpp, .hpp, .c, .h files with "astyle -A4 -p". This matches the formatting used in the grand CBC reorganization.

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