Loading...
Searching...
No Matches
ClpCholeskyUfl.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 ClpCholeskyUfl_H
#define ClpCholeskyUfl_H
#include "ClpCholeskyBase.hpp"
class ClpMatrixBase;
class ClpCholeskyDense;
typedef struct cholmod_factor_struct cholmod_factor;
typedef struct cholmod_common_struct cholmod_common;
class ClpCholeskyUfl : public ClpCholeskyBase {
public:
virtual int order(ClpInterior *model);
virtual int symbolic();
virtual int factorize(const double *diagonal, int *rowsDropped);
virtual void solve(double *region);
ClpCholeskyUfl(int denseThreshold = -1);
virtual ~ClpCholeskyUfl();
virtual ClpCholeskyBase *clone() const;
private:
cholmod_factor *L_;
cholmod_common *c_;
// Copy
ClpCholeskyUfl(const ClpCholeskyUfl &);
// Assignment
ClpCholeskyUfl &operator=(const ClpCholeskyUfl &);
};
#endif
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
*/
ClpCholeskyBase.hpp
cholmod_factor
struct cholmod_factor_struct cholmod_factor
Definition ClpCholeskyUfl.hpp:14
cholmod_common
struct cholmod_common_struct cholmod_common
Definition ClpCholeskyUfl.hpp:15
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.
ClpCholeskyDense
Definition ClpCholeskyDense.hpp:14
ClpCholeskyUfl::c_
cholmod_common * c_
Definition ClpCholeskyUfl.hpp:65
ClpCholeskyUfl::~ClpCholeskyUfl
virtual ~ClpCholeskyUfl()
Destructor.
ClpCholeskyUfl::order
virtual int order(ClpInterior *model)
Orders rows and saves pointer to matrix.and model.
ClpCholeskyUfl::clone
virtual ClpCholeskyBase * clone() const
Clone.
ClpCholeskyUfl::ClpCholeskyUfl
ClpCholeskyUfl(int denseThreshold=-1)
Constructor which has dense columns activated.
ClpCholeskyUfl::L_
cholmod_factor * L_
Definition ClpCholeskyUfl.hpp:64
ClpCholeskyUfl::solve
virtual void solve(double *region)
Uses factorization to solve.
ClpCholeskyUfl::symbolic
virtual int symbolic()
Does Symbolic factorization given permutation using CHOLMOD (if available).
ClpCholeskyUfl::factorize
virtual int factorize(const double *diagonal, int *rowsDropped)
Factorize - filling in rowsDropped and returning number dropped using CHOLMOD (if available).
ClpCholeskyUfl::ClpCholeskyUfl
ClpCholeskyUfl(const ClpCholeskyUfl &)
ClpCholeskyUfl::operator=
ClpCholeskyUfl & operator=(const ClpCholeskyUfl &)
ClpInterior
This solves LPs using interior point methods.
Definition ClpInterior.hpp:72
ClpMatrixBase
Abstract base class for Clp Matrices.
Definition ClpMatrixBase.hpp:38