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. More... | |
BqpdWarmStart (const BqpdWarmStart &other) | |
Copy constructor. More... | |
BqpdWarmStart (const CoinWarmStartPrimalDual &pdws) | |
constructor from a CoinWarmStartPrimalDual More... | |
virtual CoinWarmStart * | clone () const |
virtual copy More... | |
virtual | ~BqpdWarmStart () |
Destructor. More... | |
virtual CoinWarmStartDiff * | generateDiff (const CoinWarmStart *const other) const |
Generate differences. More... | |
virtual void | applyDiff (const CoinWarmStartDiff *const cswDiff) |
Apply differences. More... | |
const fint * | lwsArray () const |
Access to lws array. More... | |
fint | lwsSize () const |
Access to lws size. More... | |
const fint * | istat () const |
void | flushPoint () |
bool | empty () const |
Is this an empty warm start? More... | |
Static Public Attributes | |
static fint | def_istat [14] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0} |
Default values for istat. More... | |
Private Types | |
typedef FilterSolver::fint | fint |
typedef FilterSolver::real | real |
Private Attributes | |
fint | lwsSize_ |
Size of fint lws array store. More... | |
fint * | lwsArray_ |
fint lws array to store More... | |
fint | istat_ [14] |
Filter's istat (AW: I think we only need first entry) More... | |
bool | empty_ |
Say if warm start is empty. More... | |
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.
|
private |
Definition at line 34 of file BonBqpdWarmStart.hpp.
|
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.
Definition at line 16 of file BonBqpdWarmStart.cpp.
Bonmin::BqpdWarmStart::BqpdWarmStart | ( | const BqpdWarmStart & | other | ) |
Copy constructor.
Definition at line 42 of file BonBqpdWarmStart.cpp.
Bonmin::BqpdWarmStart::BqpdWarmStart | ( | const CoinWarmStartPrimalDual & | pdws | ) |
constructor from a CoinWarmStartPrimalDual
|
virtual |
Destructor.
Definition at line 61 of file BonBqpdWarmStart.cpp.
|
inlinevirtual |
virtual copy
Definition at line 56 of file BonBqpdWarmStart.hpp.
|
virtual |
Generate differences.
Definition at line 67 of file BonBqpdWarmStart.cpp.
|
virtual |
Apply differences.
Definition at line 77 of file BonBqpdWarmStart.cpp.
|
inline |
Access to lws array.
Definition at line 69 of file BonBqpdWarmStart.hpp.
|
inline |
Access to lws size.
Definition at line 74 of file BonBqpdWarmStart.hpp.
|
inline |
Definition at line 77 of file BonBqpdWarmStart.hpp.
void Bonmin::BqpdWarmStart::flushPoint | ( | ) |
Definition at line 85 of file BonBqpdWarmStart.cpp.
|
inline |
Is this an empty warm start?
Definition at line 83 of file BonBqpdWarmStart.hpp.
|
static |
Default values for istat.
Definition at line 39 of file BonBqpdWarmStart.hpp.
|
private |
Size of fint lws array store.
Definition at line 89 of file BonBqpdWarmStart.hpp.
|
private |
fint lws array to store
Definition at line 92 of file BonBqpdWarmStart.hpp.
|
private |
Filter's istat (AW: I think we only need first entry)
Definition at line 95 of file BonBqpdWarmStart.hpp.
|
private |
Say if warm start is empty.
Definition at line 97 of file BonBqpdWarmStart.hpp.