Bonmin  1.8.8
Public Member Functions | Static Private Attributes | List of all members
Bonmin::IpoptSolver::UnsolvedIpoptError Class Reference

#include <BonIpoptSolver.hpp>

Inheritance diagram for Bonmin::IpoptSolver::UnsolvedIpoptError:
Bonmin::TNLPSolver::UnsolvedError

Public Member Functions

 UnsolvedIpoptError (int errorNum, Ipopt::SmartPtr< TMINLP2TNLP > problem, std::string name)
 
virtual const std::string & errorName () const
 Get the string corresponding to error. More...
 
virtual const std::string & solverName () const
 Return the name of the solver. More...
 
virtual ~UnsolvedIpoptError ()
 
- Public Member Functions inherited from Bonmin::TNLPSolver::UnsolvedError
 UnsolvedError (int errorNum=-10000, Ipopt::SmartPtr< TMINLP2TNLP > model=NULL, std::string name="")
 Constructor. More...
 
void printError (std::ostream &os)
 Print error message. More...
 
int errorNum () const
 Return error number. More...
 
virtual ~UnsolvedError ()
 destructor. More...
 
void writeDiffFiles (const std::string prefix=std::string()) const
 write files with differences between input model and this one More...
 

Static Private Attributes

static std::string errorNames [17]
 
static std::string solverName_
 

Detailed Description

Definition at line 21 of file BonIpoptSolver.hpp.

Constructor & Destructor Documentation

Bonmin::IpoptSolver::UnsolvedIpoptError::UnsolvedIpoptError ( int  errorNum,
Ipopt::SmartPtr< TMINLP2TNLP problem,
std::string  name 
)
inline

Definition at line 24 of file BonIpoptSolver.hpp.

virtual Bonmin::IpoptSolver::UnsolvedIpoptError::~UnsolvedIpoptError ( )
inlinevirtual

Definition at line 32 of file BonIpoptSolver.hpp.

Member Function Documentation

virtual const std::string& Bonmin::IpoptSolver::UnsolvedIpoptError::errorName ( ) const
virtual

Get the string corresponding to error.

Implements Bonmin::TNLPSolver::UnsolvedError.

virtual const std::string& Bonmin::IpoptSolver::UnsolvedIpoptError::solverName ( ) const
virtual

Return the name of the solver.

Implements Bonmin::TNLPSolver::UnsolvedError.

Member Data Documentation

std::string Bonmin::IpoptSolver::UnsolvedIpoptError::errorNames[17]
staticprivate

Definition at line 35 of file BonIpoptSolver.hpp.

std::string Bonmin::IpoptSolver::UnsolvedIpoptError::solverName_
staticprivate

Definition at line 36 of file BonIpoptSolver.hpp.


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