Scippy

SoPlex

Sequential object-oriented simPlex

SPxSumST< R > Class Template Reference

Simple heuristic SPxStarter.Testing version of an SPxVectorST using a very simplistic heuristic to build up an approximated solution vector. More...

#include <spxsumst.h>

Public Member Functions

Construction / destruction
 SPxSumST ()
 default constructor. More...
 
 SPxSumST (const SPxSumST &old)
 copy constructor More...
 
SPxSumSToperator= (const SPxSumST &rhs)
 assignment operator More...
 
virtual ~SPxSumST ()
 destructor. More...
 
virtual SPxStarter< R > * clone () const
 clone function for polymorphism More...
 
- Public Member Functions inherited from SPxVectorST< R >
 SPxVectorST ()
 default constructor. More...
 
 SPxVectorST (const SPxVectorST &old)
 copy constructor More...
 
SPxVectorSToperator= (const SPxVectorST &rhs)
 assignment operator More...
 
virtual ~SPxVectorST ()
 destructor. More...
 
void primal (const VectorBase< R > &v)
 sets up primal solution vector. More...
 
void dual (const VectorBase< R > &v)
 sets up primal solution vector. More...
 
- Public Member Functions inherited from SPxWeightST< R >
 SPxWeightST ()
 default constructor. More...
 
 SPxWeightST (const SPxWeightST &old)
 copy constructor More...
 
SPxWeightSToperator= (const SPxWeightST &rhs)
 assignment operator More...
 
virtual ~SPxWeightST ()
 destructor. More...
 
void generate (SPxSolverBase< R > &base)
 generates start basis for loaded basis. More...
 
virtual bool isConsistent () const
 consistency check. More...
 
- Public Member Functions inherited from SPxStarter< R >
virtual void setTolerances (const std::shared_ptr< Tolerances > &tolerances)
 set the tolerances to be used by the starter More...
 
virtual const std::shared_ptr< Tolerances > & tolerances () const
 get the toelrances used by the starter More...
 
virtual const char * getName () const
 get name of starter. More...
 
 SPxStarter (const char *name)
 constructor More...
 
 SPxStarter (const SPxStarter &old)
 copy constructor More...
 
SPxStarteroperator= (const SPxStarter &rhs)
 assignment operator More...
 
virtual ~SPxStarter ()
 destructor. More...
 

Protected Member Functions

Protected helpers
void setupWeights (SPxSolverBase< R > &base)
 sets up variable weights. More...
 
- Protected Member Functions inherited from SPxVectorST< R >
void setupWeights (SPxSolverBase< R > &base)
 sets up variable weights. More...
 
Protected helpers

Additional Inherited Members

- Protected Attributes inherited from SPxWeightST< R >
Array< R > rowWeight
 weight value for LP rows. More...
 
Array< R > colWeight
 weight value for LP columns. More...
 
DataArray< bool > rowRight
 set variable to rhs?. More...
 
DataArray< bool > colUp
 set primal variable to upper bound. More...
 
- Protected Attributes inherited from SPxStarter< R >
const char * m_name
 name of the starter More...
 
std::shared_ptr< Tolerances_tolerances
 tolerances for the starter More...
 

Detailed Description

template<class R>
class soplex::SPxSumST< R >

Simple heuristic SPxStarter.

Testing version of an SPxVectorST using a very simplistic heuristic to build up an approximated solution vector.

Definition at line 47 of file spxsumst.h.

Constructor & Destructor Documentation

◆ SPxSumST() [1/2]

SPxSumST ( )

default constructor.

Definition at line 64 of file spxsumst.h.

References SPxStarter< R >::m_name.

Referenced by SPxSumST< R >::clone().

◆ SPxSumST() [2/2]

SPxSumST ( const SPxSumST< R > &  old)

copy constructor

Definition at line 69 of file spxsumst.h.

References SPxWeightST< R >::isConsistent().

◆ ~SPxSumST()

virtual ~SPxSumST ( )
virtual

destructor.

Definition at line 87 of file spxsumst.h.

Member Function Documentation

◆ clone()

virtual SPxStarter<R>* clone ( ) const
virtual

clone function for polymorphism

Reimplemented from SPxVectorST< R >.

Definition at line 90 of file spxsumst.h.

References SPxSumST< R >::SPxSumST().

◆ operator=()

SPxSumST& operator= ( const SPxSumST< R > &  rhs)

assignment operator

Definition at line 75 of file spxsumst.h.

References SPxWeightST< R >::isConsistent(), and SPxVectorST< R >::operator=().

◆ setupWeights()

void setupWeights ( SPxSolverBase< R > &  base)
protectedvirtual

sets up variable weights.

Reimplemented from SPxWeightST< R >.