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

Warm start for filter interface. More...

#include <BonBqpdWarmStart.hpp>

List of all members.

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 fintlwsArray () const
 Access to lws array.
fint lwsSize () const
 Access to lws size.
const fintistat () 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.
fintlwsArray_
 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 30 of file BonBqpdWarmStart.hpp.


Member Typedef Documentation

Definition at line 34 of file BonBqpdWarmStart.hpp.

Definition at line 35 of file BonBqpdWarmStart.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

virtual copy

Definition at line 56 of file BonBqpdWarmStart.hpp.

References BqpdWarmStart().

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]

Access to lws array.

Definition at line 69 of file BonBqpdWarmStart.hpp.

References lwsArray_.

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

Access to lws size.

Definition at line 74 of file BonBqpdWarmStart.hpp.

References lwsSize_.

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]

Is this an empty warm start?

Definition at line 83 of file BonBqpdWarmStart.hpp.

References empty_.


Member Data Documentation

Default values for istat.

Definition at line 39 of file BonBqpdWarmStart.hpp.

Size of fint lws array store.

Definition at line 89 of file BonBqpdWarmStart.hpp.

Referenced by lwsSize().

fint lws array to store

Definition at line 92 of file BonBqpdWarmStart.hpp.

Referenced by lwsArray().

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

Definition at line 95 of file BonBqpdWarmStart.hpp.

Referenced by istat().

Say if warm start is empty.

Definition at line 97 of file BonBqpdWarmStart.hpp.

Referenced by empty().


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