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

Last change on this file since 1502 was 1502, checked in by forrest, 10 years ago

moving sandbox stuff to trunk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[1370]1/* $Id: ClpCholeskyWssmp.hpp 1502 2010-01-29 14:25:07Z forrest $ */
[265]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"
[440]8class ClpMatrixBase;
9class ClpCholeskyDense;
[265]10
11
12/** Wssmp class for Clp Cholesky factorization
13
14*/
15class ClpCholeskyWssmp : public ClpCholeskyBase {
[1502]16
[265]17public:
[1502]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    //@}
[265]34
35
[1502]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
[265]52private:
[1502]53    /**@name Data members */
54    //@{
55    //@}
[265]56};
57
58#endif
Note: See TracBrowser for help on using the repository browser.