Go to the documentation of this file.
72 void setValue(
int size,
double const * value) {
78 std::copy(value, value+size,
value_);
94 virtual void print(std::ostream& os)
const;
101 std::cerr <<
"Not implemented!" << std::endl;
102 throw std::exception();
virtual AlpsReturnStatus decodeToSelf(AlpsEncoded &encoded)
Decode the given AlpsEncoded object into this.
This class holds a MIP feasible primal solution.
const double * getColSolution() const
Get the column solution.
void setValue(int size, double const *value)
int getSize() const
Get the size of the solution.
virtual AlpsKnowledge * decode(AlpsEncoded &) const
The method that decodes the solution from a encoded object.
double getObjValue() const
Get the objective value value.
double getColSolution(int i) const
Get item i in the solution vector.
The abstract base class of Alps knowledges generated during the search.
AlpsEncoded * encode() const
Encode the content of this into an AlpsEncoded object and return a pointer to it.
virtual void print(std::ostream &os) const
Print out the solution.
virtual double getQuality() const
AbcSolution(const int s, const double *val, const double obj)