Go to the documentation of this file.
27 #ifndef IFOPT_SRC_IFOPT_IPOPT_INCLUDE_IFOPT_IPOPT_H_
28 #define IFOPT_SRC_IFOPT_IPOPT_INCLUDE_IFOPT_IPOPT_H_
34 class IpoptApplication;
49 using Ptr = std::shared_ptr<IpoptSolver>;
51 IpoptSolver(
bool rethrow_non_ipopt_exceptions =
false);
62 void SetOption(
const std::string& name,
const std::string& value);
63 void SetOption(
const std::string& name,
int value);
64 void SetOption(
const std::string& name,
double value);
Solver interface implemented by IPOPT and SNOPT.
double GetTotalWallclockTime()
Get the total wall clock time for the optimization, including function evaluations.
void Solve(Problem &nlp) override
Creates an IpoptAdapter and solves the NLP.
namespace defined by the Ipopt solver.
void SetOption(const std::string &name, const std::string &value)
A generic optimization problem with variables, costs and constraints.
virtual ~IpoptSolver()=default
An interface to IPOPT, fully hiding its implementation.
common namespace for all elements in this library.
std::shared_ptr< Ipopt::IpoptApplication > ipopt_app_
std::shared_ptr< Solver > Ptr
IpoptSolver(bool rethrow_non_ipopt_exceptions=false)
ifopt
Author(s): Alexander W. Winkler
autogenerated on Mon Sep 18 2023 02:14:38