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 64 of file snopt_solver.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 90 of file snopt_solver.h.

Member Function Documentation

◆ Solve()

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 56 of file snopt_solver.cc.


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


ifopt
Author(s): Alexander W. Winkler
autogenerated on Mon Sep 18 2023 02:14:38