Ignore:
Timestamp:
Jan 29, 2010 9:25:07 AM (10 years ago)
Author:
forrest
Message:

moving sandbox stuff to trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpCholeskyUfl.hpp

    r1370 r1502  
    66#include "ClpCholeskyBase.hpp"
    77#ifdef __cplusplus
    8 extern "C"{
     8extern "C" {
    99#endif
    1010#ifndef CLP_USE_CHOLMOD
     
    1212#else
    1313#include "cholmod.h"
    14 #endif 
     14#endif
    1515#ifdef __cplusplus
    16           }
     16}
    1717#endif
    1818class ClpMatrixBase;
     
    3535*/
    3636class ClpCholeskyUfl : public ClpCholeskyBase {
    37  
     37
    3838public:
    39    /**@name Virtual methods that the derived classes provides  */
    40    //@{
    41   /** Orders rows and saves pointer to matrix.and model.
    42    Returns non-zero 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 non-zero if not enough memory */
     43    virtual int order(ClpInterior * model) ;
    4444#ifdef CLP_USE_CHOLMOD
    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 non-zero 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 non-zero 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) ;
    5555#endif
    56   //@}
     56    //@}
    5757
    5858
    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    
     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
    7575private:
    7676#ifdef CLP_USE_CHOLMOD
Note: See TracChangeset for help on using the changeset viewer.