Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ClpCholeskyUfl.hpp
Go to the documentation of this file.
1 /* $Id: ClpCholeskyUfl.hpp 1691 2011-03-05 17:06:15Z stefan $ */
2 // Copyright (C) 2004, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5 
6 #ifndef ClpCholeskyUfl_H
7 #define ClpCholeskyUfl_H
8 
9 #include "ClpCholeskyBase.hpp"
10 
11 class ClpMatrixBase;
12 class ClpCholeskyDense;
13 
14 typedef struct cholmod_factor_struct cholmod_factor;
15 typedef struct cholmod_common_struct cholmod_common;
16 
33 
34 public:
39  virtual int order(ClpInterior * model) ;
44  virtual int symbolic();
47  virtual int factorize(const double * diagonal, int * rowsDropped) ;
49  virtual void solve (double * region) ;
51 
52 
57  ClpCholeskyUfl(int denseThreshold = -1);
59  virtual ~ClpCholeskyUfl();
61  virtual ClpCholeskyBase * clone() const ;
63 
64 
65 private:
68 
69  // Copy
71  // Assignment
73 };
74 
75 #endif
virtual int order(ClpInterior *model)
Orders rows and saves pointer to matrix.and model.
Abstract base class for Clp Matrices.
This solves LPs using interior point methods.
Definition: ClpInterior.hpp:72
char * rowsDropped() const
rowsDropped - which rows are gone
Ufl class for Clp Cholesky factorization.
virtual void solve(double *region)
Uses factorization to solve.
Base class for Clp Cholesky factorization Will do better factorization.
longDouble * diagonal() const
Return diagonal.
struct cholmod_factor_struct cholmod_factor
ClpCholeskyUfl(int denseThreshold=-1)
Constructor which has dense columns activated.
cholmod_factor * L_
cholmod_common * c_
virtual ClpCholeskyBase * clone() const
Clone.
virtual int symbolic()
Does Symbolic factorization given permutation using CHOLMOD (if available).
struct cholmod_common_struct cholmod_common
virtual int factorize(const double *diagonal, int *rowsDropped)
Factorize - filling in rowsDropped and returning number dropped using CHOLMOD (if available)...
virtual ~ClpCholeskyUfl()
Destructor.
ClpCholeskyUfl & operator=(const ClpCholeskyUfl &)