Bonmin  1.7
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
Bonmin::OaFeasibilityChecker Class Reference

Class to perform OA in its classical form. More...

#include <BonOaFeasChecker.hpp>

Inheritance diagram for Bonmin::OaFeasibilityChecker:

List of all members.

Public Member Functions

 OaFeasibilityChecker (BabSetupBase &b)
 New usefull constructor.
 OaFeasibilityChecker (const OaFeasibilityChecker &copy)
 Copy constructor.
 ~OaFeasibilityChecker ()
virtual CglCutGenerator * clone () const

Static Public Member Functions

static void registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
 Register OA options.

Protected Types

enum  CutsPolicies { DetectCycles = 0, KeepAll, TreatAsNormal }
 See documentation for feas_check_discard_policy option. More...
enum  CutsTypes { OA = 0, Benders }
 See documentation for feas_check_cut_types option. More...

Protected Member Functions

virtual double performOa (OsiCuts &cs, solverManip &lpManip, BabInfo *babInfo, double &cutoff, const CglTreeInfo &info) const
 virtual method which performs the OA algorithm by modifying lp and nlp.
virtual bool doLocalSearch (BabInfo *babInfo) const
 virutal method to decide if local search is performed

Protected Attributes

CutsPolicies pol_
 Policy for keeping cuts.
CutsTypes type_
 Type of cuts.
unsigned int cut_count_
 Count the total number of cuts generated.
unsigned int maximum_oa_cuts_
 maximum number of OA cuts.

Detailed Description

Class to perform OA in its classical form.

Definition at line 18 of file BonOaFeasChecker.hpp.

Member Enumeration Documentation

See documentation for feas_check_discard_policy option.


Definition at line 53 of file BonOaFeasChecker.hpp.

See documentation for feas_check_cut_types option.


Definition at line 61 of file BonOaFeasChecker.hpp.

Constructor & Destructor Documentation

Bonmin::OaFeasibilityChecker::OaFeasibilityChecker ( BabSetupBase b)

New usefull constructor.

Referenced by clone().

Bonmin::OaFeasibilityChecker::OaFeasibilityChecker ( const OaFeasibilityChecker copy) [inline]

Copy constructor.

Definition at line 24 of file BonOaFeasChecker.hpp.

Bonmin::OaFeasibilityChecker::~OaFeasibilityChecker ( )


Member Function Documentation

static void Bonmin::OaFeasibilityChecker::registerOptions ( Ipopt::SmartPtr< Bonmin::RegisteredOptions roptions) [static]

Register OA options.

virtual CglCutGenerator* Bonmin::OaFeasibilityChecker::clone ( ) const [inline, virtual]

Definition at line 38 of file BonOaFeasChecker.hpp.

References OaFeasibilityChecker().

virtual double Bonmin::OaFeasibilityChecker::performOa ( OsiCuts &  cs,
solverManip lpManip,
BabInfo babInfo,
double &  cutoff,
const CglTreeInfo &  info 
) const [protected, virtual]

virtual method which performs the OA algorithm by modifying lp and nlp.

Implements Bonmin::OaDecompositionBase.

virtual bool Bonmin::OaFeasibilityChecker::doLocalSearch ( BabInfo babInfo) const [inline, protected, virtual]

virutal method to decide if local search is performed

Implements Bonmin::OaDecompositionBase.

Definition at line 47 of file BonOaFeasChecker.hpp.

Member Data Documentation

Policy for keeping cuts.

Definition at line 58 of file BonOaFeasChecker.hpp.

Type of cuts.

Definition at line 65 of file BonOaFeasChecker.hpp.

unsigned int Bonmin::OaFeasibilityChecker::cut_count_ [mutable, protected]

Count the total number of cuts generated.

Definition at line 68 of file BonOaFeasChecker.hpp.

maximum number of OA cuts.

Definition at line 70 of file BonOaFeasChecker.hpp.

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