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:
Inheritance graph
[legend]
Collaboration diagram for BlisSolution:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BlisSolution ()
 Default constructor.
 BlisSolution (int s, const double *values, double objValue)
 Useful constructor.
virtual ~BlisSolution ()
 Destructor.
virtual AlpsEncodedencode () const
 Check if IP feasible.
virtual AlpsKnowledgedecode (AlpsEncoded &encoded) const
 The method that decodes the solution from a encoded object.

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 (  )  [inline, virtual]

Destructor.

Definition at line 55 of file BlisSolution.h.


Member Function Documentation

virtual AlpsEncoded* BlisSolution::encode (  )  const [inline, virtual]

Check if IP feasible.

If yes, return a IP solution; othersize, return NULL. The method that encodes the solution into a encoded object.

Reimplemented from AlpsKnowledge.

Definition at line 62 of file BlisSolution.h.

virtual AlpsKnowledge* BlisSolution::decode ( AlpsEncoded encoded  )  const [inline, virtual]

The method that decodes the solution from a encoded object.

Reimplemented from AlpsKnowledge.

Definition at line 70 of file BlisSolution.h.


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

Generated on 5 Apr 2015 by  doxygen 1.6.1