gpm.cpp File Reference

Go to the source code of this file.

Defines

#define maxvpm   30000
#define maxprojections   200
#define in   8000
#define alpha_max   1e10
#define alpha_min   1e-10
#define ThRand   (Randnext = Randnext * 1103515245L + 12345L)
#define ThRandPos   ((Randnext = Randnext * 1103515245L + 12345L) & 0x7fffffff)
#define VPM_ADA
#define SWAP(a, b)   { register float64_t t=(a);(a)=(b);(b)=t; }

Functions

int32_t InnerProjector (int32_t method, int32_t n, int32_t *iy, float64_t e, float64_t *qk, float64_t l, float64_t u, float64_t *x, float64_t &lambda)
int32_t gvpm (int32_t Projector, int32_t n, float32_t *vecA, float64_t *b, float64_t c, float64_t e, int32_t *iy, float64_t *x, float64_t tol, int32_t *ls, int32_t *proj)
int32_t FletcherAlg2A (int32_t Projector, int32_t n, float32_t *vecA, float64_t *b, float64_t c, float64_t e, int32_t *iy, float64_t *x, float64_t tol, int32_t *ls, int32_t *proj)
int32_t gpm_solver (int32_t Solver, int32_t Projector, int32_t n, float32_t *A, float64_t *b, float64_t c, float64_t e, int32_t *iy, float64_t *x, float64_t tol, int32_t *ls, int32_t *proj)
float64_t ProjectR (float64_t *x, int32_t n, float64_t lambda, int32_t *a, float64_t b, float64_t *c, float64_t l, float64_t u)
int32_t ProjectDai (int32_t n, int32_t *a, float64_t b, float64_t *c, float64_t l, float64_t u, float64_t *x, float64_t &lam_ext)
float64_t quick_select (float64_t *arr, int32_t n)
int32_t Pardalos (int32_t n, int32_t *iy, float64_t e, float64_t *qk, float64_t low, float64_t up, float64_t *x)

Variables

uint32_t Randnext

Define Documentation

#define alpha_max   1e10

Definition at line 81 of file gpm.cpp.

#define alpha_min   1e-10

Definition at line 82 of file gpm.cpp.

#define in   8000

Definition at line 80 of file gpm.cpp.

#define maxprojections   200

Definition at line 79 of file gpm.cpp.

#define maxvpm   30000

Definition at line 78 of file gpm.cpp.

#define SWAP ( a,
 )     { register float64_t t=(a);(a)=(b);(b)=t; }

Definition at line 987 of file gpm.cpp.

#define ThRand   (Randnext = Randnext * 1103515245L + 12345L)

Definition at line 85 of file gpm.cpp.

#define ThRandPos   ((Randnext = Randnext * 1103515245L + 12345L) & 0x7fffffff)

Definition at line 86 of file gpm.cpp.

#define VPM_ADA

Definition at line 99 of file gpm.cpp.


Function Documentation

int32_t FletcherAlg2A ( int32_t  Projector,
int32_t  n,
float32_t vecA,
float64_t b,
float64_t  c,
float64_t  e,
int32_t *  iy,
float64_t x,
float64_t  tol,
int32_t *  ls,
int32_t *  proj 
)

Definition at line 446 of file gpm.cpp.

int32_t gpm_solver ( int32_t  Solver,
int32_t  Projector,
int32_t  n,
float32_t A,
float64_t b,
float64_t  c,
float64_t  e,
int32_t *  iy,
float64_t x,
float64_t  tol,
int32_t *  ls,
int32_t *  proj 
)

Definition at line 786 of file gpm.cpp.

int32_t gvpm ( int32_t  Projector,
int32_t  n,
float32_t vecA,
float64_t b,
float64_t  c,
float64_t  e,
int32_t *  iy,
float64_t x,
float64_t  tol,
int32_t *  ls,
int32_t *  proj 
)

Definition at line 108 of file gpm.cpp.

int32_t InnerProjector ( int32_t  method,
int32_t  n,
int32_t *  iy,
float64_t  e,
float64_t qk,
float64_t  l,
float64_t  u,
float64_t x,
float64_t lambda 
)

Definition at line 1219 of file gpm.cpp.

int32_t Pardalos ( int32_t  n,
int32_t *  iy,
float64_t  e,
float64_t qk,
float64_t  low,
float64_t  up,
float64_t x 
)

Definition at line 1050 of file gpm.cpp.

int32_t ProjectDai ( int32_t  n,
int32_t *  a,
float64_t  b,
float64_t c,
float64_t  l,
float64_t  u,
float64_t x,
float64_t lam_ext 
)

Definition at line 858 of file gpm.cpp.

float64_t ProjectR ( float64_t x,
int32_t  n,
float64_t  lambda,
int32_t *  a,
float64_t  b,
float64_t c,
float64_t  l,
float64_t  u 
)

Definition at line 830 of file gpm.cpp.

float64_t quick_select ( float64_t arr,
int32_t  n 
)

Definition at line 990 of file gpm.cpp.


Variable Documentation

uint32_t Randnext

SHOGUN Machine Learning Toolbox - Documentation