DuQuad
v1.0
Quadratic Programming Optimizations
Main Page
Data Structures
Files
File List
Globals
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
;
29
real_t
*
lambda1
;
30
real_t
*
lambda2
;
31
real_t
*
temp1_dim_N
;
32
real_t
*
temp2_dim_M
;
33
real_t
*
temp3_dim_M
;
34
real_t
*
b_ub_hat
;
// b + ub_hat
35
real_t
*
b_lb_hat
;
// b + lb_hat
36
real_t
*
z_avg
;
37
real_t
*
summ
;
38
real_t
*
pf_vec
;
39
real_t
*
A_z
;
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_ */
Struct_DGM::temp3_dim_M
real_t * temp3_dim_M
Definition:
dgm.h:33
Struct_DGM::b_ub_hat
real_t * b_ub_hat
Definition:
dgm.h:34
Info
Definition:
qp_structs.h:38
Struct_DGM::lambda2
real_t * lambda2
Definition:
dgm.h:30
Struct_DGM::temp1_dim_N
real_t * temp1_dim_N
Definition:
dgm.h:31
Struct_DGM::z
real_t * z
Definition:
dgm.h:28
Struct_DGM::res
struct Result * res
Definition:
dgm.h:25
Struct_DGM::z_avg
real_t * z_avg
Definition:
dgm.h:36
Struct_DGM::A_z
real_t * A_z
Definition:
dgm.h:39
Struct_DGM::opt
struct Options * opt
Definition:
dgm.h:23
head.h
Struct_DGM::b_lb_hat
real_t * b_lb_hat
Definition:
dgm.h:35
Struct_DGM::pf_vec
real_t * pf_vec
Definition:
dgm.h:38
int32_t
signed int int32_t
Definition:
typedefs.h:15
Struct_DGM::prob
struct Problem * prob
Definition:
dgm.h:22
Options
Definition:
qp_structs.h:28
Struct_DGM::lambda1
real_t * lambda1
Definition:
dgm.h:29
real_t
float64_t real_t
Definition:
typedefs.h:25
Problem
Definition:
qp_structs.h:15
Struct_DGM::temp2_dim_M
real_t * temp2_dim_M
Definition:
dgm.h:32
fgm.h
math_functions.h
print.h
Struct_DGM::summ
real_t * summ
Definition:
dgm.h:37
Struct_DGM
Definition:
dgm.h:20
DGM
int32_t DGM(struct Struct_DGM *s)
Definition:
dgm.c:20
Struct_DGM::info
struct Info * info
Definition:
dgm.h:24
Result
Definition:
qp_structs.h:64
include
dgm.h
Generated on Sat Dec 13 2014 18:15:38 for DuQuad by
1.8.6