Bonmin
1.7
|
Warm start for filter interface. More...
#include <BonBqpdWarmStart.hpp>
Public Member Functions | |
BqpdWarmStart (const fint xSize=0, const real *xArray=NULL, const fint lamSize=0, const real *lamArray=NULL, const fint lwsSize=0, const fint *lwsArray=NULL, const fint istat[14]=def_istat) | |
Constructor. | |
BqpdWarmStart (const BqpdWarmStart &other) | |
Copy constructor. | |
BqpdWarmStart (const CoinWarmStartPrimalDual &pdws) | |
constructor from a CoinWarmStartPrimalDual | |
virtual CoinWarmStart * | clone () const |
virtual copy | |
virtual | ~BqpdWarmStart () |
Destructor. | |
virtual CoinWarmStartDiff * | generateDiff (const CoinWarmStart *const other) const |
Generate differences. | |
virtual void | applyDiff (const CoinWarmStartDiff *const cswDiff) |
Apply differences. | |
const fint * | lwsArray () const |
Access to lws array. | |
fint | lwsSize () const |
Access to lws size. | |
const fint * | istat () const |
void | flushPoint () |
bool | empty () const |
Is this an empty warm start? | |
Static Public Attributes | |
static fint | def_istat [14] |
Default values for istat. | |
Private Types | |
typedef FilterSolver::fint | fint |
typedef FilterSolver::real | real |
Private Attributes | |
fint | lwsSize_ |
Size of fint lws array store. | |
fint * | lwsArray_ |
fint lws array to store | |
fint | istat_ [14] |
Filter's istat (AW: I think we only need first entry) | |
bool | empty_ |
Say if warm start is empty. |
Warm start for filter interface.
Warm start for filter constists of a (possibly huge) array of integers. This class inherits from CoinWarmStartPrimalDual, because that's what this warmstart really is.
For practical reason (integration in Cbc) this class also inherits from CoinWarmStartBasis.
Definition at line 30 of file BonBqpdWarmStart.hpp.
typedef FilterSolver::fint Bonmin::BqpdWarmStart::fint [private] |
Definition at line 34 of file BonBqpdWarmStart.hpp.
typedef FilterSolver::real Bonmin::BqpdWarmStart::real [private] |
Definition at line 35 of file BonBqpdWarmStart.hpp.
Bonmin::BqpdWarmStart::BqpdWarmStart | ( | const fint | xSize = 0 , |
const real * | xArray = NULL , |
||
const fint | lamSize = 0 , |
||
const real * | lamArray = NULL , |
||
const fint | lwsSize = 0 , |
||
const fint * | lwsArray = NULL , |
||
const fint | istat[14] = def_istat |
||
) |
Constructor.
Referenced by clone().
Bonmin::BqpdWarmStart::BqpdWarmStart | ( | const BqpdWarmStart & | other | ) |
Copy constructor.
Bonmin::BqpdWarmStart::BqpdWarmStart | ( | const CoinWarmStartPrimalDual & | pdws | ) |
constructor from a CoinWarmStartPrimalDual
virtual Bonmin::BqpdWarmStart::~BqpdWarmStart | ( | ) | [virtual] |
Destructor.
virtual CoinWarmStart* Bonmin::BqpdWarmStart::clone | ( | ) | const [inline, virtual] |
virtual CoinWarmStartDiff* Bonmin::BqpdWarmStart::generateDiff | ( | const CoinWarmStart *const | other | ) | const [virtual] |
Generate differences.
virtual void Bonmin::BqpdWarmStart::applyDiff | ( | const CoinWarmStartDiff *const | cswDiff | ) | [virtual] |
Apply differences.
const fint* Bonmin::BqpdWarmStart::lwsArray | ( | ) | const [inline] |
fint Bonmin::BqpdWarmStart::lwsSize | ( | ) | const [inline] |
const fint* Bonmin::BqpdWarmStart::istat | ( | ) | const [inline] |
Definition at line 77 of file BonBqpdWarmStart.hpp.
References istat_.
void Bonmin::BqpdWarmStart::flushPoint | ( | ) |
bool Bonmin::BqpdWarmStart::empty | ( | ) | const [inline] |
fint Bonmin::BqpdWarmStart::def_istat[14] [static] |
Default values for istat.
Definition at line 39 of file BonBqpdWarmStart.hpp.
fint Bonmin::BqpdWarmStart::lwsSize_ [private] |
Size of fint lws array store.
Definition at line 89 of file BonBqpdWarmStart.hpp.
Referenced by lwsSize().
fint* Bonmin::BqpdWarmStart::lwsArray_ [private] |
fint lws array to store
Definition at line 92 of file BonBqpdWarmStart.hpp.
Referenced by lwsArray().
fint Bonmin::BqpdWarmStart::istat_[14] [private] |
Filter's istat (AW: I think we only need first entry)
Definition at line 95 of file BonBqpdWarmStart.hpp.
Referenced by istat().
bool Bonmin::BqpdWarmStart::empty_ [private] |
Say if warm start is empty.
Definition at line 97 of file BonBqpdWarmStart.hpp.
Referenced by empty().