Bonmin  1.7
Public Member Functions | Static Public Attributes | Private Types | Private Attributes
Bonmin::FilterWarmStart Class Reference

Warm start for filter interface. More...

#include <BonFilterWarmStart.hpp>

List of all members.

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)
 FilterWarmStart (const FilterWarmStart &other)
 Copy constructor.
virtual CoinWarmStart * clone () const
 virtual copy
virtual ~FilterWarmStart ()
virtual CoinWarmStartDiff * generateDiff (const CoinWarmStart *const other) const
 Generate differences.
virtual void applyDiff (const CoinWarmStartDiff *const cswDiff)
 Apply differences.
const fintlwsArray () const
 Access to lws array.
fint lwsSize () const
 Access to lws size.
const fintistat () const
void flushPoint ()
 flush the starting point
bool empty () const
 Is this an empty warm start?

Static Public Attributes

static fint def_istat [14]
 Default values for istat.

Private Types

typedef FilterTypes::fint fint
typedef FilterTypes::real real

Private Attributes

fint lwsSize_
 Size of fint lws array store.
 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.

Detailed Description

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.

Member Typedef Documentation

Definition at line 37 of file BonFilterWarmStart.hpp.

Definition at line 38 of file BonFilterWarmStart.hpp.

Constructor & Destructor Documentation

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 


Referenced by clone().

Bonmin::FilterWarmStart::FilterWarmStart ( const FilterWarmStart other)

Copy constructor.

virtual Bonmin::FilterWarmStart::~FilterWarmStart ( ) [virtual]


Member Function Documentation

virtual CoinWarmStart* Bonmin::FilterWarmStart::clone ( ) const [inline, virtual]

virtual copy

Definition at line 56 of file BonFilterWarmStart.hpp.

References FilterWarmStart().

virtual CoinWarmStartDiff* Bonmin::FilterWarmStart::generateDiff ( const CoinWarmStart *const  other) const [virtual]

Generate differences.

virtual void Bonmin::FilterWarmStart::applyDiff ( const CoinWarmStartDiff *const  cswDiff) [virtual]

Apply differences.

const fint* Bonmin::FilterWarmStart::lwsArray ( ) const [inline]

Access to lws array.

Definition at line 71 of file BonFilterWarmStart.hpp.

References lwsArray_.

fint Bonmin::FilterWarmStart::lwsSize ( ) const [inline]

Access to lws size.

Definition at line 77 of file BonFilterWarmStart.hpp.

References lwsSize_.

const fint* Bonmin::FilterWarmStart::istat ( ) const [inline]

Definition at line 82 of file BonFilterWarmStart.hpp.

References istat_.

void Bonmin::FilterWarmStart::flushPoint ( )

flush the starting point

bool Bonmin::FilterWarmStart::empty ( ) const [inline]

Is this an empty warm start?

Definition at line 91 of file BonFilterWarmStart.hpp.

References empty_.

Member Data Documentation

Default values for istat.

Definition at line 42 of file BonFilterWarmStart.hpp.

Size of fint lws array store.

Definition at line 97 of file BonFilterWarmStart.hpp.

Referenced by lwsSize().

fint lws array to store

Definition at line 100 of file BonFilterWarmStart.hpp.

Referenced by lwsArray().

Filter's istat (AW: I think we only need first entry)

Definition at line 103 of file BonFilterWarmStart.hpp.

Referenced by istat().

Say if warm start is empty.

Definition at line 106 of file BonFilterWarmStart.hpp.

Referenced by empty().

The documentation for this class was generated from the following file: