#include <valbranchrule.h>
Inheritance diagram for ABA_VALBRANCHRULE:

Public Member Functions | |
| ABA_VALBRANCHRULE (ABA_MASTER *master, int variable, double value) | |
| virtual | ~ABA_VALBRANCHRULE () |
| The destructor. | |
| virtual int | extract (ABA_SUB *sub) |
| virtual void | extract (ABA_LPSUB *lp) |
| The function extract() is overloaded to modify directly the linear programming relaxation. This required to evaluate the quality of a branching rule. | |
| virtual void | unExtract (ABA_LPSUB *lp) |
| The function unExtract(). | |
| int | variable () const |
| double | value () const |
Private Attributes | |
| int | variable_ |
| double | value_ |
| double | oldLpLBound_ |
| double | oldLpUBound_ |
Friends | |
| ostream & | operator<< (ostream &out, const ABA_VALBRANCHRULE &rhs) |
| The output operator writes the branching variable together with its value to an output stream. | |
| int | variable_ The branching variable. | |
| double | value_ The value the branching variable is set to. |
Definition at line 42 of file valbranchrule.h.
| ABA_VALBRANCHRULE::ABA_VALBRANCHRULE | ( | ABA_MASTER * | master, | |
| int | variable, | |||
| double | value | |||
| ) |
The constructor.
| master | The corresponding master of the optimization. | |
| variable | The branching variable. | |
| value | The value the branching variable is set to. |
| virtual ABA_VALBRANCHRULE::~ABA_VALBRANCHRULE | ( | ) | [virtual] |
The destructor.
| virtual int ABA_VALBRANCHRULE::extract | ( | ABA_SUB * | sub | ) | [virtual] |
Modifies a subproblem by setting the branching variable.
1 If a contradiction occurs.
| sub | The subproblem being modified. |
Implements ABA_BRANCHRULE.
| virtual void ABA_VALBRANCHRULE::extract | ( | ABA_LPSUB * | lp | ) | [virtual] |
The function extract() is overloaded to modify directly the linear programming relaxation. This required to evaluate the quality of a branching rule.
Reimplemented from ABA_BRANCHRULE.
| virtual void ABA_VALBRANCHRULE::unExtract | ( | ABA_LPSUB * | lp | ) | [virtual] |
| int ABA_VALBRANCHRULE::variable | ( | ) | const [inline] |
| double ABA_VALBRANCHRULE::value | ( | ) | const [inline] |
| ostream& operator<< | ( | ostream & | out, | |
| const ABA_VALBRANCHRULE & | rhs | |||
| ) | [friend] |
The output operator writes the branching variable together with its value to an output stream.
| out | The output stream. | |
| rhs | The branching rule being output. |
int ABA_VALBRANCHRULE::variable_ [private] |
Definition at line 124 of file valbranchrule.h.
double ABA_VALBRANCHRULE::value_ [private] |
Definition at line 125 of file valbranchrule.h.
double ABA_VALBRANCHRULE::oldLpLBound_ [private] |
Definition at line 126 of file valbranchrule.h.
double ABA_VALBRANCHRULE::oldLpUBound_ [private] |
Definition at line 127 of file valbranchrule.h.
1.5.1