Bonmin 1.8.9
Loading...
Searching...
No Matches
Bonmin::IpoptSolver::UnsolvedIpoptError Class Reference

#include <BonIpoptSolver.hpp>

+ Inheritance diagram for Bonmin::IpoptSolver::UnsolvedIpoptError:
+ Collaboration 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 ()
 
- Public Member Functions inherited from Bonmin::TNLPSolver::UnsolvedError
 UnsolvedError (int errorNum=-10000, Ipopt::SmartPtr< TMINLP2TNLP > model=NULL, std::string name="")
 Constructor.
 
void printError (std::ostream &os)
 Print error message.
 
int errorNum () const
 Return error number.
 
virtual ~UnsolvedError ()
 destructor.
 
void writeDiffFiles (const std::string prefix=std::string()) const
 write files with differences between input model and this one
 

Detailed Description

Definition at line 21 of file BonIpoptSolver.hpp.

Constructor & Destructor Documentation

◆ UnsolvedIpoptError()

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

Definition at line 24 of file BonIpoptSolver.hpp.

◆ ~UnsolvedIpoptError()

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

Definition at line 32 of file BonIpoptSolver.hpp.

Member Function Documentation

◆ errorName()

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

Get the string corresponding to error.

Implements Bonmin::TNLPSolver::UnsolvedError.

◆ solverName()

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

Return the name of the solver.

Implements Bonmin::TNLPSolver::UnsolvedError.


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