Core variables are the variables that always stay in the LP formulation. More...
#include <BCP_var.hpp>
Public Member Functions | |
Constructors and destructor | |
BCP_var_core (const BCP_var_core &x) | |
The copy constructor makes a replica of the argument. | |
BCP_var_core (const BCP_var_t var_type, const double obj, const double lb, const double ub) | |
This constructor just sets the data members to the given values. | |
~BCP_var_core () | |
The destructor deletes the object. | |
Query methods | |
BCP_object_t | obj_type () const |
Return BCP_CoreObj indicating that the object is a core variable. | |
Private Member Functions | |
Disabled methods | |
BCP_var_core () | |
The default constructor is declared but not defined to disable it. | |
BCP_var_core & | operator= (const BCP_var_core &) |
The assignment operator is declared but not defined to disable it. |
Core variables are the variables that always stay in the LP formulation.
Therefore the data members in the base class are quite sufficient to describe the variable. The only thing that has to be done here is overriding the pure virtual method obj_type().
Definition at line 221 of file BCP_var.hpp.
BCP_var_core::BCP_var_core | ( | ) | [private] |
The default constructor is declared but not defined to disable it.
BCP_var_core::BCP_var_core | ( | const BCP_var_core & | x | ) | [inline] |
The copy constructor makes a replica of the argument.
Definition at line 235 of file BCP_var.hpp.
BCP_var_core::BCP_var_core | ( | const BCP_var_t | var_type, | |
const double | obj, | |||
const double | lb, | |||
const double | ub | |||
) | [inline] |
This constructor just sets the data members to the given values.
See also the constructor BCP_var.
Definition at line 242 of file BCP_var.hpp.
BCP_var_core::~BCP_var_core | ( | ) | [inline] |
The destructor deletes the object.
Definition at line 246 of file BCP_var.hpp.
BCP_var_core& BCP_var_core::operator= | ( | const BCP_var_core & | ) | [private] |
The assignment operator is declared but not defined to disable it.
Reimplemented from BCP_var.
BCP_object_t BCP_var_core::obj_type | ( | ) | const [inline, virtual] |
Return BCP_CoreObj indicating that the object is a core variable.
Implements BCP_var.
Definition at line 252 of file BCP_var.hpp.