#include <BonIpoptSolver.hpp>
Inheritance diagram for Bonmin::IpoptSolver::UnsolvedIpoptError:
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" |
Definition at line 21 of file BonIpoptSolver.hpp.
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.
const std::string & Bonmin::IpoptSolver::UnsolvedIpoptError::errorName | ( | ) | const [virtual] |
Get the string corresponding to error.
Implements Bonmin::TNLPSolver::UnsolvedError.
Definition at line 451 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 472 of file BonIpoptSolver.cpp.
References solverName_.
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] |