Cgl 0.59.7

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
32 class ClpCholeskyUfl : public ClpCholeskyBase {
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:
66 cholmod_factor * L_ ;
67 cholmod_common * c_ ;
68
69 // Copy
70 ClpCholeskyUfl(const ClpCholeskyUfl&);
71 // Assignment
72 ClpCholeskyUfl& operator=(const ClpCholeskyUfl&);
73 };
74
75 #endif
ClpCholeskyUfl::order
virtual int order(ClpInterior *model)
Orders rows and saves pointer to matrix.and model.
ClpMatrixBase
Abstract base class for Clp Matrices.
Definition: ClpMatrixBase.hpp:38
ClpInterior
This solves LPs using interior point methods.
Definition: ClpInterior.hpp:72
ClpCholeskyBase::rowsDropped
char * rowsDropped() const
rowsDropped - which rows are gone
Definition: ClpCholeskyBase.hpp:98
ClpCholeskyUfl
Ufl class for Clp Cholesky factorization.
Definition: ClpCholeskyUfl.hpp:32
ClpCholeskyUfl::solve
virtual void solve(double *region)
Uses factorization to solve.
ClpCholeskyBase
Base class for Clp Cholesky factorization Will do better factorization.
Definition: ClpCholeskyBase.hpp:53
ClpCholeskyDense
Definition: ClpCholeskyDense.hpp:14
ClpCholeskyBase::diagonal
longDouble * diagonal() const
Return diagonal.
Definition: ClpCholeskyBase.hpp:130
cholmod_factor
struct cholmod_factor_struct cholmod_factor
Definition: ClpCholeskyUfl.hpp:14
ClpCholeskyUfl::ClpCholeskyUfl
ClpCholeskyUfl(int denseThreshold=-1)
Constructor which has dense columns activated.
ClpCholeskyBase.hpp
ClpCholeskyUfl::L_
cholmod_factor * L_
Definition: ClpCholeskyUfl.hpp:66
ClpCholeskyUfl::c_
cholmod_common * c_
Definition: ClpCholeskyUfl.hpp:67
ClpCholeskyUfl::clone
virtual ClpCholeskyBase * clone() const
Clone.
ClpCholeskyUfl::symbolic
virtual int symbolic()
Does Symbolic factorization given permutation using CHOLMOD (if available).
cholmod_common
struct cholmod_common_struct cholmod_common
Definition: ClpCholeskyUfl.hpp:15
ClpCholeskyUfl::factorize
virtual int factorize(const double *diagonal, int *rowsDropped)
Factorize - filling in rowsDropped and returning number dropped using CHOLMOD (if available)...
ClpCholeskyUfl::~ClpCholeskyUfl
virtual ~ClpCholeskyUfl()
Destructor.
ClpCholeskyUfl::operator=
ClpCholeskyUfl & operator=(const ClpCholeskyUfl &)