#include <BonFpForMinlp.hpp>
Public Member Functions | |
MinlpFeasPump (BabSetupBase &b) | |
Constructor with basic setup. More... | |
MinlpFeasPump (const MinlpFeasPump ©) | |
Copy constructor. More... | |
~MinlpFeasPump () | |
Destructor. More... | |
void | setStrategy (const CbcStrategy &strategy) |
virtual CglCutGenerator * | clone () const |
![]() | |
OaDecompositionBase (BabSetupBase &b, bool leaveSiUnchanged, bool reassignLpsolver) | |
New usefull constructor. More... | |
OaDecompositionBase (const OaDecompositionBase ©) | |
Copy constructor. More... | |
virtual | ~OaDecompositionBase () |
Destructor. More... | |
virtual void | generateCuts (const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo()) |
Standard cut generation methods. More... | |
void | assignNlpInterface (OsiTMINLPInterface *nlp) |
Assign an OsiTMINLPInterface. More... | |
void | assignLpInterface (OsiSolverInterface *si) |
Assign an OsiTMINLPInterface. More... | |
bool | reassignLpsolver () |
void | setObjects (OsiObject **objects, int nObjects) |
Set objects. More... | |
void | setLeaveSiUnchanged (bool yesno) |
Set whether to leave the solverinterface unchanged. More... | |
Parameters & | parameter () |
const Parameters & | parameter () const |
void | setLogLevel (int level) |
void | setReassignLpSolver (bool v) |
void | passInMessageHandler (CoinMessageHandler *handler) |
Static Public Member Functions | |
static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Register OA options. 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. More... | |
virtual bool | doLocalSearch (BabInfo *babInfo) const |
virutal method to decide if local search is performed More... | |
void | set_fp_objective (OsiSolverInterface &si, const double *colsol) const |
Put objective of MIP according to FP scheme. More... | |
![]() | |
void | setupMipSolver (BabSetupBase &b, const std::string &prefix) |
bool | post_nlp_solve (BabInfo *babInfo, double cutoff) const |
Solve the nlp and do output. More... | |
Private Attributes | |
SubMipSolver * | subMip_ |
int | passBound_ |
Wether or not to pass bound to master algorithm. More... | |
Additional Inherited Members | |
![]() | |
OsiTMINLPInterface * | nlp_ |
Pointer to nlp interface. More... | |
BabSetupBase * | s_ |
Pointer to setup. More... | |
int | nSolve_ |
Number of nlp solved done. More... | |
OsiSolverInterface * | lp_ |
A linear solver. More... | |
OsiObject ** | objects_ |
Some objects the feasiblitiy of which to verify. More... | |
int | nObjects_ |
Number of objects.*/. More... | |
int | nLocalSearch_ |
number of local searches performed More... | |
CoinMessageHandler * | handler_ |
messages handler. More... | |
CoinMessages | messages_ |
Messages for OA. More... | |
bool | leaveSiUnchanged_ |
Wether or not we should remove cuts at the end of the procedure. More... | |
bool | reassignLpsolver_ |
Do we need to reassign the lp solver with Cbc. More... | |
double | timeBegin_ |
time of construction More... | |
int | numSols_ |
number of solutions found by OA_decomposition. More... | |
Parameters | parameters_ |
Parameters. More... | |
OsiCuts | savedCuts_ |
Saved cuts: in some cases when using OA to check feasible solution algorithm may loop because Cbc removes inactive cuts. More... | |
int | currentNodeNumber_ |
Store the current node number. More... | |
Definition at line 15 of file BonFpForMinlp.hpp.
Bonmin::MinlpFeasPump::MinlpFeasPump | ( | BabSetupBase & | b | ) |
Constructor with basic setup.
Definition at line 29 of file BonFpForMinlp.cpp.
|
inline |
Copy constructor.
Definition at line 21 of file BonFpForMinlp.hpp.
Bonmin::MinlpFeasPump::~MinlpFeasPump | ( | ) |
Destructor.
Definition at line 48 of file BonFpForMinlp.cpp.
|
inline |
Definition at line 30 of file BonFpForMinlp.hpp.
|
inlinevirtual |
Definition at line 35 of file BonFpForMinlp.hpp.
|
static |
Register OA options.
Definition at line 246 of file BonFpForMinlp.cpp.
|
protectedvirtual |
virtual method which performs the OA algorithm by modifying lp and nlp.
endif localSearch
Implements Bonmin::OaDecompositionBase.
Definition at line 63 of file BonFpForMinlp.cpp.
|
protectedvirtual |
virutal method to decide if local search is performed
Implements Bonmin::OaDecompositionBase.
Definition at line 55 of file BonFpForMinlp.cpp.
|
protected |
Put objective of MIP according to FP scheme.
Definition at line 273 of file BonFpForMinlp.cpp.
|
private |
Definition at line 52 of file BonFpForMinlp.hpp.
|
private |
Wether or not to pass bound to master algorithm.
Definition at line 54 of file BonFpForMinlp.hpp.