DuQuad  v1.0
Quadratic Programming Optimizations
 All Data Structures Files Functions Variables Typedefs Macros
dfgm.h
Go to the documentation of this file.
1 /*
2  * DFGM.h
3  *
4  * Created on: Sep 19, 2014
5  * Author: sverre
6  */
7 
8 /** \file
9  * ### Dual Fast Gradient Method ###
10  */
11 
12 #ifndef DFGM_H_
13 #define DFGM_H_
14 
15 #include "head.h"
16 #include "math_functions.h"
17 #include "fgm.h"
18 #include "print.h"
19 
20 struct Struct_DFGM {
21 
22  struct Problem * prob;
23  struct Options * opt;
24  struct Info * info;
25  struct Result * res;
26 
27  // Vectors used for calculations
28  real_t * z;
34  real_t * b_ub_hat; // b + ub_hat
35  real_t * b_lb_hat; // b + lb_hat
40 
41  // Different from DGM
48 
51 
52 }; /**< Struct containing all necessary vectors and parameters for running DFGM */
53 
54 // Public functions
55 int32_t DFGM(struct Struct_DFGM *s);
56 
57 #endif /* DFGM_H_ */
real_t * b_ub_hat
Definition: dfgm.h:34
real_t * temp3_dim_M
Definition: dfgm.h:33
real_t time_inner_y
Definition: dfgm.h:49
unsigned int uint32_t
Definition: typedefs.h:19
real_t * A_z
Definition: dfgm.h:39
real_t * z
Definition: dfgm.h:28
uint32_t iterations_inner_y
Definition: dfgm.h:50
real_t * b_lb_hat
Definition: dfgm.h:35
struct Result * res
Definition: dfgm.h:25
real_t * lambda2
Definition: dfgm.h:30
real_t * lambda1_old
Definition: dfgm.h:42
real_t * summ
Definition: dfgm.h:37
struct Options * opt
Definition: dfgm.h:23
struct Problem * prob
Definition: dfgm.h:22
int32_t DFGM(struct Struct_DFGM *s)
Definition: dfgm.c:20
real_t * y2
Definition: dfgm.h:46
signed int int32_t
Definition: typedefs.h:15
real_t * lambda1
Definition: dfgm.h:29
real_t * temp1_dim_N
Definition: dfgm.h:31
struct Info * info
Definition: dfgm.h:24
real_t * temp2_dim_M
Definition: dfgm.h:32
float64_t real_t
Definition: typedefs.h:25
real_t * y1
Definition: dfgm.h:44
real_t * z_avg
Definition: dfgm.h:36
real_t * A_z_ds
Definition: dfgm.h:47
real_t * z_ds
Definition: dfgm.h:45
real_t * pf_vec
Definition: dfgm.h:38
real_t * lambda2_old
Definition: dfgm.h:43