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.
Number Number * g
Values of constraint at final point (output only - ignored if set to NULL)
Number Number Index m
Number of constraints.
void computeJacobian(int m, const Iterate &x, SparseMatrix &J) const
double computeObjective(const Iterate &x) const
MatlabFunctionHandle * hesstrucfunc
MatlabFunctionHandle * hessianfunc
SparseMatrix * getHessianStructure(int n) const
MatlabFunctionHandle * iterfunc
bool jacobianFuncIsAvailable() const
void computeGradient(const Iterate &x, double *g) const
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
MatlabFunctionHandle * objfunc
MatlabFunctionHandle * gradfunc
MatlabFunctionHandle * jacstrucfunc
CallbackFunctions(const mxArray *ptr)
bool constraintFuncIsAvailable() const
void computeConstraints(const Iterate &x, int m, double *c) const
MatlabFunctionHandle * constraintfunc
bool iterFuncIsAvailable() const
bool hessianFuncIsAvailable() const
void computeHessian(const Iterate &x, double sigma, int m, const double *lambda, SparseMatrix &H) const
MatlabFunctionHandle * jacobianfunc
SparseMatrix * getJacobianStructure(int n, int m) const
Class for all IPOPT specific calculated quantities.
Class to organize all the data required by the algorithm.