9 #ifndef INCLUDE_CALLBACKFUNCTIONS
10 #define INCLUDE_CALLBACKFUNCTIONS
78 double inf_pr,
double inf_du,
79 double mu,
double d_norm,
80 double regularization_size,
81 double alpha_du,
double alpha_pr,
Number * x
Input: Starting point Output: Optimal solution.
MatlabFunctionHandle * hesstrucfunc
Class for all IPOPT specific calculated quantities.
CallbackFunctions(const mxArray *ptr)
Number Number Index m
Number of constraints.
Number Number * g
Values of constraint at final point (output only - ignored if set to NULL)
MatlabFunctionHandle * objfunc
MatlabFunctionHandle * constraintfunc
void computeGradient(const Iterate &x, double *g) const
bool constraintFuncIsAvailable() const
MatlabFunctionHandle * gradfunc
SparseMatrix * getHessianStructure(int n) const
void computeHessian(const Iterate &x, double sigma, int m, const double *lambda, SparseMatrix &H) const
MatlabFunctionHandle * jacobianfunc
Class to organize all the data required by the algorithm.
bool hessianFuncIsAvailable() const
bool iterFuncIsAvailable() const
double computeObjective(const Iterate &x) const
MatlabFunctionHandle * iterfunc
MatlabFunctionHandle * jacstrucfunc
bool iterCallback(int t, double f, double inf_pr, double inf_du, double mu, double d_norm, double regularization_size, double alpha_du, double alpha_pr, int ls_trials, const Ipopt::IpoptData *ip_data, Ipopt::IpoptCalculatedQuantities *ip_cq, int n) const
void computeConstraints(const Iterate &x, int m, double *c) const
MatlabFunctionHandle * hessianfunc
void computeJacobian(int m, const Iterate &x, SparseMatrix &J) const
SparseMatrix * getJacobianStructure(int n, int m) const
bool jacobianFuncIsAvailable() const