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, SubMipSolver *&subMip, 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.

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::OaDecompositionBase::assignLpInterface(), Bonmin::OsiTMINLPInterface::extractLinearRelaxation(), Bonmin::BabSetupBase::getDoubleParameter(), Bonmin::BabSetupBase::getIntParameter(), Bonmin::BabSetupBase::MaxSolutions, Bonmin::BabSetupBase::MaxTime, Bonmin::BabSetupBase::nonlinearSolver(), Bonmin::BabSetupBase::options(), Bonmin::OaDecompositionBase::parameter(), Bonmin::BabSetupBase::prefix(), and setStrategy().

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 70 of file BonFpForMinlp.cpp.


Member Function Documentation

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

Definition at line 28 of file BonFpForMinlp.hpp.

References Bonmin::OaDecompositionBase::parameters_.

Referenced by MinlpFeasPump().

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

Definition at line 33 of file BonFpForMinlp.hpp.

References MinlpFeasPump().

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

Register OA options.

Definition at line 276 of file BonFpForMinlp.cpp.

References Bonmin::RegisteredOptions::BonminCategory.

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

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

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

do we have a subMip? if not create a new one.

endif localSearch

Definition at line 83 of file BonFpForMinlp.cpp.

References Bonmin::OsiTMINLPInterface::addObjectiveFunction(), e, Bonmin::SubMipSolver::find_good_sol(), 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_, Bonmin::OaDecompositionBase::post_nlp_solve(), Bonmin::relaxIntegers(), Bonmin::OsiTMINLPInterface::resolve(), set_fp_objective(), Bonmin::OsiTMINLPInterface::setColLower(), Bonmin::OsiTMINLPInterface::setColUpper(), Bonmin::SOLVED_LOCAL_SEARCH, Bonmin::OsiTMINLPInterface::solveFeasibilityProblem(), Bonmin::SubMipSolver::solver(), 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 75 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 297 of file BonFpForMinlp.cpp.

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

Referenced by performOa().


The documentation for this class was generated from the following files:
Generated on Tue Mar 30 03:14:32 2010 by  doxygen 1.4.7