Clp 1.17.6

- 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 2385 2019-01-06 19:43:06Z unxusr $ */
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
56 ClpCholeskyUfl(int denseThreshold = -1);
58 virtual ~ClpCholeskyUfl();
60 virtual ClpCholeskyBase *clone() const;
62
63 private:
64 cholmod_factor *L_;
65 cholmod_common *c_;
66
67 // Copy
68 ClpCholeskyUfl(const ClpCholeskyUfl &);
69 // Assignment
70 ClpCholeskyUfl &operator=(const ClpCholeskyUfl &);
71 };
72
73 #endif
74
75 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
76 */
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:102
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:142
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:64
ClpCholeskyUfl::c_
cholmod_common * c_
Definition: ClpCholeskyUfl.hpp:65
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 &)