coin-Bcp
Public Member Functions | Public Attributes | List of all members
MKC_solution Class Reference

#include <MKC_solution.hpp>

Inheritance diagram for MKC_solution:
Inheritance graph
[legend]
Collaboration diagram for MKC_solution:
Collaboration graph
[legend]

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
 
- Public Member Functions inherited from BCP_solution
virtual ~BCP_solution ()
 The virtual destructor ensures that the correct destructor is invoked. More...
 

Public Attributes

double _objective
 
BCP_vec< MKC_var * > _vars
 

Detailed Description

Definition at line 14 of file MKC_solution.hpp.

Constructor & Destructor Documentation

MKC_solution::MKC_solution ( BCP_vec< MKC_var * > &  vars,
const double  obj 
)
MKC_solution::MKC_solution ( BCP_buffer buf)
MKC_solution::~MKC_solution ( )

Member Function Documentation

double MKC_solution::objective_value ( ) const
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

Member Data Documentation

double MKC_solution::_objective

Definition at line 16 of file MKC_solution.hpp.

Referenced by objective_value().

BCP_vec<MKC_var*> MKC_solution::_vars

Definition at line 17 of file MKC_solution.hpp.


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