coin-Bcp
|
#include <MKC_solution.hpp>
Public Member Functions | |
MKC_solution (BCP_vec< MKC_var * > &vars, const double obj) | |
MKC_solution (BCP_buffer &buf) | |
~MKC_solution () | |
double | objective_value () const |
The method returning the objective value of the solution. More... | |
void | pack (BCP_buffer &buf) const |
![]() | |
virtual | ~BCP_solution () |
The virtual destructor ensures that the correct destructor is invoked. More... | |
Public Attributes | |
double | _objective |
BCP_vec< MKC_var * > | _vars |
Definition at line 14 of file MKC_solution.hpp.
MKC_solution::MKC_solution | ( | BCP_buffer & | buf | ) |
MKC_solution::~MKC_solution | ( | ) |
|
inlinevirtual |
The method returning the objective value of the solution.
Implements BCP_solution.
Definition at line 23 of file MKC_solution.hpp.
References _objective.
void MKC_solution::pack | ( | BCP_buffer & | buf | ) | const |
double MKC_solution::_objective |
Definition at line 16 of file MKC_solution.hpp.
Referenced by objective_value().
Definition at line 17 of file MKC_solution.hpp.