DuQuad  v1.0
Quadratic Programming Optimizations
 All Data Structures Files Functions Variables Typedefs Macros
gdm.h
Go to the documentation of this file.
1 /*
2  * GDM.h
3  *
4  * Created on: Aug 19, 2014
5  * Author: Sverre
6  */
7 
8 #ifndef GRADIENT_DESCENT_H_
9 #define GRADIENT_DESCENT_H_
10 
11 #include "head.h"
12 #include "math_functions.h"
13 #include "general_functions.h"
14 
15 struct Struct_GDM
16 {
17  real_t * H;
18  real_t * c;
22 
23  // Optimal outputs
27 
28  // INFO
29  boolean lb_is_inf;
30  boolean ub_is_inf;
33 
34  // Vectors used for calculations
35  real_t * z;
36 
38 
40 
41  // Options
44 };
45 
46 // Functions
47 uint32_t GDM();
48 void clean_up_GDM_C();
49 
50 #endif /* GRADIENT_DESCENT_H_ */
unsigned int uint32_t
Definition: typedefs.h:19
real_t * z0
Definition: gdm.h:21
real_t * temp1_dim_N
Definition: gdm.h:39
boolean lb_is_inf
Definition: gdm.h:29
uint32_t maxiter
Definition: gdm.h:42
real_t * ub
Definition: gdm.h:20
real_t eigH_max
Definition: gdm.h:31
real_t eps
Definition: gdm.h:43
real_t * H
Definition: gdm.h:17
real_t * zopt
Definition: gdm.h:24
real_t * znew
Definition: gdm.h:37
uint32_t GDM()
real_t * z
Definition: gdm.h:35
boolean ub_is_inf
Definition: gdm.h:30
real_t * lb
Definition: gdm.h:19
float64_t real_t
Definition: typedefs.h:25
real_t fopt
Definition: gdm.h:25
uint32_t exitflag
Definition: gdm.h:26
Definition: gdm.h:15
real_t * c
Definition: gdm.h:18
real_t eigH_min
Definition: gdm.h:32
void clean_up_GDM_C()