Clp
1.17.8
|
Abstract base class for tailoring everything for Pcdo. More...
#include <ClpPdcoBase.hpp>
Public Member Functions | |
Virtual methods that the derived classes must provide | |
virtual void | matVecMult (ClpInterior *model, int mode, double *x, double *y) const =0 |
virtual void | getGrad (ClpInterior *model, CoinDenseVector< double > &x, CoinDenseVector< double > &grad) const =0 |
virtual void | getHessian (ClpInterior *model, CoinDenseVector< double > &x, CoinDenseVector< double > &H) const =0 |
virtual double | getObj (ClpInterior *model, CoinDenseVector< double > &x) const =0 |
virtual void | matPrecon (ClpInterior *model, double delta, double *x, double *y) const =0 |
Other | |
Clone | |
virtual ClpPdcoBase * | clone () const =0 |
int | type () const |
Returns type. More... | |
void | setType (int type) |
Sets type. More... | |
int | sizeD1 () const |
Returns size of d1. More... | |
double | getD1 () const |
Returns d1 as scalar. More... | |
int | sizeD2 () const |
Returns size of d2. More... | |
double | getD2 () const |
Returns d2 as scalar. More... | |
Protected Attributes | |
Data members | |
The data members are protected to allow access for derived classes. | |
double | d1_ |
Should be dense vectors. More... | |
double | d2_ |
int | type_ |
type (may be useful) More... | |
Constructors, destructor<br> | |
NOTE: All constructors are protected. There's no need to expose them, after all, this is an abstract class. | |
virtual | ~ClpPdcoBase () |
Destructor (has to be public) More... | |
ClpPdcoBase () | |
Default constructor. More... | |
ClpPdcoBase (const ClpPdcoBase &) | |
ClpPdcoBase & | operator= (const ClpPdcoBase &) |
Abstract base class for tailoring everything for Pcdo.
Since this class is abstract, no object of this type can be created.
If a derived class provides all methods then all ClpPcdo algorithms should work.
Eventually we should be able to use ClpObjective and ClpMatrixBase.
Definition at line 25 of file ClpPdcoBase.hpp.
|
protected |
Default constructor.
|
virtual |
Destructor (has to be public)
|
protected |
|
pure virtual |
Implemented in myPdco.
|
pure virtual |
Implemented in myPdco.
|
pure virtual |
Implemented in myPdco.
|
pure virtual |
Implemented in myPdco.
|
pure virtual |
Implemented in myPdco.
|
pure virtual |
Implemented in myPdco.
|
inline |
Returns type.
Definition at line 46 of file ClpPdcoBase.hpp.
|
inline |
Sets type.
Definition at line 51 of file ClpPdcoBase.hpp.
|
inline |
Returns size of d1.
Definition at line 56 of file ClpPdcoBase.hpp.
|
inline |
Returns d1 as scalar.
Definition at line 61 of file ClpPdcoBase.hpp.
|
inline |
Returns size of d2.
Definition at line 66 of file ClpPdcoBase.hpp.
|
inline |
Returns d2 as scalar.
Definition at line 71 of file ClpPdcoBase.hpp.
|
protected |
|
protected |
Should be dense vectors.
Definition at line 100 of file ClpPdcoBase.hpp.
|
protected |
Definition at line 101 of file ClpPdcoBase.hpp.
|
protected |
type (may be useful)
Definition at line 103 of file ClpPdcoBase.hpp.