Dip
0.92.4
|
This class holds a MIP feasible primal solution. More...
#include <BcpsDecompSolution.h>
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... | |
![]() | |
AlpsSolution () | |
AlpsSolution (const AlpsNodeIndex_t i, const int d) | |
virtual | ~AlpsSolution () |
AlpsNodeIndex_t | getIndex () |
void | setIndex (const AlpsNodeIndex_t i) |
int | getDepth () |
void | setDepth (const int d) |
![]() | |
AlpsKnowledge () | |
virtual | ~AlpsKnowledge () |
KnowledgeType | getType () |
void | setType (KnowledgeType t) |
virtual AlpsEncoded * | encode () const |
virtual AlpsReturnStatus | encode (AlpsEncoded *encoded) |
virtual AlpsKnowledge * | decode (AlpsEncoded &encoded) const |
AlpsEncoded * | getEncoded () const |
void | setEncoded (AlpsEncoded *e) |
Additional Inherited Members | |
![]() | |
KnowledgeType | type_ |
This class holds a MIP feasible primal solution.
Definition at line 35 of file BcpsDecompSolution.h.
|
inline |
Definition at line 42 of file BcpsDecompSolution.h.
|
inline |
Definition at line 48 of file BcpsDecompSolution.h.
|
inline |
Definition at line 58 of file BcpsDecompSolution.h.
|
inline |
Get the objective value value.
Definition at line 66 of file BcpsDecompSolution.h.
|
inlinevirtual |
Definition at line 68 of file BcpsDecompSolution.h.
|
inline |
Get the size of the solution.
Definition at line 71 of file BcpsDecompSolution.h.
|
inline |
Get the column solution.
Definition at line 74 of file BcpsDecompSolution.h.
|
inline |
Get item i in the solution vector.
Definition at line 78 of file BcpsDecompSolution.h.
|
virtual |
Print out the solution.
Reimplemented from AlpsSolution.