Clp 1.17.5
Loading...
Searching...
No Matches
ClpCholeskyTaucs.hpp
Go to the documentation of this file.
1/* $Id: ClpCholeskyTaucs.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 ClpCholeskyTaucs_H
7#define ClpCholeskyTaucs_H
8#include "taucs.h"
9#include "ClpCholeskyBase.hpp"
10class ClpMatrixBase;
11
43
44public:
49 virtual int order(ClpInterior *model);
51 virtual int symbolic();
54 virtual int factorize(const double *diagonal, int *rowsDropped);
56 virtual void solve(double *region);
58
65 // Copy
67 // Assignment
70 virtual ClpCholeskyBase *clone() const;
72
73private:
77 taucs_ccs_matrix *matrix_;
83 CoinBigIndex *choleskyStartT_;
87 CoinBigIndex sizeFactorT_;
91};
92
93#endif
94
95/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
96*/
Base class for Clp Cholesky factorization Will do better factorization.
longDouble * diagonal() const
Return diagonal.
char * rowsDropped() const
rowsDropped - which rows are gone
Taucs class for Clp Cholesky factorization.
ClpMatrixBase * rowCopyT_
Row copy of matrix.
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.
ClpCholeskyTaucs & operator=(const ClpCholeskyTaucs &)
taucs_ccs_matrix * matrix_
Taucs matrix (== sparseFactor etc)
ClpCholeskyTaucs(const ClpCholeskyTaucs &)
int * choleskyRowT_
choleskyRow
double * sparseFactorT_
sparseFactor.
void * factorization_
Taucs factor.
CoinBigIndex * choleskyStartT_
choleskyStart
CoinBigIndex sizeFactorT_
sizeFactor.
ClpCholeskyTaucs()
Default constructor.
virtual int symbolic()
Dummy.
virtual ClpCholeskyBase * clone() const
Clone.
virtual ~ClpCholeskyTaucs()
Destructor
virtual int order(ClpInterior *model)
Orders rows and saves pointer to matrix.and model.
This solves LPs using interior point methods.
Abstract base class for Clp Matrices.