Clp  1.17.8
ClpCholeskyMumps.hpp
Go to the documentation of this file.
1 /* $Id$ */
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;
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 
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
55 
56  // Copy
58  // Assignment
60 };
61 
62 #endif
63 
64 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
65 */
ClpCholeskyBase::diagonal
longDouble * diagonal() const
Return diagonal.
Definition: ClpCholeskyBase.hpp:142
ClpCholeskyMumps::symbolic
virtual int symbolic()
Does Symbolic factorization given permutation.
ClpCholeskyBase
Base class for Clp Cholesky factorization Will do better factorization.
Definition: ClpCholeskyBase.hpp:53
ClpCholeskyMumps::mumps_
DMUMPS_STRUC_C * mumps_
Definition: ClpCholeskyMumps.hpp:54
ClpCholeskyDense
Definition: ClpCholeskyDense.hpp:14
ClpCholeskyBase::rowsDropped
char * rowsDropped() const
rowsDropped - which rows are gone
Definition: ClpCholeskyBase.hpp:102
ClpCholeskyMumps::clone
virtual ClpCholeskyBase * clone() const
Clone.
ClpCholeskyBase.hpp
ClpCholeskyMumps::ClpCholeskyMumps
ClpCholeskyMumps(int denseThreshold=-1, int logLevel=0)
Constructor which has dense columns activated.
ClpMatrixBase
Abstract base class for Clp Matrices.
Definition: ClpMatrixBase.hpp:38
ClpCholeskyMumps::operator=
ClpCholeskyMumps & operator=(const ClpCholeskyMumps &)
ClpInterior
This solves LPs using interior point methods.
Definition: ClpInterior.hpp:72
ClpCholeskyMumps::order
virtual int order(ClpInterior *model)
Orders rows and saves pointer to matrix.and model.
DMUMPS_STRUC_C
void DMUMPS_STRUC_C
Definition: ClpCholeskyMumps.hpp:10
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::~ClpCholeskyMumps
virtual ~ClpCholeskyMumps()
Destructor