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
ClpCholeskyMumps.hpp
Go to the documentation of this file.
1 /* $Id: ClpCholeskyMumps.hpp 2385 2019-01-06 19:43:06Z unxusr $ */
2 // Copyright (C) 2009, 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 ClpCholeskyMumps_H
7 #define ClpCholeskyMumps_H
8 #include "ClpCholeskyBase.hpp"
9 class ClpMatrixBase;
10 class ClpCholeskyDense;
11
12 // unfortunately, DMUMPS_STRUC_C is an anonymous struct in MUMPS, so we define it to void for everyone outside ClpCholeskyMumps
13 // if this file is included by ClpCholeskyMumps.cpp, then after dmumps_c.h has been included, which defines MUMPS_VERSION
14 #ifndef MUMPS_VERSION
15 typedef void DMUMPS_STRUC_C;
16 #endif
17
21 class ClpCholeskyMumps : public ClpCholeskyBase {
22
23 public:
28 virtual int order(ClpInterior *model);
33 virtual int symbolic();
36 virtual int factorize(const double *diagonal, int *rowsDropped);
38 virtual void solve(double *region);
40
45 ClpCholeskyMumps(int denseThreshold = -1, int logLevel = 0);
47 virtual ~ClpCholeskyMumps();
49 virtual ClpCholeskyBase *clone() const;
51
52 private:
53 // Mumps structure
54 DMUMPS_STRUC_C *mumps_;
55
56 // Copy
57 ClpCholeskyMumps(const ClpCholeskyMumps &);
58 // Assignment
59 ClpCholeskyMumps &operator=(const ClpCholeskyMumps &);
60 };
61
62 #endif
63
64 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
65 */
ClpCholeskyMumps::~ClpCholeskyMumps
virtual ~ClpCholeskyMumps()
Destructor.
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
ClpCholeskyMumps::operator=
ClpCholeskyMumps & operator=(const ClpCholeskyMumps &)
DMUMPS_STRUC_C
void DMUMPS_STRUC_C
Definition: ClpCholeskyMumps.hpp:10
ClpCholeskyMumps::order
virtual int order(ClpInterior *model)
Orders rows and saves pointer to matrix.and model.
ClpCholeskyMumps::mumps_
DMUMPS_STRUC_C * mumps_
Definition: ClpCholeskyMumps.hpp:54
ClpCholeskyBase
Base class for Clp Cholesky factorization Will do better factorization.
Definition: ClpCholeskyBase.hpp:53
ClpCholeskyMumps::symbolic
virtual int symbolic()
Does Symbolic factorization given permutation.
ClpCholeskyDense
Definition: ClpCholeskyDense.hpp:14
ClpCholeskyBase::diagonal
longDouble * diagonal() const
Return diagonal.
Definition: ClpCholeskyBase.hpp:142
ClpCholeskyMumps::ClpCholeskyMumps
ClpCholeskyMumps(int denseThreshold=-1, int logLevel=0)
Constructor which has dense columns activated.
ClpCholeskyBase.hpp
ClpCholeskyMumps::solve
virtual void solve(double *region)
Uses factorization to solve.
ClpCholeskyMumps::factorize
virtual int factorize(const double *diagonal, int *rowsDropped)
Factorize - filling in rowsDropped and returning number dropped.
ClpCholeskyMumps
Mumps class for Clp Cholesky factorization.
Definition: ClpCholeskyMumps.hpp:21
ClpCholeskyMumps::clone
virtual ClpCholeskyBase * clone() const
Clone.