This class contains the solutions generated by the LP solver (either primal or dual. More...
#include <BlisSolution.h>
Public Member Functions | |
BlisSolution () | |
Default constructor. | |
BlisSolution (int s, const double *values, double objValue) | |
Useful constructor. | |
virtual | ~BlisSolution () |
Destructor. | |
virtual AlpsEncoded * | encode () const |
Check if IP feasible. | |
virtual AlpsKnowledge * | decode (AlpsEncoded &encoded) const |
The method that decodes the solution from a encoded object. | |
BlisSolution () | |
Default constructor. | |
BlisSolution (int s, const double *values, double objValue) | |
Useful constructor. | |
virtual | ~BlisSolution () |
Destructor. | |
virtual AlpsEncoded * | encode () const |
Check if IP feasible. | |
virtual AlpsKnowledge * | decode (AlpsEncoded &encoded) const |
The method that decodes the solution from a encoded object. |
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 37 of file BlisSolution.h.
BlisSolution::BlisSolution | ( | ) | [inline] |
Default constructor.
Definition at line 44 of file BlisSolution.h.
BlisSolution::BlisSolution | ( | int | s, |
const double * | values, | ||
double | objValue | ||
) | [inline] |
Useful constructor.
Definition at line 50 of file BlisSolution.h.
virtual BlisSolution::~BlisSolution | ( | ) | [inline, virtual] |
Destructor.
Definition at line 56 of file BlisSolution.h.
BlisSolution::BlisSolution | ( | ) | [inline] |
Default constructor.
Definition at line 44 of file BlisSolution.h.
BlisSolution::BlisSolution | ( | int | s, |
const double * | values, | ||
double | objValue | ||
) | [inline] |
Useful constructor.
Definition at line 50 of file BlisSolution.h.
virtual BlisSolution::~BlisSolution | ( | ) | [inline, virtual] |
Destructor.
Definition at line 56 of file BlisSolution.h.
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.
Definition at line 63 of file BlisSolution.h.
virtual AlpsKnowledge* BlisSolution::decode | ( | AlpsEncoded & | encoded | ) | const [inline, virtual] |
The method that decodes the solution from a encoded object.
Definition at line 71 of file BlisSolution.h.
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.
Definition at line 63 of file BlisSolution.h.
virtual AlpsKnowledge* BlisSolution::decode | ( | AlpsEncoded & | encoded | ) | const [inline, virtual] |
The method that decodes the solution from a encoded object.
Definition at line 71 of file BlisSolution.h.