- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Private Member Functions | List of all members
BlisBranchStrategyBilevel Class Reference

This class implements maximum infeasibility branching. More...

`#include <BlisBranchStrategyBilevel.h>`

Inheritance diagram for BlisBranchStrategyBilevel:
[legend]
Collaboration diagram for BlisBranchStrategyBilevel:
[legend]

## Public Member Functions
| BlisBranchStrategyBilevel ()
| Bilevel Constructor. More...
| BlisBranchStrategyBilevel (BlisModel *model)
| Bilevel Constructor. More...
virtual | ~BlisBranchStrategyBilevel ()
| Destructor. More...
| BlisBranchStrategyBilevel (const BlisBranchStrategyBilevel &)
| Copy constructor. More...
virtual BcpsBranchStrategy * | clone () const
| Clone a brancing strategy. More...
virtual int | createCandBranchObjects (int numPassesLeft, double ub)
| Create a set of candidate branching objects. More...
virtual int | betterBranchObject (BcpsBranchObject *thisOne, BcpsBranchObject *bestSoFar)
| Compare branching object thisOne to bestSoFar. More...
Public Member Functions inherited from BcpsBranchStrategy
| BcpsBranchStrategy ()
| Default Constructor. More...
| BcpsBranchStrategy (BcpsModel *m)
| Useful Constructor. More...
virtual | ~BcpsBranchStrategy ()
| Destructor. More...
int | getType ()
| Get type. More...
void | setType (int t)
| Set type. More...
void | setModel (BcpsModel *m)
| Set model. More...
virtual void | clearBest (BcpsModel *model)
| Clear branching strategy environment before starting a new round of selecting the best branch object. More...
virtual BcpsBranchObject * | bestBranchObject ()
| Compare branching objects in branchObjects_. More...
int | getNumBranchObjects ()
| Set/get branching objects. More...
void | getNumBranchObjects (int num)
| Set/get branching objects. More...
BcpsBranchObject ** | getBranchObjects ()
| Set/get branching objects. More...
void | setBranchObjects (BcpsBranchObject **obj)
| Set/get branching objects. More...
BcpsBranchObject * | getBestBranchObject ()
| Set/get branching objects. More...
void | setBestBranchObject (BcpsBranchObject *ob)
| Set/get branching objects. More...

## Private Member Functions
BlisBranchStrategyBilevel & | operator= (const BlisBranchStrategyBilevel &rhs)
| Illegal Assignment operator. More...

## Additional Inherited Members
Protected Attributes inherited from BcpsBranchStrategy
int | type_
| Type of branching strategy. More...
BcpsModel * | model_
| Pointer to model. More...
int | numBranchObjects_
| Following members are used to store candidate branching objects. More...
BcpsBranchObject ** | branchObjects_
| The set of candiate branching objects. More...
BcpsBranchObject * | bestBranchObject_
| Following members are used to store information about best branching object found so far. More...
double | bestChangeUp_
| Change up for best. More...
int | bestNumberUp_
| Number of infeasibilities for up. More...
double | bestChangeDown_
| Change down for best. More...
int | bestNumberDown_
| Number of infeasibilities for down. More...

## Detailed Description

This class implements maximum infeasibility branching.

Definition at line 32 of file BlisBranchStrategyBilevel.h.

## Constructor & Destructor Documentation

BlisBranchStrategyBilevel::BlisBranchStrategyBilevel | ( |  | ) |
| inline

Bilevel Constructor.

Definition at line 42 of file BlisBranchStrategyBilevel.h.

BlisBranchStrategyBilevel::BlisBranchStrategyBilevel | ( | BlisModel * | model | ) |
| inline

Bilevel Constructor.

Definition at line 47 of file BlisBranchStrategyBilevel.h.

virtual BlisBranchStrategyBilevel::~BlisBranchStrategyBilevel | ( |  | ) |
| inline virtual

Destructor.

Definition at line 52 of file BlisBranchStrategyBilevel.h.

BlisBranchStrategyBilevel::BlisBranchStrategyBilevel | ( | const BlisBranchStrategyBilevel & |  | ) |

Copy constructor.

## Member Function Documentation

BlisBranchStrategyBilevel& BlisBranchStrategyBilevel::operator= | ( | const BlisBranchStrategyBilevel & | rhs | ) |
| private

Illegal Assignment operator.

virtual BcpsBranchStrategy* BlisBranchStrategyBilevel::clone | ( |  | ) | const
| inline virtual

Clone a brancing strategy.

Implements BcpsBranchStrategy.

Definition at line 58 of file BlisBranchStrategyBilevel.h.

virtual int BlisBranchStrategyBilevel::createCandBranchObjects | ( | int | numPassesLeft,
|  | double | ub
| ) |  |
| virtual

Create a set of candidate branching objects.

Reimplemented from BcpsBranchStrategy.

virtual int BlisBranchStrategyBilevel::betterBranchObject | ( | BcpsBranchObject * | thisOne,
|  | BcpsBranchObject * | bestSoFar
| ) |  |
| virtual

Compare branching object thisOne to bestSoFar.

If thisOne is better than bestObject, return branching direction(1 or -1), otherwise return 0. If bestSorFar is NULL, then always return branching direction(1 or -1).

Implements BcpsBranchStrategy.

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

- /tmp/CHiPPS-Blis-0.94.3/Blis/src/BlisBranchStrategyBilevel.h