Solver interface implemented by IPOPT and SNOPT. More...
#include <solver.h>
Public Types | |
using | Ptr = std::shared_ptr< Solver > |
Public Member Functions | |
virtual void | Solve (Problem &nlp)=0 |
Uses a specific solver (IPOPT, SNOPT) to solve the NLP. More... | |
virtual | ~Solver ()=default |
using ifopt::Solver::Ptr = std::shared_ptr<Solver> |
|
virtualdefault |
|
pure virtual |
Uses a specific solver (IPOPT, SNOPT) to solve the NLP.
[in/out] | nlp The nonlinear programming problem. |
Implemented in ifopt::IpoptSolver, and ifopt::SnoptSolver.