Couenne::CouenneInterface Class Reference

#include <BonCouenneInterface.hpp>

List of all members.

Public Member Functions

 CouenneInterface ()
 Default constructor.
 CouenneInterface (const CouenneInterface &other)
 Copy constructor.
virtual CouenneInterfaceclone (bool CopyData)
 virutal copy constructor.
virtual ~CouenneInterface ()
 Destructor.
virtual std::string appName ()

Overloaded methods to build outer approximations



bool have_nlp_solution_
 true if we got an integer feasible solution from initial solve
virtual void extractLinearRelaxation (OsiSolverInterface &si, CouenneCutGenerator &couenneCg, bool getObj=1, bool solveNlp=1)
 Extract a linear relaxation of the MINLP.
virtual void setAppDefaultOptions (Ipopt::SmartPtr< Ipopt::OptionsList > Options)
 To set some application specific defaults.
bool haveNlpSolution ()
 return value of have_nlp_solution_

Detailed Description

Definition at line 33 of file BonCouenneInterface.hpp.


Constructor & Destructor Documentation

CouenneInterface::CouenneInterface (  ) 

Default constructor.

Definition at line 24 of file BonCouenneInterface.cpp.

CouenneInterface::CouenneInterface ( const CouenneInterface other  ) 

Copy constructor.

Definition at line 30 of file BonCouenneInterface.cpp.

CouenneInterface::~CouenneInterface (  )  [virtual]

Destructor.

Definition at line 41 of file BonCouenneInterface.cpp.


Member Function Documentation

CouenneInterface * CouenneInterface::clone ( bool  CopyData  )  [virtual]

virutal copy constructor.

virtual copy constructor.

Definition at line 36 of file BonCouenneInterface.cpp.

virtual std::string Couenne::CouenneInterface::appName (  )  [inline, virtual]

Definition at line 49 of file BonCouenneInterface.hpp.

void CouenneInterface::extractLinearRelaxation ( OsiSolverInterface &  si,
CouenneCutGenerator couenneCg,
bool  getObj = 1,
bool  solveNlp = 1 
) [virtual]

Extract a linear relaxation of the MINLP.

Solve the continuous relaxation and takes first-order outer-approximation constraints at the optimum. The put everything in an OsiSolverInterface.

Solve the continuous relaxation and takes first-order outer-approximation constraints at the optimum. Then put everything in an OsiSolverInterface.

The OsiSolverInterface si is empty and has to be populated with the initial linear relaxation.

Definition at line 69 of file BonCouenneInterface.cpp.

void CouenneInterface::setAppDefaultOptions ( Ipopt::SmartPtr< Ipopt::OptionsList >  Options  )  [virtual]

To set some application specific defaults.

Definition at line 433 of file BonCouenneInterface.cpp.

bool Couenne::CouenneInterface::haveNlpSolution (  )  [inline]

return value of have_nlp_solution_

Definition at line 73 of file BonCouenneInterface.hpp.


Member Data Documentation

true if we got an integer feasible solution from initial solve

Definition at line 79 of file BonCouenneInterface.hpp.


The documentation for this class was generated from the following files:

Generated on 22 May 2012 by  doxygen 1.6.1