An interface to SNOPT, fully hiding its implementation. More...
#include <snopt_solver.h>
Public Types | |
using | Ptr = std::shared_ptr< SnoptSolver > |
Public Types inherited from ifopt::Solver | |
using | Ptr = std::shared_ptr< Solver > |
Public Member Functions | |
void | Solve (Problem &nlp) override |
Creates a snoptProblemA from nlp and solves it. More... | |
Public Member Functions inherited from ifopt::Solver | |
int | GetReturnStatus () const |
Get the return status for the optimization. More... | |
virtual | ~Solver ()=default |
Additional Inherited Members | |
Protected Attributes inherited from ifopt::Solver | |
int | status_ |
An interface to SNOPT, fully hiding its implementation.
Definition at line 40 of file snopt_solver.h.
using ifopt::SnoptSolver::Ptr = std::shared_ptr<SnoptSolver> |
Definition at line 42 of file snopt_solver.h.
|
overridevirtual |
Creates a snoptProblemA from nlp and solves it.
[in/out] | nlp The specific problem to be used and modified. |
Implements ifopt::Solver.
Definition at line 33 of file snopt_solver.cc.