#include <AlpsDecompSolution.h>


Public Member Functions | |
Helper functions (public). | |
| const int | getSize () const |
| Get length of solution. | |
| const double * | getValues () const |
| Get solution values. | |
| const double | getQuality () const |
| Get quality of solution. | |
| AlpsDecompSolution () | |
| Get length of solution. | |
| AlpsDecompSolution (const int size, const double *values, const double quality, const DecompApp *app=NULL, const int depth=-1, const AlpsNodeIndex_t index=-1) | |
| Get length of solution. | |
| virtual | ~AlpsDecompSolution () |
| Get length of solution. | |
| virtual void | print (std::ostream &os) const |
| Print out the solution. | |
Protected Attributes | |
| int | m_size |
| Length of solution (number of columns). | |
| double * | m_values |
| Solution values. | |
| double | m_quality |
| Quality of solution (bound wrt to objective). | |
| const DecompApp * | m_app |
| Pointer to DecompApp for the print function. | |
Definition at line 24 of file AlpsDecompSolution.h.
| AlpsDecompSolution::AlpsDecompSolution | ( | ) | [inline] |
Get length of solution.
Definition at line 57 of file AlpsDecompSolution.h.
| AlpsDecompSolution::AlpsDecompSolution | ( | const int | size, | |
| const double * | values, | |||
| const double | quality, | |||
| const DecompApp * | app = NULL, |
|||
| const int | depth = -1, |
|||
| const AlpsNodeIndex_t | index = -1 | |||
| ) | [inline] |
Get length of solution.
Definition at line 64 of file AlpsDecompSolution.h.
References CoinAssert, CoinAssertHint, m_size, and m_values.
| virtual AlpsDecompSolution::~AlpsDecompSolution | ( | ) | [inline, virtual] |
Get length of solution.
Definition at line 81 of file AlpsDecompSolution.h.
References m_values, and UTIL_DELARR.
| const int AlpsDecompSolution::getSize | ( | ) | const [inline] |
| const double* AlpsDecompSolution::getValues | ( | ) | const [inline] |
| const double AlpsDecompSolution::getQuality | ( | ) | const [inline] |
| virtual void AlpsDecompSolution::print | ( | std::ostream & | os | ) | const [inline, virtual] |
Print out the solution.
Reimplemented from AlpsSolution.
Definition at line 86 of file AlpsDecompSolution.h.
References DecompConstraintSet::getColNames(), DecompApp::getDecompAlgo(), DecompAppModel::getModel(), DecompAlgo::getModelCore(), m_app, m_size, m_values, and DecompApp::printOriginalSolution().
int AlpsDecompSolution::m_size [protected] |
Length of solution (number of columns).
Definition at line 27 of file AlpsDecompSolution.h.
Referenced by AlpsDecompSolution(), getSize(), and print().
double* AlpsDecompSolution::m_values [protected] |
Solution values.
Definition at line 30 of file AlpsDecompSolution.h.
Referenced by AlpsDecompSolution(), getValues(), print(), and ~AlpsDecompSolution().
double AlpsDecompSolution::m_quality [protected] |
Quality of solution (bound wrt to objective).
Definition at line 33 of file AlpsDecompSolution.h.
Referenced by getQuality().
const DecompApp* AlpsDecompSolution::m_app [protected] |
Pointer to DecompApp for the print function.
Definition at line 36 of file AlpsDecompSolution.h.
Referenced by print().
1.6.1