|
Bonmin 1.8.9
|
Class to perform OA in its classical form. More...
#include <BonOaFeasChecker.hpp>
Inheritance diagram for Bonmin::OaFeasibilityChecker:
Collaboration diagram for Bonmin::OaFeasibilityChecker: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 Member Functions inherited from Bonmin::OaDecompositionBase | |
| void | setupMipSolver (BabSetupBase &b, const std::string &prefix) |
| bool | post_nlp_solve (BabInfo *babInfo, double cutoff) const |
| Solve the nlp and do output. | |
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. | |
Protected Attributes inherited from Bonmin::OaDecompositionBase | |
| OsiTMINLPInterface * | nlp_ |
| Pointer to nlp interface. | |
| BabSetupBase * | s_ |
| Pointer to setup. | |
| int | nSolve_ |
| Number of nlp solved done. | |
| OsiSolverInterface * | lp_ |
| A linear solver. | |
| OsiObject ** | objects_ |
| Some objects the feasiblitiy of which to verify. | |
| int | nObjects_ |
| Number of objects.*/. | |
| int | nLocalSearch_ |
| number of local searches performed | |
| CoinMessageHandler * | handler_ |
| messages handler. | |
| CoinMessages | messages_ |
| Messages for OA. | |
| bool | leaveSiUnchanged_ |
| Wether or not we should remove cuts at the end of the procedure. | |
| bool | reassignLpsolver_ |
| Do we need to reassign the lp solver with Cbc. | |
| double | timeBegin_ |
| time of construction | |
| int | numSols_ |
| number of solutions found by OA_decomposition. | |
| Parameters | parameters_ |
| Parameters. | |
| OsiCuts | savedCuts_ |
| Saved cuts: in some cases when using OA to check feasible solution algorithm may loop because Cbc removes inactive cuts. | |
| int | currentNodeNumber_ |
| Store the current node number. | |
Additional Inherited Members | |
Public Attributes inherited from CglCutGenerator | |
| int | aggressive_ |
| bool | canDoGlobalCuts_ |
Class to perform OA in its classical form.
Definition at line 18 of file BonOaFeasChecker.hpp.
|
protected |
See documentation for feas_check_discard_policy option.
| Enumerator | |
|---|---|
| DetectCycles | |
| KeepAll | |
| TreatAsNormal | |
Definition at line 53 of file BonOaFeasChecker.hpp.
|
protected |
See documentation for feas_check_cut_types option.
| Enumerator | |
|---|---|
| OA | |
| Benders | |
Definition at line 61 of file BonOaFeasChecker.hpp.
| Bonmin::OaFeasibilityChecker::OaFeasibilityChecker | ( | BabSetupBase & | b | ) |
New usefull constructor.
|
inline |
Copy constructor.
Definition at line 24 of file BonOaFeasChecker.hpp.
| Bonmin::OaFeasibilityChecker::~OaFeasibilityChecker | ( | ) |
Destructor.
|
static |
Register OA options.
|
inlinevirtual |
Implements CglCutGenerator.
Definition at line 38 of file BonOaFeasChecker.hpp.
|
protectedvirtual |
virtual method which performs the OA algorithm by modifying lp and nlp.
Implements Bonmin::OaDecompositionBase.
|
inlineprotectedvirtual |
virutal method to decide if local search is performed
Implements Bonmin::OaDecompositionBase.
Definition at line 47 of file BonOaFeasChecker.hpp.
|
protected |
Policy for keeping cuts.
Definition at line 58 of file BonOaFeasChecker.hpp.
|
protected |
Type of cuts.
Definition at line 65 of file BonOaFeasChecker.hpp.
|
mutableprotected |
Count the total number of cuts generated.
Definition at line 68 of file BonOaFeasChecker.hpp.
|
protected |
maximum number of OA cuts.
Definition at line 70 of file BonOaFeasChecker.hpp.