Go to the source code of this file.
|
PipsNlpProblem | CreatePipsNlpProblem (int n, int m, double *x_L, double *x_U, double *g_L, double *g_U, int nele_jac, int nele_hess, eval_f_cb eval_f, eval_g_cb eval_g, eval_grad_f_cb eval_grad_f, eval_jac_g_cb eval_jac_g, eval_h_cb eval_h) |
|
void | FreePipsNlpProblem (PipsNlpProblem pipsnlp_problem) |
|
int | PipsNlpSolve (PipsNlpProblem pipsnlp_problem, double *opt_obj, double *x, UserDataPtr user_data) |
|
PipsNlpProblem CreatePipsNlpProblem |
( |
int |
n, |
|
|
int |
m, |
|
|
double * |
x_L, |
|
|
double * |
x_U, |
|
|
double * |
g_L, |
|
|
double * |
g_U, |
|
|
int |
nele_jac, |
|
|
int |
nele_hess, |
|
|
eval_f_cb |
eval_f, |
|
|
eval_g_cb |
eval_g, |
|
|
eval_grad_f_cb |
eval_grad_f, |
|
|
eval_jac_g_cb |
eval_jac_g, |
|
|
eval_h_cb |
eval_h |
|
) |
| |
Pointer to a pips_nlp Problem.
- Parameters
-
n | Number of variables * |
m | Number of constraints. * |
x_L | Variables lower bounds * |
x_U | Variables upper bounds * |
g_L | Constraints lower bounds * |
g_U | Constraints upper bounds * |
nele_jac | Number of Jacobian non-zeros * |
nele_hess | Number of Hessian non-zeros * |
eval_f | Callback function of objective function * |
eval_g | Callback function of constraint body * |
eval_grad_f | Callback function of objective gradient * |
eval_jac_g | Callback function of constraint Jacobian * |
eval_h | Callback function of Lagrangian Hessian * |
- Parameters
-
x | Input: initial value; Output: opt solution * |
user_data | Pointer to user data, for the latter use of the callback functions * |