BcpsDecompSolution Class Reference

This class holds a MIP feasible primal solution. More...

#include <BcpsDecompSolution.h>

Inheritance diagram for BcpsDecompSolution:
Inheritance graph
[legend]
Collaboration diagram for BcpsDecompSolution:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BcpsDecompSolution ()
 BcpsDecompSolution (const int s, const double *val, const double obj)
 ~BcpsDecompSolution ()
double getObjValue () const
 Get the objective value value.
virtual double getQuality () const
int getSize () const
 Get the size of the solution.
const double * getColSolution () const
 Get the column solution.
double getColSolution (int i) const
 Get item i in the solution vector.
virtual void print (std::ostream &os) const
 Print out the solution.

Private Attributes

int size_
double * value_
double objective_

Detailed Description

This class holds a MIP feasible primal solution.

Definition at line 35 of file BcpsDecompSolution.h.


Constructor & Destructor Documentation

BcpsDecompSolution::BcpsDecompSolution (  )  [inline]

Definition at line 42 of file BcpsDecompSolution.h.

BcpsDecompSolution::BcpsDecompSolution ( const int  s,
const double *  val,
const double  obj 
) [inline]

Definition at line 48 of file BcpsDecompSolution.h.

References size_, and value_.

BcpsDecompSolution::~BcpsDecompSolution (  )  [inline]

Definition at line 58 of file BcpsDecompSolution.h.

References value_.


Member Function Documentation

double BcpsDecompSolution::getObjValue (  )  const [inline]

Get the objective value value.

Definition at line 66 of file BcpsDecompSolution.h.

References objective_.

Referenced by getQuality().

virtual double BcpsDecompSolution::getQuality (  )  const [inline, virtual]

Definition at line 68 of file BcpsDecompSolution.h.

References getObjValue().

int BcpsDecompSolution::getSize (  )  const [inline]

Get the size of the solution.

Definition at line 71 of file BcpsDecompSolution.h.

References size_.

const double* BcpsDecompSolution::getColSolution (  )  const [inline]

Get the column solution.

Definition at line 74 of file BcpsDecompSolution.h.

References value_.

double BcpsDecompSolution::getColSolution ( int  i  )  const [inline]

Get item i in the solution vector.

Definition at line 78 of file BcpsDecompSolution.h.

References value_.

virtual void BcpsDecompSolution::print ( std::ostream &  os  )  const [virtual]

Print out the solution.

Reimplemented from AlpsSolution.


Member Data Documentation

Definition at line 37 of file BcpsDecompSolution.h.

Referenced by BcpsDecompSolution(), and getSize().

double* BcpsDecompSolution::value_ [private]

Definition at line 38 of file BcpsDecompSolution.h.

Referenced by BcpsDecompSolution(), getColSolution(), and ~BcpsDecompSolution().

Definition at line 39 of file BcpsDecompSolution.h.

Referenced by getObjValue().


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

Generated on 5 Apr 2015 for Dip-All by  doxygen 1.6.1