|
PIPS-NLP
|
#include <cstdlib>#include "parallelPipsNlp_C_Callback.h"#include "../Core/NlpInfo/StructJuMPsInfo.h"#include "../../Input/StructJuMPInput.h"#include "../Core/NlpStoch/NlpPIPSIpmInterface.h"#include "../Core/NlpStoch/sFactoryAug.h"#include "../Core/NlpSolvers/FilterIPMStochSolver.h"#include "NlpGenData.h"#include "NlpGenVars.h"#include "NlpGenResiduals.h"#include "NlpInfoCallBack.h"#include "FilterIPMSolver.h"#include "NlpGenSparseWithSolver.h"#include "cNlpGenSparseNLP.h"#include "Status.h"#include "pipsOptions.h"#include "../global_var.h"#include "../PIPS-NLP/Core/Utilities/PerfMetrics.h"Functions | |
| PipsNlpProblemStructPtr | CreatePipsNlpProblemStruct (MPI_Comm comm, int nscen, str_init_x0_cb init_x0, str_prob_info_cb prob_info, str_eval_f_cb eval_f, str_eval_g_cb eval_g, str_eval_grad_f_cb eval_grad_f, str_eval_jac_g_cb eval_jac_g, str_eval_h_cb eval_h, str_write_solution_cb write_solution, UserDataPtr userdata) |
| int | PipsNlpSolveStruct (PipsNlpProblemStruct *prob) |
| void | FreePipsNlpProblemStruct (PipsNlpProblemStruct *prob) |
| int | get_x (CallBackDataPtr data, double *x, double *lam_eq, double *lam_ieq) |
| double | PipsNlpProblemStructGetObjective (PipsNlpProblemStruct *prob) |
| int | PipsNlpProblemStructGetTotalVars (PipsNlpProblemStruct *prob) |
| int | PipsNlpProblemStructGetTotalCons (PipsNlpProblemStruct *prob) |
Variables | |
| int | gInnerSCsolve |
| int | gNP_Alg |
| int | gAddSlackParallelSetting |
| int | gSymLinearSolver |
| int | gUseReducedSpace |
| PipsNlpProblemStructPtr CreatePipsNlpProblemStruct | ( | MPI_Comm | comm, |
| int | nscen, | ||
| str_init_x0_cb | init_x0, | ||
| str_prob_info_cb | prob_info, | ||
| str_eval_f_cb | eval_f, | ||
| str_eval_g_cb | eval_g, | ||
| str_eval_grad_f_cb | eval_grad_f, | ||
| str_eval_jac_g_cb | eval_jac_g, | ||
| str_eval_h_cb | eval_h, | ||
| str_write_solution_cb | write_solution, | ||
| UserDataPtr | userdata | ||
| ) |
Pointer to a pips_nlp Problem.
| init_x0 | number of scenarios * |
| eval_g | Callback function of objective function * |
| eval_grad_f | Callback function of constraint body * |
| eval_jac_g | Callback function of objective gradient * |
| eval_h | Callback function of constraint Jacobian * |
| write_solution | Callback function of Lagrangian Hessian * |
| userdata | Callback function to write back solution * |
| void FreePipsNlpProblemStruct | ( | PipsNlpProblemStruct * | prob | ) |
shouldn't the signature be PipsNlpProblemStruct**
| int get_x | ( | CallBackDataPtr | data, |
| double * | x, | ||
| double * | lam_eq, | ||
| double * | lam_ieq | ||
| ) |
| double PipsNlpProblemStructGetObjective | ( | PipsNlpProblemStruct * | prob | ) |
| int PipsNlpProblemStructGetTotalCons | ( | PipsNlpProblemStruct * | prob | ) |
| int PipsNlpProblemStructGetTotalVars | ( | PipsNlpProblemStruct * | prob | ) |
| int PipsNlpSolveStruct | ( | PipsNlpProblemStruct * | prob | ) |
| int gAddSlackParallelSetting |
| int gInnerSCsolve |
| int gNP_Alg |
| int gSymLinearSolver |
| int gUseReducedSpace |
1.8.11