#include <BonIpoptSolver.hpp>
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 () |
![]() | |
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_ = "Ipopt" |
Definition at line 21 of file BonIpoptSolver.hpp.
|
inline |
Definition at line 24 of file BonIpoptSolver.hpp.
|
inlinevirtual |
Definition at line 32 of file BonIpoptSolver.hpp.
|
virtual |
Get the string corresponding to error.
Implements Bonmin::TNLPSolver::UnsolvedError.
Definition at line 463 of file BonIpoptSolver.cpp.
|
virtual |
Return the name of the solver.
Implements Bonmin::TNLPSolver::UnsolvedError.
Definition at line 484 of file BonIpoptSolver.cpp.
|
staticprivate |
Definition at line 35 of file BonIpoptSolver.hpp.
|
staticprivate |
Definition at line 36 of file BonIpoptSolver.hpp.