Public Types | Public Member Functions | List of all members
ifopt::SnoptSolver Class Reference

An interface to SNOPT, fully hiding its implementation. More...

#include <snopt_solver.h>

Inheritance diagram for ifopt::SnoptSolver:
Inheritance graph
[legend]

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_
 

Detailed Description

An interface to SNOPT, fully hiding its implementation.

Definition at line 40 of file snopt_solver.h.

Member Typedef Documentation

using ifopt::SnoptSolver::Ptr = std::shared_ptr<SnoptSolver>

Definition at line 42 of file snopt_solver.h.

Member Function Documentation

void ifopt::SnoptSolver::Solve ( Problem nlp)
overridevirtual

Creates a snoptProblemA from nlp and solves it.

Parameters
[in/out]nlp The specific problem to be used and modified.

Implements ifopt::Solver.

Definition at line 33 of file snopt_solver.cc.


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


ifopt
Author(s): Alexander W. Winkler
autogenerated on Fri Jan 22 2021 03:47:32