DuQuad  v1.0
Quadratic Programming Optimizations
 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;
38 
39  // New for alm
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 Info * info
Definition: alm.h:25
struct Result * res
Definition: alm.h:26
real_t * A_z
Definition: alm.h:37
real_t * temp2_dim_M
Definition: alm.h:32
Definition: alm.h:21
real_t * summ
Definition: alm.h:35
real_t * z_avg
Definition: alm.h:34
real_t * pf_vec
Definition: alm.h:36
real_t * z
Definition: alm.h:29
struct Options * opt
Definition: alm.h:24
real_t * H_hat
Definition: alm.h:40
signed int int32_t
Definition: typedefs.h:15
int32_t ALM(struct Struct_ALM *s)
Definition: alm.c:20
real_t * A2
Definition: alm.h:41
real_t * lambda
Definition: alm.h:30
real_t * temp3_dim_M
Definition: alm.h:33
real_t * rho_At_b
Definition: alm.h:42
float64_t real_t
Definition: typedefs.h:25
struct Problem * prob
Definition: alm.h:23
real_t * temp1_dim_N
Definition: alm.h:31