Scippy

SoPlex

Sequential object-oriented simPlex

SPxSumST Class 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 SPxStarterclone () const
 clone function for polymorphism More...
 
- Public Member Functions inherited from SPxVectorST
 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 Vector &v)
 sets up primal solution vector. More...
 
void dual (const Vector &v)
 sets up primal solution vector. More...
 
- Public Member Functions inherited from SPxWeightST
 SPxWeightST ()
 default constructor. More...
 
 SPxWeightST (const SPxWeightST &old)
 copy constructor More...
 
SPxWeightSToperator= (const SPxWeightST &rhs)
 assignment operator More...
 
virtual ~SPxWeightST ()
 destructor. More...
 
void generate (SPxSolver &base)
 generates start basis for loaded basis. More...
 
virtual bool isConsistent () const
 consistency check. More...
 
- Public Member Functions inherited from SPxStarter
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 (SPxSolver &base)
 sets up variable weights. More...
 
- Protected Member Functions inherited from SPxVectorST
void setupWeights (SPxSolver &base)
 sets up variable weights. More...
 
Protected helpers

Additional Inherited Members

- Protected Attributes inherited from SPxWeightST
DataArray< RealrowWeight
 weight value for LP rows. More...
 
DataArray< RealcolWeight
 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
const char * m_name
 name of the starter More...
 

Detailed Description

Simple heuristic SPxStarter.

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

Definition at line 37 of file spxsumst.h.

Constructor & Destructor Documentation

◆ SPxSumST() [1/2]

SPxSumST ( )

default constructor.

Definition at line 54 of file spxsumst.h.

References SPxStarter::m_name.

Referenced by SPxSumST::clone().

◆ SPxSumST() [2/2]

SPxSumST ( const SPxSumST old)

copy constructor

Definition at line 59 of file spxsumst.h.

References SPxWeightST::isConsistent().

◆ ~SPxSumST()

virtual ~SPxSumST ( )
virtual

destructor.

Definition at line 77 of file spxsumst.h.

Member Function Documentation

◆ clone()

virtual SPxStarter* clone ( ) const
virtual

clone function for polymorphism

Reimplemented from SPxVectorST.

Definition at line 80 of file spxsumst.h.

References SPxSumST::SPxSumST().

◆ operator=()

SPxSumST& operator= ( const SPxSumST rhs)

assignment operator

Definition at line 65 of file spxsumst.h.

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

◆ setupWeights()