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

This class implements maximum infeasibility branching. More...

#include <BlisBranchStrategyMaxInf.h>

+ Inheritance diagram for BlisBranchStrategyMaxInf:
+ Collaboration diagram for BlisBranchStrategyMaxInf:

Public Member Functions

 BlisBranchStrategyMaxInf ()
 MaxInf Constructor.
 
 BlisBranchStrategyMaxInf (BlisModel *model)
 MaxInf Constructor.
 
virtual ~BlisBranchStrategyMaxInf ()
 Destructor.
 
 BlisBranchStrategyMaxInf (const BlisBranchStrategyMaxInf &)
 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 maximum infeasibility branching.

Definition at line 33 of file BlisBranchStrategyMaxInf.h.

Constructor & Destructor Documentation

◆ BlisBranchStrategyMaxInf() [1/3]

BlisBranchStrategyMaxInf::BlisBranchStrategyMaxInf ( )
inline

MaxInf Constructor.

Definition at line 43 of file BlisBranchStrategyMaxInf.h.

◆ BlisBranchStrategyMaxInf() [2/3]

BlisBranchStrategyMaxInf::BlisBranchStrategyMaxInf ( BlisModel * model)
inline

MaxInf Constructor.

Definition at line 48 of file BlisBranchStrategyMaxInf.h.

◆ ~BlisBranchStrategyMaxInf()

virtual BlisBranchStrategyMaxInf::~BlisBranchStrategyMaxInf ( )
inlinevirtual

Destructor.

Definition at line 53 of file BlisBranchStrategyMaxInf.h.

◆ BlisBranchStrategyMaxInf() [3/3]

BlisBranchStrategyMaxInf::BlisBranchStrategyMaxInf ( const BlisBranchStrategyMaxInf & )

Copy constructor.

Member Function Documentation

◆ clone()

virtual BcpsBranchStrategy * BlisBranchStrategyMaxInf::clone ( ) const
inlinevirtual

Clone a brancing strategy.

Definition at line 59 of file BlisBranchStrategyMaxInf.h.

◆ createCandBranchObjects()

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

Create a set of candidate branching objects.

◆ betterBranchObject()

virtual int BlisBranchStrategyMaxInf::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: