My Project
OSKnitroSolver.cpp File Reference
#include "OSKnitroSolver.h"
#include "OSCommonUtil.h"
#include <dlfcn.h>

Go to the source code of this file.

Functions

static int wrapperEvalFC (const int evalRequestCode, const int n, const int m, const int nnzJ, const int nnzH, const double *const daX, const double *const daLambda, double *const dObj, double *const daC, double *const daG, double *const daJ, double *const daH, double *const daHV, void *userParams)
 
static int wrapperEvalGA (const int evalRequestCode, const int n, const int m, const int nnzJ, const int nnzH, const double *const daX, const double *const daLambda, double *const dObj, double *const daC, double *const daG, double *const daJ, double *const daH, double *const daHV, void *userParams)
 By necessity this wrapper signature matches the function KTR_callback.
 
static int wrapperEvalHorHV (const int evalRequestCode, const int n, const int m, const int nnzJ, const int nnzH, const double *const daX, const double *const daLambda, double *const dObj, double *const daC, double *const daG, double *const daJ, double *const daH, double *const daHV, void *userParams)
 By necessity this wrapper signature matches the function KTR_callback.
 

Variables

static NlpProblemDef * g_pTheNlpProblemDefInstance = NULL
 
static NlpProblemDef * g_pOptProblem = NULL
 

Function Documentation

◆ wrapperEvalFC()

static int wrapperEvalFC ( const int evalRequestCode,
const int n,
const int m,
const int nnzJ,
const int nnzH,
const double *const daX,
const double *const daLambda,
double *const dObj,
double *const daC,
double *const daG,
double *const daJ,
double *const daH,
double *const daHV,
void * userParams )
static

Definition at line 43 of file OSKnitroSolver.cpp.

◆ wrapperEvalGA()

static int wrapperEvalGA ( const int evalRequestCode,
const int n,
const int m,
const int nnzJ,
const int nnzH,
const double *const daX,
const double *const daLambda,
double *const dObj,
double *const daC,
double *const daG,
double *const daJ,
double *const daH,
double *const daHV,
void * userParams )
static

By necessity this wrapper signature matches the function KTR_callback.

It calls the current optimization problem's eval method.

Definition at line 79 of file OSKnitroSolver.cpp.

◆ wrapperEvalHorHV()

static int wrapperEvalHorHV ( const int evalRequestCode,
const int n,
const int m,
const int nnzJ,
const int nnzH,
const double *const daX,
const double *const daLambda,
double *const dObj,
double *const daC,
double *const daG,
double *const daJ,
double *const daH,
double *const daHV,
void * userParams )
static

By necessity this wrapper signature matches the function KTR_callback.

It calls the current optimization problem's eval method.

Definition at line 115 of file OSKnitroSolver.cpp.

Variable Documentation

◆ g_pTheNlpProblemDefInstance

NlpProblemDef* g_pTheNlpProblemDefInstance = NULL
static

Definition at line 38 of file OSKnitroSolver.cpp.

◆ g_pOptProblem

NlpProblemDef* g_pOptProblem = NULL
static

Definition at line 41 of file OSKnitroSolver.cpp.