Bonmin::MinlpFeasPump Class Reference

#include <BonFpForMinlp.hpp>

Inheritance diagram for Bonmin::MinlpFeasPump:

Inheritance graph
[legend]
Collaboration diagram for Bonmin::MinlpFeasPump:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MinlpFeasPump (BabSetupBase &b)
 Constructor with basic setup.
 MinlpFeasPump (const MinlpFeasPump &copy)
 Copy constructor.
 ~MinlpFeasPump ()
 Destructor.
void setStrategy (const CbcStrategy &strategy)
virtual CglCutGenerator * clone () const

Static Public Member Functions

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

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
void set_fp_objective (OsiSolverInterface &si, const double *colsol) const
 Put objective of MIP according to FP scheme.

Private Attributes

SubMipSolversubMip_
int passBound_
 Wether or not to pass bound to master algorithm.

Detailed Description

Definition at line 15 of file BonFpForMinlp.hpp.


Constructor & Destructor Documentation

Bonmin::MinlpFeasPump::MinlpFeasPump ( BabSetupBase b  ) 

Constructor with basic setup.

Definition at line 29 of file BonFpForMinlp.cpp.

References Bonmin::BabSetupBase::getDoubleParameter(), Bonmin::BabSetupBase::getIntParameter(), Bonmin::BabSetupBase::MaxSolutions, Bonmin::BabSetupBase::MaxTime, Bonmin::BabSetupBase::options(), Bonmin::OaDecompositionBase::parameter(), passBound_, Bonmin::BabSetupBase::prefix(), prefix, and subMip_.

Referenced by clone().

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

Copy constructor.

Definition at line 21 of file BonFpForMinlp.hpp.

Bonmin::MinlpFeasPump::~MinlpFeasPump (  ) 

Destructor.

Definition at line 48 of file BonFpForMinlp.cpp.

References subMip_.


Member Function Documentation

void Bonmin::MinlpFeasPump::setStrategy ( const CbcStrategy &  strategy  )  [inline]

Definition at line 30 of file BonFpForMinlp.hpp.

References Bonmin::OaDecompositionBase::parameters_.

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

Definition at line 35 of file BonFpForMinlp.hpp.

References MinlpFeasPump().

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

Register OA options.

Definition at line 246 of file BonFpForMinlp.cpp.

References Bonmin::RegisteredOptions::BonminCategory.

Referenced by Bonmin::BonminSetup::registerAllOptions().

double Bonmin::MinlpFeasPump::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.

endif localSearch

Definition at line 63 of file BonFpForMinlp.cpp.

References Bonmin::OsiTMINLPInterface::addObjectiveFunction(), e, Bonmin::fixIntegers(), Bonmin::FP_DISTANCE, Bonmin::FP_MAJOR_ITERATION, Bonmin::FP_MILP_VAL, Bonmin::FP_MINOR_ITERATION, Bonmin::OsiTMINLPInterface::getColLower(), Bonmin::OsiTMINLPInterface::getColSolution(), Bonmin::OsiTMINLPInterface::getColUpper(), Bonmin::SubMipSolver::getLastSolution(), Bonmin::OsiTMINLPInterface::getNumCols(), Bonmin::OsiTMINLPInterface::getObjValue(), Bonmin::OsiTMINLPInterface::getOuterApproximation(), Bonmin::OaDecompositionBase::handler_, Bonmin::installCuts(), Bonmin::OsiTMINLPInterface::isProvenOptimal(), Bonmin::SubMipSolver::iterationCount(), Bonmin::LOCAL_SEARCH_ABORT, lp, Bonmin::OaDecompositionBase::messages_, Bonmin::OaDecompositionBase::nLocalSearch_, Bonmin::OaDecompositionBase::nlp_, Bonmin::OaDecompositionBase::nObjects_, Bonmin::SubMipSolver::nodeCount(), Bonmin::OaDecompositionBase::numSols_, Bonmin::OASUCCESS, Bonmin::OaDecompositionBase::objects_, Bonmin::OaDecompositionBase::parameter(), Bonmin::OaDecompositionBase::parameters_, passBound_, Bonmin::OaDecompositionBase::post_nlp_solve(), Bonmin::relaxIntegers(), Bonmin::OsiTMINLPInterface::resolve(), set_fp_objective(), Bonmin::OsiTMINLPInterface::setColLower(), Bonmin::OsiTMINLPInterface::setColUpper(), Bonmin::SubMipSolver::setLpSolver(), Bonmin::SubMipSolver::solve(), Bonmin::SOLVED_LOCAL_SEARCH, Bonmin::OsiTMINLPInterface::solveFeasibilityProblem(), Bonmin::SubMipSolver::solver(), subMip_, Bonmin::OaDecompositionBase::timeBegin_, and Bonmin::txt_id.

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

virutal method to decide if local search is performed

Implements Bonmin::OaDecompositionBase.

Definition at line 55 of file BonFpForMinlp.cpp.

References Bonmin::OaDecompositionBase::nLocalSearch_, Bonmin::OaDecompositionBase::numSols_, Bonmin::OaDecompositionBase::parameters_, and Bonmin::OaDecompositionBase::timeBegin_.

void Bonmin::MinlpFeasPump::set_fp_objective ( OsiSolverInterface &  si,
const double *  colsol 
) const [protected]

Put objective of MIP according to FP scheme.

Definition at line 271 of file BonFpForMinlp.cpp.

References Bonmin::OsiTMINLPInterface::getNumCols(), Bonmin::OsiTMINLPInterface::isInteger(), Bonmin::OaDecompositionBase::nlp_, Bonmin::OaDecompositionBase::nObjects_, and Bonmin::OaDecompositionBase::objects_.

Referenced by performOa().


Member Data Documentation

SubMipSolver* Bonmin::MinlpFeasPump::subMip_ [private]

Definition at line 52 of file BonFpForMinlp.hpp.

Referenced by MinlpFeasPump(), performOa(), and ~MinlpFeasPump().

int Bonmin::MinlpFeasPump::passBound_ [private]

Wether or not to pass bound to master algorithm.

Definition at line 54 of file BonFpForMinlp.hpp.

Referenced by MinlpFeasPump(), and performOa().


The documentation for this class was generated from the following files:
Generated on Thu Sep 22 03:14:32 2011 by  doxygen 1.4.7