Cbc  2.9.9
 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 1692 2011-03-05 18:05:01Z stefan $ */
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 
41 
46  ClpCholeskyMumps(int denseThreshold = -1);
48  virtual ~ClpCholeskyMumps();
50  virtual ClpCholeskyBase * clone() const ;
52 
53 private:
54  // Mumps structure
56 
57  // Copy
59  // Assignment
61 };
62 
63 #endif
virtual ~ClpCholeskyMumps()
Destructor.
Abstract base class for Clp Matrices.
This solves LPs using interior point methods.
Definition: ClpInterior.hpp:72
char * rowsDropped() const
rowsDropped - which rows are gone
ClpCholeskyMumps & operator=(const ClpCholeskyMumps &)
void DMUMPS_STRUC_C
virtual int order(ClpInterior *model)
Orders rows and saves pointer to matrix.and model.
DMUMPS_STRUC_C * mumps_
Base class for Clp Cholesky factorization Will do better factorization.
virtual int symbolic()
Does Symbolic factorization given permutation.
longDouble * diagonal() const
Return diagonal.
virtual void solve(double *region)
Uses factorization to solve.
virtual int factorize(const double *diagonal, int *rowsDropped)
Factorize - filling in rowsDropped and returning number dropped.
ClpCholeskyMumps(int denseThreshold=-1)
Constructor which has dense columns activated.
Mumps class for Clp Cholesky factorization.
virtual ClpCholeskyBase * clone() const
Clone.