Dip  0.92.4
Public Member Functions | List of all members
BcpsDecompSolution Class Reference

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

#include <BcpsDecompSolution.h>

+ Inheritance diagram for BcpsDecompSolution:

Public Member Functions

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

Detailed Description

This class holds a MIP feasible primal solution.

Definition at line 35 of file BcpsDecompSolution.h.

Constructor & Destructor Documentation

◆ BcpsDecompSolution() [1/2]

BcpsDecompSolution::BcpsDecompSolution ( )
inline

Definition at line 42 of file BcpsDecompSolution.h.

◆ BcpsDecompSolution() [2/2]

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

Definition at line 48 of file BcpsDecompSolution.h.

◆ ~BcpsDecompSolution()

BcpsDecompSolution::~BcpsDecompSolution ( )
inline

Definition at line 58 of file BcpsDecompSolution.h.

Member Function Documentation

◆ getObjValue()

double BcpsDecompSolution::getObjValue ( ) const
inline

Get the objective value value.

Definition at line 66 of file BcpsDecompSolution.h.

◆ getQuality()

virtual double BcpsDecompSolution::getQuality ( ) const
inlinevirtual

Definition at line 68 of file BcpsDecompSolution.h.

◆ getSize()

int BcpsDecompSolution::getSize ( ) const
inline

Get the size of the solution.

Definition at line 71 of file BcpsDecompSolution.h.

◆ getColSolution() [1/2]

const double* BcpsDecompSolution::getColSolution ( ) const
inline

Get the column solution.

Definition at line 74 of file BcpsDecompSolution.h.

◆ getColSolution() [2/2]

double BcpsDecompSolution::getColSolution ( int  i) const
inline

Get item i in the solution vector.

Definition at line 78 of file BcpsDecompSolution.h.

◆ print()

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

Print out the solution.


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