27 #ifndef IFOPT_INCLUDE_OPT_SNOPT_ADAPTER_H_ 28 #define IFOPT_INCLUDE_OPT_SNOPT_ADAPTER_H_ 30 #include <snoptProblem.hpp> 65 int *needF,
int *neF,
double F[],
66 int *needG,
int *neG,
double G[],
69 double ru[],
int *lenru);
85 double *x, *xlow, *xupp, *xmul;
86 double *F, *Flow, *Fupp, *Fmul;
90 int lenA, lenG, neA, neG;
91 int *iAfun, *jAvar, *iGfun, *jGvar;
Problem::VectorXd VectorXd
A generic optimization problem with variables, costs and constraints.
Component::Jacobian Jacobian
static void ObjectiveAndConstraintFct(int *Status, int *n, double x[], int *needF, int *neF, double F[], int *needG, int *neG, double G[], char *cu, int *lencu, int iu[], int *leniu, double ru[], int *lenru)
Component::VectorXd VectorXd
common namespace for all elements in this library.
SnoptAdapter(Problem &nlp)
Creates an Adapter Object around the problem to conform to the Snopt interface.
virtual ~SnoptAdapter()=default
Problem::Jacobian Jacobian
Solves the optimization problem with SNOPT version 7.5 and below.