Ignore:
Timestamp:
Feb 8, 2006 12:21:29 PM (14 years ago)
Author:
forrest
Message:

minor stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ClpCholeskyUfl.hpp

    r664 r719  
    33#ifndef ClpCholeskyUfl_H
    44#define ClpCholeskyUfl_H
    5 
    65#include "ClpCholeskyBase.hpp"
    76#ifdef __cplusplus
    87extern "C"{
    98#endif
     9#ifndef CLP_USE_CHOLMOD
    1010#include "amd.h"
     11#else
     12#include "cholmod.h"
     13#endif
    1114#ifdef __cplusplus
    1215          }
     
    2326for terms of use
    2427
     28If  you wish to use CHOLMOD code from University of Florida see
     29
     30    http://www.cise.ufl.edu/research/sparse/cholmod
     31
     32for terms of use
     33
    2534*/
    2635class ClpCholeskyUfl : public ClpCholeskyBase {
     
    3241   Returns non-zero if not enough memory */
    3342  virtual int order(ClpInterior * model) ;
     43#ifdef CLP_USE_CHOLMOD
     44  /** Does Symbolic factorization given permutation.
     45      This is called immediately after order.  If user provides this then
     46      user must provide factorize and solve.  Otherwise the default factorization is used
     47      returns non-zero if not enough memory */
     48  virtual int symbolic();
     49  /** Factorize - filling in rowsDropped and returning number dropped.
     50      If return code negative then out of memory */
     51  virtual int factorize(const double * diagonal, int * rowsDropped) ;
     52  /** Uses factorization to solve. */
     53  virtual void solve (double * region) ;
     54#endif
    3455  //@}
    3556
     
    5273   
    5374private:
     75#ifdef CLP_USE_CHOLMOD
     76    cholmod_factor * L_ ;
     77    cholmod_common c_ ;
     78#endif
    5479};
    5580
Note: See TracChangeset for help on using the changeset viewer.