Applications of Linear Programming

Similar documents
MS-E2114 Investment Science Lecture 5: Mean-variance portfolio theory

Financial Analysis The Price of Risk. Skema Business School. Portfolio Management 1.

Lecture 3: Return vs Risk: Mean-Variance Analysis

The Optimization Process: An example of portfolio optimization

Lecture 4: Return vs Risk: Mean-Variance Analysis

CSCI 1951-G Optimization Methods in Finance Part 00: Course Logistics Introduction to Finance Optimization Problems

CSCI 1951-G Optimization Methods in Finance Part 07: Portfolio Optimization

Lecture IV Portfolio management: Efficient portfolios. Introduction to Finance Mathematics Fall Financial mathematics

Stochastic Programming and Financial Analysis IE447. Midterm Review. Dr. Ted Ralphs

Journal of Computational and Applied Mathematics. The mean-absolute deviation portfolio selection problem with interval-valued returns

Quantitative Portfolio Theory & Performance Analysis

Portfolio selection with multiple risk measures

Port(A,B) is a combination of two stocks, A and B, with standard deviations A and B. A,B = correlation (A,B) = 0.

Markowitz portfolio theory

Equilibrium Asset Returns

Chapter 2 Portfolio Management and the Capital Asset Pricing Model

Optimization in Finance

Economics 483. Midterm Exam. 1. Consider the following monthly data for Microsoft stock over the period December 1995 through December 1996:

Advanced Financial Economics Homework 2 Due on April 14th before class

International Finance. Estimation Error. Campbell R. Harvey Duke University, NBER and Investment Strategy Advisor, Man Group, plc.

Portfolio Optimization with Alternative Risk Measures

Financial Mathematics III Theory summary

u (x) < 0. and if you believe in diminishing return of the wealth, then you would require

Mean-Variance Analysis

Quantitative Risk Management

Optimal Security Liquidation Algorithms

Different Risk Measures: Different Portfolio Compositions? Peter Byrne and Stephen Lee

PORTFOLIO OPTIMIZATION AND EXPECTED SHORTFALL MINIMIZATION FROM HISTORICAL DATA

Chapter 6 Efficient Diversification. b. Calculation of mean return and variance for the stock fund: (A) (B) (C) (D) (E) (F) (G)

Scenario Generation and Sampling Methods

Mean Variance Portfolio Theory

Optimal Portfolio Selection

Portfolio Risk Management and Linear Factor Models

Session 8: The Markowitz problem p. 1

SDMR Finance (2) Olivier Brandouy. University of Paris 1, Panthéon-Sorbonne, IAE (Sorbonne Graduate Business School)

Portfolio Optimization. Prof. Daniel P. Palomar

Financial Optimization ISE 347/447. Lecture 15. Dr. Ted Ralphs

Log-Robust Portfolio Management

EE365: Risk Averse Control

Risk Management for Chemical Supply Chain Planning under Uncertainty

Financial Market Analysis (FMAx) Module 6

Modern Portfolio Theory

Sensitivity Analysis with Data Tables. 10% annual interest now =$110 one year later. 10% annual interest now =$121 one year later

Markowitz portfolio theory. May 4, 2017

Applications of Quantum Annealing in Computational Finance. Dr. Phil Goddard Head of Research, 1QBit D-Wave User Conference, Santa Fe, Sept.

Solving real-life portfolio problem using stochastic programming and Monte-Carlo techniques

Microeconomics 3. Economics Programme, University of Copenhagen. Spring semester Lars Peter Østerdal. Week 17

Introduction to Algorithmic Trading Strategies Lecture 9

Handout 8: Introduction to Stochastic Dynamic Programming. 2 Examples of Stochastic Dynamic Programming Problems

36106 Managerial Decision Modeling Monte Carlo Simulation in Excel: Part IV

Techniques for Calculating the Efficient Frontier

Mathematics in Finance

MTH6154 Financial Mathematics I Stochastic Interest Rates

OPTIMAL RISKY PORTFOLIOS- ASSET ALLOCATIONS. BKM Ch 7

Lecture outline W.B. Powell 1

Portfolio Management and Optimal Execution via Convex Optimization

Operation Research II

Optimal Portfolio Selection Under the Estimation Risk in Mean Return

Random Variables and Applications OPRE 6301

Mean Variance Analysis and CAPM

A New Approach to Solve an Extended Portfolio Selection Problem

Portfolio theory and risk management Homework set 2

APPLICATION OF KRIGING METHOD FOR ESTIMATING THE CONDITIONAL VALUE AT RISK IN ASSET PORTFOLIO RISK OPTIMIZATION

Neuro-Dynamic Programming for Fractionated Radiotherapy Planning

Lecture 3: Factor models in modern portfolio choice

Comparison of Static and Dynamic Asset Allocation Models

Mean-Variance Portfolio Theory

Maximum Downside Semi Deviation Stochastic Programming for Portfolio Optimization Problem

1.1 Interest rates Time value of money

P2.T8. Risk Management & Investment Management. Jorion, Value at Risk: The New Benchmark for Managing Financial Risk, 3rd Edition.

Market Risk VaR: Model- Building Approach. Chapter 15

Portfolio Theory and Diversification

Attilio Meucci. Managing Diversification

Efficient Portfolio and Introduction to Capital Market Line Benninga Chapter 9

The Markowitz framework

Advanced Financial Modeling. Unit 2

PORTFOLIO OPTIMIZATION: ANALYTICAL TECHNIQUES

Game Theory Tutorial 3 Answers

Worst-case-expectation approach to optimization under uncertainty

arxiv: v1 [q-fin.pm] 29 Apr 2017

SCHOOL OF BUSINESS, ECONOMICS AND MANAGEMENT. BF360 Operations Research

Note on Using Excel to Compute Optimal Risky Portfolios. Candie Chang, Hong Kong University of Science and Technology

Final Exam Suggested Solutions

Lecture 3 of 4-part series. Spring School on Risk Management, Insurance and Finance European University at St. Petersburg, Russia.

Economics 424/Applied Mathematics 540. Final Exam Solutions

Optimization Methods in Finance

(IIEC 2018) TEHRAN, IRAN. Robust portfolio optimization based on minimax regret approach in Tehran stock exchange market

Consumption- Savings, Portfolio Choice, and Asset Pricing

Package PortfolioOptim

Multi-Period Trading via Convex Optimization

COS 511: Theoretical Machine Learning. Lecturer: Rob Schapire Lecture #24 Scribe: Jordan Ash May 1, 2014

Stochastic Programming for Financial Applications

CHAPTER II LITERATURE STUDY

MATH3075/3975 FINANCIAL MATHEMATICS TUTORIAL PROBLEMS

ORF 307: Lecture 12. Linear Programming: Chapter 11: Game Theory

Chapter 8. Markowitz Portfolio Theory. 8.1 Expected Returns and Covariance

Minimum Variance Hedging for Managing Price Risks

Conditional Value-at-Risk: Theory and Applications

Micro Theory I Assignment #5 - Answer key

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Transcription:

Applications of Linear Programming lecturer: András London University of Szeged Institute of Informatics Department of Computational Optimization Lecture 8

The portfolio selection problem

The portfolio selection problem Given a set of assets (bond, stock, activity, etc.) Question: How to compose a portfolio of them? Suppose that the expected return of an investment in stock r is E(r) (That is an expected value calculated from historical time series data in some way) Goal: Compose a portfolio with maximum expected return. If we invest in n different assets, then an LP model for the problem: x i = 1 [total capital] x i 0 [portion invested in r i ] max E(r i )x i [total expected return]

The portfolio selection problem We can assume that E(r 1 ) E(r 2 )... E(r n ), then the optimal solution is x 1 = 1, x 2 = = x n = 0, and the return is E(r 1 ). Generally true that if one follows this strategy will go bankrupt with probability 1, since Unfortunately, the return on stocks that yield a large expected return is usually highly variable Thus, one often approaches the problem of selecting a portfolio by choosing an acceptable minimum expected return and finding the portfolio with the minimum variance several approach developed (moreover, research on the topic is still very intensive) to solve the problem. Here we discuss two of them: 1 Markowitz model, 1952; Nobel-prize in Economy, 1990 2 MAD model (Konno and Yamazaki, 1990)

Portfolio selection example Let D(r) be the risk of investment in asset r (will be measured by the variance calculated from historical time series data). Consider the returns of the following investments in the past years: Year 1 Year 2 Year Property (e.g. a house) 0.05-0.0 0.04 Security (e.g. a bond) -0.05 0.21-0.10 The expected returns are calculated as: E(r h ) = 0.05 0.0+0.04 = 0.02 és E(r b ) = 0.05+0.21 0.10 = 0.02 The risks are: D(r h ) = D(r b ) = (0.02 0.05) 2 +(0.02+0.0) 2 +(0.02 0.04) 2 0.06 and (0.02+0.05) 2 +(0.02 0.21) 2 +(0.02+0.10) 2 0.164

Portfolio selection example If we invest 75% of the capital to the house and 25% to bond then the return of the portfolio is (0.75 0.05 + 0.25 0.05) E(r p ) = (0.75 0.0 + 0.25 0.21) + (0.75 0.04 + 0.25 0.10) + (0.025 + 0.0 + 0.005) = = 0.02 The portfolio risk is (0.02 0.025) D(r p ) = 2 +(0.02 0.0) 2 +(0.02 0.005) 2 0.019 However the average risk is 0.75 0.06 + 0.25 0.164 = 0.068 Diversification reduces the risk

Portfolio selection example Year 1 Year 2 Year Property 0.05-0.0 0.04 Security -0.05 0.21-0.10 Covariance: is a measure of the joint variability of two random variables: cov p,s = (0.02 0.05) (0.02+0.05) + (0.02+0.0) (0.02 0.21) + + (0.02 0.04) (0.02+0.10) = 0.005 Correlation: Normalized covariance corr i,e = 0.005 0.06 0.164 = 0.84 1 corr 1 corr > 0 positive correlation corr = 0 no correlation ( independence, but independence) corr < 0 anti correlation

Expected value, variance, covariance Basic properties:

Portfolio selection example 1. ábra. Exchange rate of Coca-Cola and Procter&Gamble in 1990

Portfolio selection Markowitz model The general model: (r 1, r 2,..., r n ) the assets in the portfolio x = (x 1, x 2,..., x n ) portion of the capital invested in each individual asset n x i = 1 and x i 0 ( i) Risk: measured via the variance (squared deviation, i.e. var = D 2 ) Covariance matrix: contains the pairwise covariances of the (historical daily) stock returns cov 11 cov 12 cov 1n cov 21 cov 22 cov 1n C =...... cov n1 cov n2 cov nn cov ii = D 2 (r i ) = var(r i )

Portfolio selection Markowitz model A Portfolio risk: ( ) var E(r i )x i = ( ) cov ij x i x j = x T Cx j=1 Efficient portfolio: A portfolio that provides the greatest expected return for a given level of risk, or equivalently, the lowest risk for a given expected return.

Portfolio selection Markowitz model Let R be the minimum expected return of an investment. We can formulate the following quadratic programming problem: E(r i )x i R x i = 1 x i 0 i = 1,2,..., n min x T Cx That is minimizing the risk given a minimum expected return. A solution of the problem called optimal portfolio.

Portfolio selection Markowitz model Remarks: Non-linear (e.g. quadratic) optimization will be discussed later Efficient algorithms exist for solving such problems A difficulty: computing (estimating) the elements of the covariance matrix C instead, we can maximize e.g. the mean absolute error E( i (r i E(r i ))x i ) 1 1 if r = (r 1,..., r n) follows a multivariate normal distribution then the two method is equivalent

Portfolio selection MAD model Mean Absolute Deviation Developed by Konno and Yamazaki uses the observed data directly and avoids the calculation of E(r i ) and C Let T be number of observations (closure prices of T days) of n investments and let r it be the observation of the return of investment i Let r i = 1 T T r it és a it = r it r i t=1 be the observed average return, and the difference of the individual returns from the average, respectively

Portfolio selection MAD model The following optimization problem is given: r i x i R x i = 1 x i 0 i = 1,2,..., n min 1 T T a it x i t=1 This is not an LP, but can be formulated as LP.

Portfolio selection MAD model MAD model as LP: a it x i y t a it x i y t r i x i R x i = 1 x i 0 y t 0 t = 1,2,..., T t = 1,2,..., T i = 1,2,..., n t = 1,2,..., T min 1 T T t=1 y t

Inventory model 2 Suppose that a company has to decide an order quantity x of a certain product (newspaper) to satisfy demand d. The cost of ordering is c > 0 per unit. If the demand d is bigger than x, then a back order penalty of b 0 per unit is incurred. The cost of this is equal to b(d x) if d > x, and is zero otherwise. On the other hand if d < x, then a holding cost of h(x d) 0 is incurred. The total cost is then where [a] + = max{a, 0}. We assume that b > c G(x, d) = cx + b[d x] + + h[x d] +, The objective is to minimize G(x, d). Here x is the decision variable and the demand d is a parameter 2 based on the lecture notes A Tutorial on Stochastic Programming by Alexander Shapiro and Andy Philpott

Inventory model The nonnegativity constraint x 0 can be removed if a back order policy is allowed. The objective function G(x, d) can be rewritten as G(x, d) = max{(c b)x + bd, (c + h)x hd} which is piecewise linear with a minimum attained at x = d. That is, if the demand d is known, then (no surprises) the best decision is to order exactly the demand quantity d. We can write the problem as an LP

Inventory model

Inventory model Consider now the case when the ordering decision should be made before a realization of the demand becomes known. One possible way to proceed in such situation is to view the demand D as a random variable We assume, further, that the probability distribution of D is known (e.g. estimated from historical data) We can consider the expected value E[G(x, D)] and corresponding optimization problem min E[G(x, D)]. x 0 it means optimizing (minimizing) the total cost on average

Inventory model Suppose that D has a finitely supported distribution, i.e., it takes values d 1,..., d K (called scenarios) with respective probabilities p 1,..., p K. Then the expected value can be written as E[G(x, D)] = K p k G(x, d k ) k=1 The expected value problem can be written as the linear programming problem: We stop here the discussion!