QPALM
A proximal augmented Lagrangian method for QPs.
linesearch.h
Go to the documentation of this file.
1 
9 #ifndef LINESEARCH_H
10 #define LINESEARCH_H
11 
12 #include "types.h"
13 #include "constants.h"
14 
15 
24 
32 void vec_array_copy(c_float *a,
33  array_element *b,
34  size_t n);
35 
44 void select_subsequence(const array_element *a,
45  array_element *b,
46  const c_int *L,
47  size_t n);
48 
58  const c_float *b,
59  const c_int *L,
60  size_t n);
61 
70 int compare (const void * a,
71  const void * b);
72 
73 #endif
ladel_work solver_common
Definition: types.h:19
Internal data structures used in QPALM.
int compare(const void *a, const void *b)
Helper function for qsort.
Definition: linesearch.c:158
void vec_array_copy(c_float *a, array_element *b, size_t n)
Helper function to copy vector a in array b (with indices)
Definition: linesearch.c:122
Constants used in QPALM.
QPALM Workspace.
Definition: types.h:197
void select_subsequence(const array_element *a, array_element *b, const c_int *L, size_t n)
Select subsequence based on a set of indices, .
Definition: linesearch.c:134
Array to sort in linesearch.
Definition: types.h:37
c_float exact_linesearch(QPALMWorkspace *work, solver_common *c)
Execute exact linesearch (using qsort)
Definition: linesearch.c:14
ladel_int c_int
type for integer numbers
Definition: global_opts.h:22
c_float vec_prod_ind(const c_float *a, const c_float *b, const c_int *L, size_t n)
Inner product over index set, .
Definition: linesearch.c:145
ladel_double c_float
type for floating point numbers
Definition: global_opts.h:21