Bonmin::IpoptSolver::UnsolvedIpoptError Class Reference

#include <BonIpoptSolver.hpp>

Inheritance diagram for Bonmin::IpoptSolver::UnsolvedIpoptError:

Inheritance graph
[legend]
Collaboration diagram for Bonmin::IpoptSolver::UnsolvedIpoptError:

Collaboration graph
[legend]
List of all members.

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.
virtual const std::string & solverName () const
 Return the name of the solver.
virtual ~UnsolvedIpoptError ()

Static Private Attributes

static std::string errorNames [17]
static std::string solverName_ = "Ipopt"

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 (  )  [inline, virtual]

Definition at line 32 of file BonIpoptSolver.hpp.


Member Function Documentation

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

Get the string corresponding to error.

Implements Bonmin::TNLPSolver::UnsolvedError.

Definition at line 371 of file BonIpoptSolver.cpp.

References errorNames, and Bonmin::TNLPSolver::UnsolvedError::errorNum().

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

Return the name of the solver.

Implements Bonmin::TNLPSolver::UnsolvedError.

Definition at line 392 of file BonIpoptSolver.cpp.

References solverName_.


Member Data Documentation

std::string Bonmin::IpoptSolver::UnsolvedIpoptError::errorNames [static, private]

Initial value:

{"Solve succeeded",
      "Solved to acceptable level",
      "Infeasible problem detected",
      "Search direction becomes too small",
      "Diverging iterates",
      "User requested stop",
      "Maximum iterations exceeded",
      "Restoration failed",
      "Error in step computation",
      "Not enough degrees of freedom",
      "Invalid problem definition",
      "Invalid option",
      "Invalid number detected",
      "Unrecoverable exception",
      "NonIpopt exception thrown",
      "Insufficient memory",
      "Internal error"}

Definition at line 35 of file BonIpoptSolver.hpp.

Referenced by errorName().

std::string Bonmin::IpoptSolver::UnsolvedIpoptError::solverName_ = "Ipopt" [static, private]

Definition at line 36 of file BonIpoptSolver.hpp.

Referenced by solverName().


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