Exception used for non-critical errors during optimization. More...
#include <roboptim/core/solver-warning.hh>


Public Member Functions | |
| SolverWarning (const std::string &arg) | |
| Instantiate the class with a message. | |
| virtual std::ostream & | print (std::ostream &) const |
| Display the problem on the specified output stream. | |
| Public Member Functions inherited from roboptim::SolverError | |
| SolverError (const std::string &arg) | |
| Instantiate an error from an error message. | |
| SolverError (const std::string &arg, const Result &res) | |
| Instantiate an error from an error message. | |
| SolverError (const SolverError &error) | |
| Copy constructor. | |
| ~SolverError () | |
| Trivial destructor. | |
| const boost::optional< Result > & | lastState () const |
| Retrieve the (optional) last state of the solver. | |
| boost::optional< Result > & | lastState () |
| Retrieve the (optional) last state of the solver. | |
Exception used for non-critical errors during optimization.
This class is mainly used to populate the warning vector of the ResultWithWarnings class.
|
explicit |
Instantiate the class with a message.
| arg | message |
References roboptim::SolverError::SolverError().
|
virtual |
Display the problem on the specified output stream.
| o | output stream used for display |
Reimplemented from roboptim::SolverError.