Loading...
Searching...
No Matches
ClpCholeskyTaucs.hpp
Go to the documentation of this file.
/* $Id$ */
// Copyright (C) 2004, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#ifndef ClpCholeskyTaucs_H
#define ClpCholeskyTaucs_H
#include "taucs.h"
#include "ClpCholeskyBase.hpp"
class ClpMatrixBase;
class ClpCholeskyTaucs : public ClpCholeskyBase {
public:
virtual int order(ClpInterior *model);
virtual int symbolic();
virtual int factorize(const double *diagonal, int *rowsDropped);
virtual void solve(double *region);
ClpCholeskyTaucs();
virtual ~ClpCholeskyTaucs();
// Copy
ClpCholeskyTaucs(const ClpCholeskyTaucs &);
// Assignment
ClpCholeskyTaucs &operator=(const ClpCholeskyTaucs &);
virtual ClpCholeskyBase *clone() const;
private:
taucs_ccs_matrix *matrix_;
void *factorization_;
double *sparseFactorT_;
CoinBigIndex *choleskyStartT_;
int *choleskyRowT_;
CoinBigIndex sizeFactorT_;
ClpMatrixBase *rowCopyT_;
};
#endif
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
*/
ClpCholeskyBase.hpp
ClpCholeskyBase::diagonal
longDouble * diagonal() const
Return diagonal.
Definition ClpCholeskyBase.hpp:142
ClpCholeskyBase::rowsDropped
char * rowsDropped() const
rowsDropped - which rows are gone
Definition ClpCholeskyBase.hpp:102
ClpCholeskyBase::ClpCholeskyBase
ClpCholeskyBase(int denseThreshold=-1)
Constructor which has dense columns activated.
ClpCholeskyTaucs::rowCopyT_
ClpMatrixBase * rowCopyT_
Row copy of matrix.
Definition ClpCholeskyTaucs.hpp:89
ClpCholeskyTaucs::solve
virtual void solve(double *region)
Uses factorization to solve.
ClpCholeskyTaucs::factorize
virtual int factorize(const double *diagonal, int *rowsDropped)
Factorize - filling in rowsDropped and returning number dropped.
ClpCholeskyTaucs::operator=
ClpCholeskyTaucs & operator=(const ClpCholeskyTaucs &)
ClpCholeskyTaucs::matrix_
taucs_ccs_matrix * matrix_
Taucs matrix (== sparseFactor etc).
Definition ClpCholeskyTaucs.hpp:77
ClpCholeskyTaucs::ClpCholeskyTaucs
ClpCholeskyTaucs(const ClpCholeskyTaucs &)
ClpCholeskyTaucs::choleskyRowT_
int * choleskyRowT_
choleskyRow
Definition ClpCholeskyTaucs.hpp:85
ClpCholeskyTaucs::sparseFactorT_
double * sparseFactorT_
sparseFactor.
Definition ClpCholeskyTaucs.hpp:81
ClpCholeskyTaucs::factorization_
void * factorization_
Taucs factor.
Definition ClpCholeskyTaucs.hpp:79
ClpCholeskyTaucs::choleskyStartT_
CoinBigIndex * choleskyStartT_
choleskyStart
Definition ClpCholeskyTaucs.hpp:83
ClpCholeskyTaucs::sizeFactorT_
CoinBigIndex sizeFactorT_
sizeFactor.
Definition ClpCholeskyTaucs.hpp:87
ClpCholeskyTaucs::ClpCholeskyTaucs
ClpCholeskyTaucs()
Default constructor.
ClpCholeskyTaucs::symbolic
virtual int symbolic()
Dummy.
ClpCholeskyTaucs::clone
virtual ClpCholeskyBase * clone() const
Clone.
ClpCholeskyTaucs::~ClpCholeskyTaucs
virtual ~ClpCholeskyTaucs()
Destructor.
ClpCholeskyTaucs::order
virtual int order(ClpInterior *model)
Orders rows and saves pointer to matrix.and model.
ClpInterior
This solves LPs using interior point methods.
Definition ClpInterior.hpp:72
ClpMatrixBase
Abstract base class for Clp Matrices.
Definition ClpMatrixBase.hpp:38