|
Bonmin
1.7
|
Class to perform OA in its classical form. More...
#include <BonOaFeasChecker.hpp>
Public Member Functions | |
| OaFeasibilityChecker (BabSetupBase &b) | |
| New usefull constructor. | |
| OaFeasibilityChecker (const OaFeasibilityChecker ©) | |
| Copy constructor. | |
| ~OaFeasibilityChecker () | |
| Destructor. | |
| 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. | |
Class to perform OA in its classical form.
Definition at line 18 of file BonOaFeasChecker.hpp.
enum Bonmin::OaFeasibilityChecker::CutsPolicies [protected] |
See documentation for feas_check_discard_policy option.
Definition at line 53 of file BonOaFeasChecker.hpp.
enum Bonmin::OaFeasibilityChecker::CutsTypes [protected] |
See documentation for feas_check_cut_types option.
Definition at line 61 of file BonOaFeasChecker.hpp.
| 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 | ( | ) |
Destructor.
| 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.
CutsPolicies Bonmin::OaFeasibilityChecker::pol_ [protected] |
Policy for keeping cuts.
Definition at line 58 of file BonOaFeasChecker.hpp.
CutsTypes Bonmin::OaFeasibilityChecker::type_ [protected] |
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.
unsigned int Bonmin::OaFeasibilityChecker::maximum_oa_cuts_ [protected] |
maximum number of OA cuts.
Definition at line 70 of file BonOaFeasChecker.hpp.
1.7.5.1