DuQuad
v1.0
Quadratic Programming Optimizations
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Macros
alm.h
Go to the documentation of this file.
1
/*
2
* alm.h
3
*
4
* Created on: Nov 3, 2014
5
* Author: sverre
6
*/
7
8
/** \file
9
* ### Augmented Lagrangian Method ###
10
*/
11
12
#ifndef ALM_H_
13
#define ALM_H_
14
15
#include "
head.h
"
16
#include "
math_functions.h
"
17
#include "
fgm.h
"
18
#include "
print.h
"
19
20
21
struct
Struct_ALM
{
22
23
struct
Problem
*
prob
;
24
struct
Options
*
opt
;
25
struct
Info
*
info
;
26
struct
Result
*
res
;
27
28
// Vectors used for calculations
29
real_t
*
z
;
30
real_t
*
lambda
;
31
real_t
*
temp1_dim_N
;
32
real_t
*
temp2_dim_M
;
33
real_t
*
temp3_dim_M
;
34
real_t
*
z_avg
;
35
real_t
*
summ
;
36
real_t
*
pf_vec
;
37
real_t
*
A_z
;
38
39
// New for alm
40
real_t
*
H_hat
;
41
real_t
*
A2
;
42
real_t
*
rho_At_b
;
43
44
};
/**< Struct containing all necessary vectors and parameters for running ALM */
45
46
// Public functions
47
int32_t
ALM
(
struct
Struct_ALM
*s);
48
49
#endif
/* ALM_H_ */
Struct_ALM::info
struct Info * info
Definition:
alm.h:25
Struct_ALM::res
struct Result * res
Definition:
alm.h:26
Info
Definition:
qp_structs.h:38
Struct_ALM::A_z
real_t * A_z
Definition:
alm.h:37
Struct_ALM::temp2_dim_M
real_t * temp2_dim_M
Definition:
alm.h:32
Struct_ALM
Definition:
alm.h:21
Struct_ALM::summ
real_t * summ
Definition:
alm.h:35
Struct_ALM::z_avg
real_t * z_avg
Definition:
alm.h:34
Struct_ALM::pf_vec
real_t * pf_vec
Definition:
alm.h:36
Struct_ALM::z
real_t * z
Definition:
alm.h:29
Struct_ALM::opt
struct Options * opt
Definition:
alm.h:24
Struct_ALM::H_hat
real_t * H_hat
Definition:
alm.h:40
head.h
int32_t
signed int int32_t
Definition:
typedefs.h:15
ALM
int32_t ALM(struct Struct_ALM *s)
Definition:
alm.c:20
Struct_ALM::A2
real_t * A2
Definition:
alm.h:41
Struct_ALM::lambda
real_t * lambda
Definition:
alm.h:30
Options
Definition:
qp_structs.h:28
Struct_ALM::temp3_dim_M
real_t * temp3_dim_M
Definition:
alm.h:33
Struct_ALM::rho_At_b
real_t * rho_At_b
Definition:
alm.h:42
real_t
float64_t real_t
Definition:
typedefs.h:25
Problem
Definition:
qp_structs.h:15
fgm.h
Struct_ALM::prob
struct Problem * prob
Definition:
alm.h:23
math_functions.h
print.h
Struct_ALM::temp1_dim_N
real_t * temp1_dim_N
Definition:
alm.h:31
Result
Definition:
qp_structs.h:64
include
alm.h
Generated on Sat Dec 13 2014 18:15:38 for DuQuad by
1.8.6