Bonmin
1.8.8
|
Warm start for filter interface. More...
#include <BonFilterWarmStart.hpp>
Public Member Functions | |
FilterWarmStart (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... | |
FilterWarmStart (const FilterWarmStart &other) | |
Copy constructor. More... | |
virtual CoinWarmStart * | clone () const |
virtual copy More... | |
virtual | ~FilterWarmStart () |
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 () |
flush the starting point More... | |
bool | empty () const |
Is this an empty warm start? More... | |
Static Public Attributes | |
static fint | def_istat [14] |
Default values for istat. More... | |
Private Types | |
typedef FilterTypes::fint | fint |
typedef FilterTypes::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 33 of file BonFilterWarmStart.hpp.
|
private |
Definition at line 37 of file BonFilterWarmStart.hpp.
|
private |
Definition at line 38 of file BonFilterWarmStart.hpp.
Bonmin::FilterWarmStart::FilterWarmStart | ( | 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::FilterWarmStart::FilterWarmStart | ( | const FilterWarmStart & | other | ) |
Copy constructor.
|
virtual |
Destructor.
|
inlinevirtual |
|
virtual |
Generate differences.
|
virtual |
Apply differences.
|
inline |
|
inline |
|
inline |
Definition at line 82 of file BonFilterWarmStart.hpp.
References istat_.
void Bonmin::FilterWarmStart::flushPoint | ( | ) |
flush the starting point
|
inline |
Is this an empty warm start?
Definition at line 91 of file BonFilterWarmStart.hpp.
References empty_.
|
static |
Default values for istat.
Definition at line 42 of file BonFilterWarmStart.hpp.
|
private |
Size of fint lws array store.
Definition at line 97 of file BonFilterWarmStart.hpp.
Referenced by lwsSize().
|
private |
fint lws array to store
Definition at line 100 of file BonFilterWarmStart.hpp.
Referenced by lwsArray().
|
private |
Filter's istat (AW: I think we only need first entry)
Definition at line 103 of file BonFilterWarmStart.hpp.
Referenced by istat().
|
private |
Say if warm start is empty.
Definition at line 106 of file BonFilterWarmStart.hpp.
Referenced by empty().