HQP  1.9.6
Hqp.h File Reference

declaration of external API for HQP (Huge Quadratic Programming) More...

#include <Meschach.h>
Include dependency graph for Hqp.h:
This graph shows which files directly or indirectly include this file:

Classes

class  Hqp_DocpSpec
 Hold pointers to functions provided by an application using HQP. More...
 

Macros

#define HQP_API
 define HQP_API when compiling a Dynamic Link Library (DLL)
 

Typedefs

typedef Hqp_DocpHqp_DocpHandle
 Handle to address Hqp_Docp implemenation.
 

Functions

HQP_API Hqp_DocpHandle Hqp_Docp_create (Hqp_DocpSpec &spec, void *clientdata)
 Create an instance of Hqp_Docp and return handle. More...
 
HQP_API void Hqp_Docp_destroy (Hqp_DocpHandle handle)
 Destroy an instance of Hqp_Docp.
 
HQP_API void Hqp_Docp_alloc_vars (Hqp_DocpHandle handle, VECP v, VECP v_min, VECP v_max, IVECP v_int, int n)
 Service routine for allocating vectors. More...
 
HQP_API void Hqp_Docp_update_stage (Hqp_DocpHandle handle, int k, const VECP x, const VECP u, VECP f, Real &f0, VECP c, MATP fx, MATP fu, VECP f0x, VECP f0u, MATP cx, MATP cu, const VECP rf, const VECP rc, MATP Lxx, MATP Luu, MATP Lxu)
 Default implementation for updating gradients. More...
 

Detailed Description

declaration of external API for HQP (Huge Quadratic Programming)

rf, 5/28/94

Function Documentation

HQP_API void Hqp_Docp_alloc_vars ( Hqp_DocpHandle  handle,
VECP  v,
VECP  v_min,
VECP  v_max,
IVECP  v_int,
int  n 
)

Service routine for allocating vectors.

HQP_API Hqp_DocpHandle Hqp_Docp_create ( Hqp_DocpSpec spec,
void *  clientdata 
)

Create an instance of Hqp_Docp and return handle.

HQP_API void Hqp_Docp_update_stage ( Hqp_DocpHandle  handle,
int  k,
const VECP  x,
const VECP  u,
VECP  f,
Real &  f0,
VECP  c,
MATP  fx,
MATP  fu,
VECP  f0x,
VECP  f0u,
MATP  cx,
MATP  cu,
const VECP  rf,
const VECP  rc,
MATP  Lxx,
MATP  Luu,
MATP  Lxu 
)

Default implementation for updating gradients.

It can be used e.g. to check against own derivatives.

Referenced by Hqp_DocpStub::update_stage().