Loading...
Searching...
No Matches
myPdco.hpp
Go to the documentation of this file.
/* $Id$ */
// Copyright (C) 2003, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#ifndef myPdco_H
#define myPdco_H
#include "CoinPragma.hpp"
#include "ClpPdcoBase.hpp"
class myPdco : public ClpPdcoBase {
public:
virtual void matVecMult(ClpInterior * model, int mode, double * x, double * y) const;
virtual void getGrad(ClpInterior * model, CoinDenseVector<double> &x, CoinDenseVector<double> &grad) const;
virtual void getHessian(ClpInterior * model, CoinDenseVector<double> &x, CoinDenseVector<double> &H) const;
virtual double getObj(ClpInterior * model, CoinDenseVector<double> &x) const;
virtual void matPrecon(ClpInterior * model, double delta, double * x, double * y) const ;
myPdco();
myPdco(double d1, double d2,
int numnodes, int numlinks);
myPdco(ClpInterior & model, FILE * fpData, FILE * fpParam);
virtual ~myPdco();
myPdco(const myPdco&);
myPdco& operator=(const myPdco&);
virtual ClpPdcoBase * clone() const ;
protected:
int * rowIndex_;
int numlinks_;
int numnodes_;
};
#endif
ClpPdcoBase.hpp
ClpInterior
This solves LPs using interior point methods.
Definition ClpInterior.hpp:72
ClpPdcoBase::ClpPdcoBase
ClpPdcoBase()
Default constructor.
myPdco::getGrad
virtual void getGrad(ClpInterior *model, CoinDenseVector< double > &x, CoinDenseVector< double > &grad) const
myPdco::numlinks_
int numlinks_
Definition myPdco.hpp:65
myPdco::myPdco
myPdco()
Default constructor.
myPdco::~myPdco
virtual ~myPdco()
Destructor.
myPdco::matPrecon
virtual void matPrecon(ClpInterior *model, double delta, double *x, double *y) const
myPdco::getHessian
virtual void getHessian(ClpInterior *model, CoinDenseVector< double > &x, CoinDenseVector< double > &H) const
myPdco::clone
virtual ClpPdcoBase * clone() const
Clone.
myPdco::myPdco
myPdco(ClpInterior &model, FILE *fpData, FILE *fpParam)
Also reads a model.
myPdco::numnodes_
int numnodes_
Definition myPdco.hpp:66
myPdco::operator=
myPdco & operator=(const myPdco &)
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::myPdco
myPdco(double d1, double d2, int numnodes, int numlinks)
Constructor from Stuff.
myPdco::rowIndex_
int * rowIndex_
Definition myPdco.hpp:64
myPdco::myPdco
myPdco(const myPdco &)
The copy constructor.