- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

myPdco.hpp
Go to the documentation of this file.
1 /* $Id: myPdco.hpp 1662 2011-01-04 17:52:40Z lou $ */
2 // Copyright (C) 2003, 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 myPdco_H
7 #define myPdco_H
8
9
10 #include "CoinPragma.hpp"
11
12 #include "ClpPdcoBase.hpp"
13
19 class myPdco : public ClpPdcoBase {
20
21 public:
24 virtual void matVecMult(ClpInterior * model, int mode, double * x, double * y) const;
25
26 virtual void getGrad(ClpInterior * model, CoinDenseVector<double> &x, CoinDenseVector<double> &grad) const;
27
28 virtual void getHessian(ClpInterior * model, CoinDenseVector<double> &x, CoinDenseVector<double> &H) const;
29
30 virtual double getObj(ClpInterior * model, CoinDenseVector<double> &x) const;
31
32 virtual void matPrecon(ClpInterior * model, double delta, double * x, double * y) const ;
34
35
39 myPdco();
41 myPdco(double d1, double d2,
42 int numnodes, int numlinks);
44 myPdco(ClpInterior & model, FILE * fpData, FILE * fpParam);
46 virtual ~myPdco();
48
52 myPdco(const myPdco&);
53
54 myPdco& operator=(const myPdco&);
56 virtual ClpPdcoBase * clone() const ;
58
59
60 protected:
64 int * rowIndex_;
65 int numlinks_;
66 int numnodes_;
67
69 };
70
71 #endif
ClpPdcoBase.hpp
myPdco::~myPdco
virtual ~myPdco()
Destructor.
CoinDenseVector
Dense Vector.
Definition: CoinDenseVector.hpp:67
ClpInterior
This solves LPs using interior point methods.
Definition: ClpInterior.hpp:72
myPdco
This implements a simple network matrix as derived from ClpMatrixBase.
Definition: myPdco.hpp:19
myPdco::matPrecon
virtual void matPrecon(ClpInterior *model, double delta, double *x, double *y) const
myPdco::myPdco
myPdco()
Default constructor.
ClpPdcoBase
Abstract base class for tailoring everything for Pcdo.
Definition: ClpPdcoBase.hpp:25
myPdco::numlinks_
int numlinks_
Definition: myPdco.hpp:65
myPdco::getObj
virtual double getObj(ClpInterior *model, CoinDenseVector< double > &x) const
myPdco::matVecMult
virtual void matVecMult(ClpInterior *model, int mode, double *x, double *y) const
myPdco::getGrad
virtual void getGrad(ClpInterior *model, CoinDenseVector< double > &x, CoinDenseVector< double > &grad) const
CoinPragma.hpp
myPdco::getHessian
virtual void getHessian(ClpInterior *model, CoinDenseVector< double > &x, CoinDenseVector< double > &H) const
myPdco::numnodes_
int numnodes_
Definition: myPdco.hpp:66
myPdco::operator=
myPdco & operator=(const myPdco &)
The copy constructor.
myPdco::clone
virtual ClpPdcoBase * clone() const
Clone.
myPdco::rowIndex_
int * rowIndex_
Definition: myPdco.hpp:64