Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 1
FAST ALGORITHM FOR FINDING LATTICE SUBSPACES IN
n
AND ITS IMPLEMENTATION
ANDREW M. POWNUK
THE UNIVERSITY OF TEXAS AT EL PASO
FAST ALGORITHM FOR FINDING n LATTICE SUBSPACES IN AND ITS - - PowerPoint PPT Presentation
FAST ALGORITHM FOR FINDING n LATTICE SUBSPACES IN AND ITS IMPLEMENTATION ANDREW M. POWNUK THE UNIVERSITY OF TEXAS AT EL PASO n and its Implementation 1 Andrew Pownuk, Fast Algorithm for Finding
Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 1
n
ANDREW M. POWNUK
THE UNIVERSITY OF TEXAS AT EL PASO
Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 2
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 3
Theorem The minimum-cost insured portfolio exists and is price independent for every portfolio and at every floor if and only if the asset span is a lattice subspace
S . In this case, the minimum-cost insured portfolio
k
satisfies
k k M
X X k
.
Source: C.D. Aliprantis, D.J. Brown, and J. Werner, Minimum-cost portfolio insurance, Journal of Economic Dynamics & Control, 2000, Vol. 24, pp. 1703-1719.
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 4
S n
1,..., N
1,..., N N
1 n n N n
1 2
N
S of all state contingent
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 5
1 2
N
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 6
1,..., N N
N
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 7
Source: C.D. Aliprantis, D.J. Brown, and J. Werner, Minimum-cost portfolio insurance, Journal of Economic Dynamics & Control, 2000, Vol. 24, pp. 1703-1719.
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 8
N p
k
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 9
Theorem The minimum-cost insured portfolio exists and is price independent for every portfolio and at every floor if and only if the asset span is a lattice subspace
S . In this case, the minimum-cost insured portfolio
k
satisfies
k M
X X k
.
Source: C.D. Aliprantis, D.J. Brown, and J. Werner, Minimum-cost portfolio insurance, Journal of Economic Dynamics & Control, 2000, Vol. 24, pp. 1703-1719.
S if and only if there is a
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 10
1 2
1 3 1 2 2 2 1
1 2
1 2 3
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 11
1 2
1 2 3
2,1 1 2 3 2 ,3
2,1 2,3
1 2
1 3
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 12
1 2 2
2 2 , 2 1 1 1
2
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 13
k
k F
k
k F F
1 k F F F
Minimum-cost Portfolio Insurance Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 14
1
2
2
1
3
2
1 2
Partially Ordered Sets Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 15
2
2,
2
Partially Ordered Sets Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 16
{1,2,3}
Partially Ordered Sets Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 17
2
(0,0)
Exponential Time Method for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 18
2
n n
Exponential Time Method for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 19
1,..., n
1,..., m n
1,..., n
m m
1,..., n
, 1
r
n r j j r m
Exponential Time Method for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 20
1 i i n i
i
i
Exponential Time Method for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 21
I
Feasible Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 22
GET_FUNDAMENTAL_INDEX(
, m Y )
{ INDEX:
1,...,m ; : Z Y
; for( : 1
i
; i
m
;i ) if NONNEGCOMB( [ ],
y i Z )
{
: \
i
Z Z y
; INDEX : INDEX \
i ; }
return INDEX, PREFUND(Y ,INDEX); }
Feasible Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 23
Calculations was done on Dell Precision 690 with two quad-core processors Intel Xeon X5365 and 16 GB memory and MATLAB Version 8.0.0.783 R2012b.
Feasible Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 24
T
Feasible Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 25
Feasible Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 26
4
( ) ( ) ( ) ( ) ( )
T T T T T T x x T x x
L c x Ax b y x y f x h x y z c A y z A y z c h x Ax b Ax b XZe XZe XZe f x c x c
Feasible Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 27
T x x k
k
T x x k
Feasible Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 28
k
n
m
'(
k k k
1 k k k
Feasible Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 29
'(
k k k
2 2
( ) ( ) ( ) ( ) ( ) ( ) ( )
T x n m n n n n x x T x n m m n n k n n n m x x m m n
f x h x y h x I x f x h x y z h x y h x z XYe e Z X
Feasible Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 30
Parallel Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 31
Parallel Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 32
GET_FUNDAMENTAL_INDEX_PARALLEL(
, m Y )
{ INDEX:
1
1,...,
m
m
;
: Z Y
; while( NUMBER_OF_VECTORS_TO_BE_REMOVED(Z ) > 0 ){ FIND_NONEGATIVE_VECTORS _PARALLEL(
, INDEX Z );
REMOVE_NONEGATIVE_VECTOR(
, INDEX Z );
} return INDEX, PREFUND(Y ,INDEX); }
Parallel Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 33
1
1 1 3 6 10 15 21 28 36 45 55 2 2 4 10 18 28 40 54 70 88 108 3 3 9 9 21 36 54 75 99 126 156 4 4 12 24 16 36 60 88 120 156 196 5 5 15 30 50 25 55 90 130 175 225 6 6 18 36 60 90 36 78 126 180 240 7 7 21 42 7 X 105 147 49 105 168 238 8 8 24 48 80 120 168 224 64 136 216 9 9 27 54 90 135 189 252 324 81 171 10 10 30 60 100 150 210 280 360 450 100
2
1 1 3 6 10 15 21 28 36 45 55 2 2 4 10 18 28 40 54 70 88 108 3 9 3 9 21 36 54 75 99 126 156 4 12 24 4 16 36 60 88 120 156 196 5 15 30 50 5 25 55 90 130 175 225 6 18 36 60 90 6 36 78 126 180 240 7 21 42 70 105 X 147 7 49 105 168 238 8 24 48 80 120 168 224 8 64 136 216 9 27 54 90 135 189 252 324 9 81 171 10 30 60 100 150 210 280 360 450 10 100
Parallel Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 34
Time of the calculations [s] n Serial Method Parallel Method
10 0.75 1.8 50 1.7 5.2 100 10 16.4 150 43.2 48.8 200 140.6 126 250 340.2 298 300 750 647 350 1449 1287
Parallel Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 35
1 1 3 2 2 4 3 3 9 4 4 12 5 5 15 6 6 18 7 7 21 8 8 24 9 9 27 10 10 30 X
Parallel Algorithm for Lattice Subspaces Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 36
Conclusions Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 37
m can be applied for very
Conclusions Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 38
Conclusions Andrew Pownuk, Fast Algorithm for Finding Lattice Subspaces in
n and its Implementation 39