Clp  1.17.8
ClpCholeskyUfl.hpp
Go to the documentation of this file.
1 /* $Id$ */
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 
56  ClpCholeskyUfl(int denseThreshold = -1);
58  virtual ~ClpCholeskyUfl();
60  virtual ClpCholeskyBase *clone() const;
62 
63 private:
66 
67  // Copy
69  // Assignment
71 };
72 
73 #endif
74 
75 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
76 */
ClpCholeskyBase::diagonal
longDouble * diagonal() const
Return diagonal.
Definition: ClpCholeskyBase.hpp:142
ClpCholeskyUfl
Ufl class for Clp Cholesky factorization.
Definition: ClpCholeskyUfl.hpp:32
ClpCholeskyBase
Base class for Clp Cholesky factorization Will do better factorization.
Definition: ClpCholeskyBase.hpp:53
cholmod_common
struct cholmod_common_struct cholmod_common
Definition: ClpCholeskyUfl.hpp:15
ClpCholeskyDense
Definition: ClpCholeskyDense.hpp:14
ClpCholeskyUfl::ClpCholeskyUfl
ClpCholeskyUfl(int denseThreshold=-1)
Constructor which has dense columns activated.
ClpCholeskyUfl::order
virtual int order(ClpInterior *model)
Orders rows and saves pointer to matrix.and model.
ClpCholeskyUfl::solve
virtual void solve(double *region)
Uses factorization to solve.
ClpCholeskyBase::rowsDropped
char * rowsDropped() const
rowsDropped - which rows are gone
Definition: ClpCholeskyBase.hpp:102
cholmod_factor
struct cholmod_factor_struct cholmod_factor
Definition: ClpCholeskyUfl.hpp:14
ClpCholeskyBase.hpp
ClpMatrixBase
Abstract base class for Clp Matrices.
Definition: ClpMatrixBase.hpp:38
ClpCholeskyUfl::clone
virtual ClpCholeskyBase * clone() const
Clone.
ClpCholeskyUfl::factorize
virtual int factorize(const double *diagonal, int *rowsDropped)
Factorize - filling in rowsDropped and returning number dropped using CHOLMOD (if available).
ClpCholeskyUfl::c_
cholmod_common * c_
Definition: ClpCholeskyUfl.hpp:65
ClpInterior
This solves LPs using interior point methods.
Definition: ClpInterior.hpp:72
ClpCholeskyUfl::symbolic
virtual int symbolic()
Does Symbolic factorization given permutation using CHOLMOD (if available).
ClpCholeskyUfl::~ClpCholeskyUfl
virtual ~ClpCholeskyUfl()
Destructor
ClpCholeskyUfl::L_
cholmod_factor * L_
Definition: ClpCholeskyUfl.hpp:64
ClpCholeskyUfl::operator=
ClpCholeskyUfl & operator=(const ClpCholeskyUfl &)