DuQuad
v1.0
Quadratic Programming Optimizations
Main Page
Data Structures
Files
File List
Globals
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
;
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
// Different from DGM
42
real_t
*
lambda1_old
;
43
real_t
*
lambda2_old
;
44
real_t
*
y1
;
45
real_t
*
z_ds
;
46
real_t
*
y2
;
47
real_t
*
A_z_ds
;
48
49
real_t
time_inner_y
;
50
uint32_t
iterations_inner_y
;
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_ */
Struct_DFGM::b_ub_hat
real_t * b_ub_hat
Definition:
dfgm.h:34
Struct_DFGM::temp3_dim_M
real_t * temp3_dim_M
Definition:
dfgm.h:33
Struct_DFGM::time_inner_y
real_t time_inner_y
Definition:
dfgm.h:49
uint32_t
unsigned int uint32_t
Definition:
typedefs.h:19
Struct_DFGM::A_z
real_t * A_z
Definition:
dfgm.h:39
Struct_DFGM::z
real_t * z
Definition:
dfgm.h:28
Info
Definition:
qp_structs.h:38
Struct_DFGM::iterations_inner_y
uint32_t iterations_inner_y
Definition:
dfgm.h:50
Struct_DFGM::b_lb_hat
real_t * b_lb_hat
Definition:
dfgm.h:35
Struct_DFGM::res
struct Result * res
Definition:
dfgm.h:25
Struct_DFGM::lambda2
real_t * lambda2
Definition:
dfgm.h:30
Struct_DFGM::lambda1_old
real_t * lambda1_old
Definition:
dfgm.h:42
Struct_DFGM::summ
real_t * summ
Definition:
dfgm.h:37
Struct_DFGM::opt
struct Options * opt
Definition:
dfgm.h:23
Struct_DFGM
Definition:
dfgm.h:20
head.h
Struct_DFGM::prob
struct Problem * prob
Definition:
dfgm.h:22
DFGM
int32_t DFGM(struct Struct_DFGM *s)
Definition:
dfgm.c:20
Struct_DFGM::y2
real_t * y2
Definition:
dfgm.h:46
int32_t
signed int int32_t
Definition:
typedefs.h:15
Struct_DFGM::lambda1
real_t * lambda1
Definition:
dfgm.h:29
Struct_DFGM::temp1_dim_N
real_t * temp1_dim_N
Definition:
dfgm.h:31
Options
Definition:
qp_structs.h:28
Struct_DFGM::info
struct Info * info
Definition:
dfgm.h:24
Struct_DFGM::temp2_dim_M
real_t * temp2_dim_M
Definition:
dfgm.h:32
real_t
float64_t real_t
Definition:
typedefs.h:25
Problem
Definition:
qp_structs.h:15
fgm.h
Struct_DFGM::y1
real_t * y1
Definition:
dfgm.h:44
math_functions.h
print.h
Struct_DFGM::z_avg
real_t * z_avg
Definition:
dfgm.h:36
Struct_DFGM::A_z_ds
real_t * A_z_ds
Definition:
dfgm.h:47
Struct_DFGM::z_ds
real_t * z_ds
Definition:
dfgm.h:45
Struct_DFGM::pf_vec
real_t * pf_vec
Definition:
dfgm.h:38
Struct_DFGM::lambda2_old
real_t * lambda2_old
Definition:
dfgm.h:43
Result
Definition:
qp_structs.h:64
include
dfgm.h
Generated on Sat Dec 13 2014 18:15:38 for DuQuad by
1.8.6