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 double t=(a);(a)=(b);(b)=t; }

Functions

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

Variables

unsigned int 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 double t=(a);(a)=(b);(b)=t; }

Definition at line 978 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 98 of file gpm.cpp.


Function Documentation

int FletcherAlg2A ( int  Projector,
int  n,
float *  vecA,
double *  b,
double  c,
double  e,
int *  iy,
double *  x,
double  tol,
int *  ls,
int *  proj 
)

Definition at line 443 of file gpm.cpp.

int gpm_solver ( int  Solver,
int  Projector,
int  n,
float *  A,
double *  b,
double  c,
double  e,
int *  iy,
double *  x,
double  tol,
int *  ls,
int *  proj 
)

Definition at line 781 of file gpm.cpp.

int gvpm ( int  Projector,
int  n,
float *  vecA,
double *  b,
double  c,
double  e,
int *  iy,
double *  x,
double  tol,
int *  ls,
int *  proj 
)

Definition at line 107 of file gpm.cpp.

int InnerProjector ( int  method,
int  n,
int *  iy,
double  e,
double *  qk,
double  l,
double  u,
double *  x,
double &  lambda 
)

Definition at line 1209 of file gpm.cpp.

int Pardalos ( int  n,
int *  iy,
double  e,
double *  qk,
double  low,
double  up,
double *  x 
)

Definition at line 1041 of file gpm.cpp.

int ProjectDai ( int  n,
int *  a,
double  b,
double *  c,
double  l,
double  u,
double *  x,
double &  lam_ext 
)

Definition at line 850 of file gpm.cpp.

double ProjectR ( double *  x,
int  n,
double  lambda,
int *  a,
double  b,
double *  c,
double  l,
double  u 
)

Definition at line 823 of file gpm.cpp.

double quick_select ( double *  arr,
int  n 
)

Definition at line 981 of file gpm.cpp.


Variable Documentation

unsigned int Randnext

Definition at line 89 of file gpdtsolve.cpp.


SHOGUN Machine Learning Toolbox - Documentation