Bonmin::CouenneInterface Class Reference

#include <BonCouenneInterface.hpp>

Inheritance diagram for Bonmin::CouenneInterface:

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

Collaboration graph
[legend]
List of all members.

Overloaded methods to build outer approximations

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_
bool have_nlp_solution_
 true if we got an integer feasible solution from initial solve

Public Member Functions

 CouenneInterface ()
 Default constructor.
 CouenneInterface (const CouenneInterface &other)
 Copy constructor.
virtual CouenneInterfaceclone (bool CopyData)
 virtual copy constructor.
virtual ~CouenneInterface ()
 Destructor.
virtual void readAmplNlFile (char **&argv, Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions, Ipopt::SmartPtr< Ipopt::OptionsList > options, Ipopt::SmartPtr< Ipopt::Journalist > journalist)
 read ampl file using inputed options, journalist.

Detailed Description

Definition at line 23 of file BonCouenneInterface.hpp.


Constructor & Destructor Documentation

Bonmin::CouenneInterface::CouenneInterface (  ) 

Default constructor.

Definition at line 19 of file BonCouenneInterface.cpp.

Referenced by clone().

Bonmin::CouenneInterface::CouenneInterface ( const CouenneInterface other  ) 

Copy constructor.

Definition at line 25 of file BonCouenneInterface.cpp.

Bonmin::CouenneInterface::~CouenneInterface (  )  [virtual]

Destructor.

Definition at line 36 of file BonCouenneInterface.cpp.


Member Function Documentation

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

virtual copy constructor.

Reimplemented from Bonmin::AmplInterface.

Definition at line 31 of file BonCouenneInterface.cpp.

References CouenneInterface().

void Bonmin::CouenneInterface::readAmplNlFile ( char **&  argv,
Ipopt::SmartPtr< Bonmin::RegisteredOptions roptions,
Ipopt::SmartPtr< Ipopt::OptionsList >  options,
Ipopt::SmartPtr< Ipopt::Journalist >  journalist 
) [virtual]

read ampl file using inputed options, journalist.

...

Definition at line 41 of file BonCouenneInterface.cpp.

References Bonmin::AmplInterface::readAmplNlFile().

Referenced by Bonmin::CouenneSetup::InitializeCouenne().

void Bonmin::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.

Definition at line 61 of file BonCouenneInterface.cpp.

References ll.

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

To set some application specific defaults.

Reimplemented from Bonmin::AmplInterface.

Definition at line 343 of file BonCouenneInterface.cpp.

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

return value of have_nlp_solution_

Definition at line 59 of file BonCouenneInterface.hpp.

References have_nlp_solution_.


Member Data Documentation

bool Bonmin::CouenneInterface::have_nlp_solution_ [protected]

true if we got an integer feasible solution from initial solve

Definition at line 65 of file BonCouenneInterface.hpp.

Referenced by haveNlpSolution().


The documentation for this class was generated from the following files:
Generated on Tue Sep 30 03:02:58 2008 by  doxygen 1.4.7