Blis  0.94.0
Public Member Functions | List of all members
BlisSolution Class Reference

This class contains the solutions generated by the LP solver (either primal or dual. More...

#include <BlisSolution.h>

+ Inheritance diagram for BlisSolution:

Public Member Functions

 BlisSolution ()
 Default constructor. More...
 
 BlisSolution (int s, const double *values, double objValue)
 Useful constructor. More...
 
virtual ~BlisSolution ()
 Destructor. More...
 
virtual void print (std::ostream &os) const
 Print out the solution. More...
 
virtual AlpsEncoded * encode () const
 The method that encodes the solution into a encoded object. More...
 
virtual AlpsKnowledge * decode (AlpsEncoded &encoded) const
 The method that decodes the solution from a encoded object. More...
 

Detailed Description

This class contains the solutions generated by the LP solver (either primal or dual.

The class exists primarily to pass solutions to the object generator(s).

Definition at line 36 of file BlisSolution.h.

Constructor & Destructor Documentation

BlisSolution::BlisSolution ( )
inline

Default constructor.

Definition at line 43 of file BlisSolution.h.

BlisSolution::BlisSolution ( int  s,
const double *  values,
double  objValue 
)
inline

Useful constructor.

Definition at line 49 of file BlisSolution.h.

virtual BlisSolution::~BlisSolution ( )
inlinevirtual

Destructor.

Definition at line 55 of file BlisSolution.h.

Member Function Documentation

virtual void BlisSolution::print ( std::ostream &  os) const
inlinevirtual

Print out the solution.

Print the solution.

Definition at line 59 of file BlisSolution.h.

virtual AlpsEncoded* BlisSolution::encode ( ) const
inlinevirtual

The method that encodes the solution into a encoded object.

Definition at line 80 of file BlisSolution.h.

virtual AlpsKnowledge* BlisSolution::decode ( AlpsEncoded &  encoded) const
inlinevirtual

The method that decodes the solution from a encoded object.

Definition at line 88 of file BlisSolution.h.


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