DuQuad
v1.0
Quadratic Programming Optimizations
Main Page
Data Structures
Files
File List
Globals
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
;
19
real_t
*
lb
;
20
real_t
*
ub
;
21
real_t
*
z0
;
22
23
// Optimal outputs
24
real_t
*
zopt
;
25
real_t
fopt
;
26
uint32_t
exitflag
;
27
28
// INFO
29
boolean
lb_is_inf
;
30
boolean
ub_is_inf
;
31
real_t
eigH_max
;
32
real_t
eigH_min
;
33
34
// Vectors used for calculations
35
real_t
*
z
;
36
37
real_t
*
znew
;
38
39
real_t
*
temp1_dim_N
;
40
41
// Options
42
uint32_t
maxiter
;
43
real_t
eps
;
44
};
45
46
// Functions
47
uint32_t
GDM
();
48
void
clean_up_GDM_C
();
49
50
#endif
/* GRADIENT_DESCENT_H_ */
uint32_t
unsigned int uint32_t
Definition:
typedefs.h:19
Struct_GDM::z0
real_t * z0
Definition:
gdm.h:21
Struct_GDM::temp1_dim_N
real_t * temp1_dim_N
Definition:
gdm.h:39
Struct_GDM::lb_is_inf
boolean lb_is_inf
Definition:
gdm.h:29
Struct_GDM::maxiter
uint32_t maxiter
Definition:
gdm.h:42
Struct_GDM::ub
real_t * ub
Definition:
gdm.h:20
Struct_GDM::eigH_max
real_t eigH_max
Definition:
gdm.h:31
Struct_GDM::eps
real_t eps
Definition:
gdm.h:43
Struct_GDM::H
real_t * H
Definition:
gdm.h:17
general_functions.h
Struct_GDM::zopt
real_t * zopt
Definition:
gdm.h:24
Struct_GDM::znew
real_t * znew
Definition:
gdm.h:37
GDM
uint32_t GDM()
head.h
Struct_GDM::z
real_t * z
Definition:
gdm.h:35
Struct_GDM::ub_is_inf
boolean ub_is_inf
Definition:
gdm.h:30
Struct_GDM::lb
real_t * lb
Definition:
gdm.h:19
real_t
float64_t real_t
Definition:
typedefs.h:25
Struct_GDM::fopt
real_t fopt
Definition:
gdm.h:25
Struct_GDM::exitflag
uint32_t exitflag
Definition:
gdm.h:26
Struct_GDM
Definition:
gdm.h:15
Struct_GDM::c
real_t * c
Definition:
gdm.h:18
math_functions.h
Struct_GDM::eigH_min
real_t eigH_min
Definition:
gdm.h:32
clean_up_GDM_C
void clean_up_GDM_C()
include
gdm.h
Generated on Sat Dec 13 2014 18:15:38 for DuQuad by
1.8.6