#include <BonNWayObject.hpp>


Public Member Functions | |
| BonNWayObject () | |
| BonNWayObject (int numberMembers, const int *which, int identifier) | |
| Useful constructor (which are matrix indices) More... | |
| BonNWayObject (const BonNWayObject &) | |
| virtual OsiObject * | clone () const |
| Clone. More... | |
| BonNWayObject & | operator= (const BonNWayObject &rhs) |
| Assignment operator. More... | |
| virtual | ~BonNWayObject () |
| Destructor. More... | |
| void | setConsequence (int iMember, const n_way_consequences &consequence) |
| Set up a consequence for a single member. More... | |
| void | applyConsequence (OsiSolverInterface *solver, int iSequence, int state) const |
| Applies a consequence for a single member. More... | |
| virtual double | infeasibility (const OsiBranchingInformation *info, int &preferredWay) const |
| Infeasibility - large is 0.5 (and 0.5 will give this) More... | |
| virtual double | feasibleRegion (OsiSolverInterface *solver, const OsiBranchingInformation *info) const |
| This looks at solution and sets bounds to contain solution. More... | |
| virtual OsiBranchingObject * | createBranch (OsiSolverInterface *solver, const OsiBranchingInformation *info, int way) const |
| Creates a branching object. More... | |
| size_t | numberMembers () const |
| Number of members. More... | |
| const int * | members () const |
| Members (indices in range 0 ... numberColumns-1) More... | |
| void | set_bounds (std::vector< double > &bounds) const |
| void | make_quick () |
| void | set_only_frac_branches (int depth) |
Private Attributes | |
| std::vector< int > | members_ |
| data More... | |
| n_way_consequences ** | consequence_ |
| Consequences (normally NULL) More... | |
| std::vector< double > | bounds_ |
| Bounds on the members. More... | |
| bool | quicky_ |
| Quicky only branch up on variables with non zero value. More... | |
| int | only_frac_branch_ |
| Only branch on fractional variables (last branch puts all of them to 0) More... | |
Definition at line 55 of file BonNWayObject.hpp.
| Bonmin::BonNWayObject::BonNWayObject | ( | ) |
Definition at line 27 of file BonNWayObject.cpp.
Useful constructor (which are matrix indices)
Definition at line 37 of file BonNWayObject.cpp.
| Bonmin::BonNWayObject::BonNWayObject | ( | const BonNWayObject & | rhs | ) |
Definition at line 52 of file BonNWayObject.cpp.
|
virtual |
Destructor.
Definition at line 106 of file BonNWayObject.cpp.
|
virtual |
Clone.
Definition at line 72 of file BonNWayObject.cpp.
| BonNWayObject & Bonmin::BonNWayObject::operator= | ( | const BonNWayObject & | rhs | ) |
Assignment operator.
Definition at line 79 of file BonNWayObject.cpp.
| void Bonmin::BonNWayObject::setConsequence | ( | int | iMember, |
| const n_way_consequences & | consequence | ||
| ) |
Set up a consequence for a single member.
Definition at line 116 of file BonNWayObject.cpp.
| void Bonmin::BonNWayObject::applyConsequence | ( | OsiSolverInterface * | solver, |
| int | iSequence, | ||
| int | state | ||
| ) | const |
Applies a consequence for a single member.
Definition at line 128 of file BonNWayObject.cpp.
|
virtual |
Infeasibility - large is 0.5 (and 0.5 will give this)
Definition at line 138 of file BonNWayObject.cpp.
|
virtual |
This looks at solution and sets bounds to contain solution.
Definition at line 171 of file BonNWayObject.cpp.
|
virtual |
Creates a branching object.
Definition at line 198 of file BonNWayObject.cpp.
|
inline |
Number of members.
Definition at line 97 of file BonNWayObject.hpp.
|
inline |
Members (indices in range 0 ... numberColumns-1)
Definition at line 102 of file BonNWayObject.hpp.
|
inline |
Definition at line 106 of file BonNWayObject.hpp.
|
inline |
Definition at line 110 of file BonNWayObject.hpp.
Definition at line 112 of file BonNWayObject.hpp.
|
private |
data
Members (indices in range 0 ... numberColumns-1)
Definition at line 119 of file BonNWayObject.hpp.
|
private |
Consequences (normally NULL)
Definition at line 121 of file BonNWayObject.hpp.
|
mutableprivate |
Bounds on the members.
Definition at line 124 of file BonNWayObject.hpp.
|
private |
Quicky only branch up on variables with non zero value.
Definition at line 127 of file BonNWayObject.hpp.
|
private |
Only branch on fractional variables (last branch puts all of them to 0)
Definition at line 129 of file BonNWayObject.hpp.
1.8.5