DuQuad  v1.0
Quadratic Programming Optimizations
 All Data Structures Files Functions Variables Typedefs Macros
dgm.h
Go to the documentation of this file.
1 /*
2  * DGM.h
3  *
4  * Created on: 27. aug. 2014
5  * Author: Sverre
6  */
7 
8 /** \file
9  * ### Dual Gradient Method ###
10  */
11 
12 #ifndef DGM_H_
13 #define DGM_H_
14 
15 #include "head.h"
16 #include "math_functions.h"
17 #include "fgm.h"
18 #include "print.h"
19 
20 struct Struct_DGM {
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 }; /**< Struct containing all necessary vectors and parameters for running DGM */
42 
43 // Public functions
44 int32_t DGM(struct Struct_DGM *s);
45 
46 
47 #endif /* DGM_H_ */
real_t * temp3_dim_M
Definition: dgm.h:33
real_t * b_ub_hat
Definition: dgm.h:34
real_t * lambda2
Definition: dgm.h:30
real_t * temp1_dim_N
Definition: dgm.h:31
real_t * z
Definition: dgm.h:28
struct Result * res
Definition: dgm.h:25
real_t * z_avg
Definition: dgm.h:36
real_t * A_z
Definition: dgm.h:39
struct Options * opt
Definition: dgm.h:23
real_t * b_lb_hat
Definition: dgm.h:35
real_t * pf_vec
Definition: dgm.h:38
signed int int32_t
Definition: typedefs.h:15
struct Problem * prob
Definition: dgm.h:22
real_t * lambda1
Definition: dgm.h:29
float64_t real_t
Definition: typedefs.h:25
real_t * temp2_dim_M
Definition: dgm.h:32
real_t * summ
Definition: dgm.h:37
Definition: dgm.h:20
int32_t DGM(struct Struct_DGM *s)
Definition: dgm.c:20
struct Info * info
Definition: dgm.h:24