Blis 0.95.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BlisBranchStrategyStrong Class Reference

This class implements strong branching. More...

#include <BlisBranchStrategyStrong.h>

+ Inheritance diagram for BlisBranchStrategyStrong:
+ Collaboration diagram for BlisBranchStrategyStrong:

Public Member Functions

 BlisBranchStrategyStrong ()
 Strong Constructor.
 
 BlisBranchStrategyStrong (BlisModel *model)
 Strong Constructor.
 
virtual ~BlisBranchStrategyStrong ()
 Destructor.
 
 BlisBranchStrategyStrong (const BlisBranchStrategyStrong &)
 Copy constructor.
 
virtual BcpsBranchStrategy * clone () const
 Clone a brancing strategy.
 
virtual int createCandBranchObjects (int numPassesLeft, double ub)
 Create a set of candidate branching objects.
 
virtual int betterBranchObject (BcpsBranchObject *thisOne, BcpsBranchObject *bestSoFar)
 Compare branching object thisOne to bestSoFar.
 

Detailed Description

This class implements strong branching.

Definition at line 58 of file BlisBranchStrategyStrong.h.

Constructor & Destructor Documentation

◆ BlisBranchStrategyStrong() [1/3]

BlisBranchStrategyStrong::BlisBranchStrategyStrong ( )
inline

Strong Constructor.

Definition at line 68 of file BlisBranchStrategyStrong.h.

◆ BlisBranchStrategyStrong() [2/3]

BlisBranchStrategyStrong::BlisBranchStrategyStrong ( BlisModel * model)
inline

Strong Constructor.

Definition at line 73 of file BlisBranchStrategyStrong.h.

◆ ~BlisBranchStrategyStrong()

virtual BlisBranchStrategyStrong::~BlisBranchStrategyStrong ( )
inlinevirtual

Destructor.

Definition at line 79 of file BlisBranchStrategyStrong.h.

◆ BlisBranchStrategyStrong() [3/3]

BlisBranchStrategyStrong::BlisBranchStrategyStrong ( const BlisBranchStrategyStrong & )

Copy constructor.

Member Function Documentation

◆ clone()

virtual BcpsBranchStrategy * BlisBranchStrategyStrong::clone ( ) const
inlinevirtual

Clone a brancing strategy.

Definition at line 85 of file BlisBranchStrategyStrong.h.

◆ createCandBranchObjects()

virtual int BlisBranchStrategyStrong::createCandBranchObjects ( int numPassesLeft,
double ub )
virtual

Create a set of candidate branching objects.

◆ betterBranchObject()

virtual int BlisBranchStrategyStrong::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).


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