|
coin-Bcp
|
#include <MKC_var.hpp>


Public Member Functions | |
| MKC_branching_var (const int order_ind, const int num, int *&slist) | |
| MKC_branching_var (BCP_buffer &buf) | |
| ~MKC_branching_var () | |
| void | pack (BCP_buffer &buf) const |
Public Member Functions inherited from BCP_var_algo | |
| BCP_var_algo (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. More... | |
| virtual | ~BCP_var_algo ()=0 |
| The destructor deletes the object. More... | |
| BCP_object_t | obj_type () const |
Return BCP_AlgoObj indicating that the object is an algorithmic variable. More... | |
Public Member Functions inherited from BCP_var | |
| BCP_var (const BCP_var_t var_type, const double obj, const double lb, const double ub) | |
| The constructor sets the internal index of the variable to zero and the other data members to the given arguments. More... | |
| virtual | ~BCP_var () |
| The destructor is virtual so that the appropriate destructor is invoked for every variable. More... | |
| BCP_var_t | var_type () const |
| Return the integrality type of the variable. More... | |
| double | obj () const |
| Return the objective coefficient. More... | |
| double | lb () const |
| Return the lower bound. More... | |
| double | ub () const |
| Return the upper bound. More... | |
| int | bcpind () const |
| Return the internal index of the variable. More... | |
| BCP_obj_status | status () const |
| Return the status of the variable. More... | |
| bool | dont_send_to_pool () const |
| Return whether the variable should be sent to the Variable Pool process. More... | |
| bool | is_fixed () const |
| Return whether the variable is fixed or not. More... | |
| bool | is_fixed_to_zero () const |
| Return whether the variable is fixed to zero or not. More... | |
| bool | is_non_removable () const |
| Return whether the variable is marked NotRemovable. More... | |
| bool | is_removable () const |
| Return whether the variable is removable from the formulation at the time of the query. More... | |
| bool | is_to_be_removed () const |
| Return whether the variable must be removed from the formulation. More... | |
| void | test_inactive () |
| Test (and set) whether the var is fixed (inactive) More... | |
| void | set_var_type (const BCP_var_t type) |
| Set the integrality type of the variable. More... | |
| void | set_obj (const double obj) |
| Set the objective coefficient. More... | |
| void | set_lb (const double lb) |
| Set the lower bound. More... | |
| void | set_ub (const double ub) |
| Set the upper bound. More... | |
| void | set_lb_ub (const double lb, const double ub) |
| Set both lower and upper bounds. More... | |
| void | change_lb_ub_st (const BCP_obj_change &change) |
| Set the lower/upper bounds and the status of the variable simultaneously to the values given in the data members of the argument. More... | |
| void | change_bounds (const double lb, const double ub) |
| Change the lower and upper bounds to the given values. More... | |
| void | set_bcpind (const int bcpind) |
| Set the internal index of the variable. More... | |
| void | set_bcpind_flip () |
| Flip the internal index of the variable to its negative. More... | |
| void | set_status (const BCP_obj_status status) |
| Set the status of the variable. More... | |
| void | dont_send_to_pool (bool flag) |
| Set/unset the flag controlling whether the variable could be sent to the Variable Pool process. More... | |
| void | make_active () |
| Mark the variable as active. More... | |
| void | make_non_removable () |
| Mark the variable as NotRemovable. More... | |
| void | make_to_be_removed () |
| Mark the variable as ToBeRemoved. More... | |
| void | display (const double val) const |
| Display the object type, internal index, and the value given in the argument. More... | |
Public Member Functions inherited from Coin::ReferencedObject | |
| ReferencedObject () | |
| virtual | ~ReferencedObject () |
| int | ReferenceCount () const |
| void | AddRef () const |
| void | ReleaseRef () const |
Public Attributes | |
| int | order_index |
| int | slab_num |
| int * | slab_list |
Additional Inherited Members | |
Protected Attributes inherited from BCP_var | |
| BCP_var_t | _var_type |
| The integrality type of the variable. More... | |
| double | _obj |
| The objective coefficient. More... | |
| double | _lb |
| Lower bound on the value the variable can take. More... | |
| double | _ub |
| Upper bound on the value the variable can take. More... | |
Definition at line 65 of file MKC_var.hpp.
|
inline |
Definition at line 72 of file MKC_var.hpp.
|
inline |
Definition at line 77 of file MKC_var.hpp.
References order_index, slab_list, slab_num, and BCP_buffer::unpack().
|
inline |
Definition at line 83 of file MKC_var.hpp.
References slab_list.
|
inline |
Definition at line 87 of file MKC_var.hpp.
References order_index, BCP_buffer::pack(), slab_list, and slab_num.
Referenced by MKC_var_pack().
| int MKC_branching_var::order_index |
Definition at line 68 of file MKC_var.hpp.
Referenced by MKC_branching_var(), and pack().
| int MKC_branching_var::slab_num |
Definition at line 69 of file MKC_var.hpp.
Referenced by MKC_branching_var(), and pack().
| int* MKC_branching_var::slab_list |
Definition at line 70 of file MKC_var.hpp.
Referenced by MKC_branching_var(), pack(), and ~MKC_branching_var().
1.8.5