# Questions tagged [optimization]

The selection of a best element from some set of available alternatives. Typically consists of maximizing or minimizing a real function by systematically choosing input values from within an allowed set and computing the value of the function.

38 questions
Filter by
Sorted by
Tagged with
71k views

4k views

### What .NET library can I use to solve optimization problems?

I'm working with C# and I start being bored writing optimization algorithm. Do you know any free library containing this sort of algorithms? In particular I'm currently working with Semidefit ...
588 views

### Maximum Certainty Equivalent Portfolio with Transaction Costs

Out of curiosity I tried to compute the portfolio weights of a maximum certainty equivalent allocation, however, by incorporating (quadratic) transaction costs. However, my result is not as intuitive ...
3k views

### maximize Sharpe ratio in portfolio optimization

I am trying to understand how to maximize Sharpe ratio in portfolio optimization. \boxed{\begin{align}\max\>&\frac{r^Tx-r_f}{\sqrt{x^TQx}}\\ & \sum_i x_i = 1\\ & x_i\ge 0\end{align}} ...
894 views

### How to apply Levenberg Marquardt to Max Likelihood Estimation

In this paper on p315: http://www.ssc.upenn.edu/~fdiebold/papers/paper55/DRAfinal.pdf They explain that they use Levenberg Marquardt (LM) (along with BHHH) to maximize the likelihood. However as I ...
20k views

### What is the reference python library for portfolio optimization?

Does anyone know of a python library/source that is able to calculate the traditional mean-variance portfolio? To press my luck, any resources where the library/source also contains functions such as ...
3k views

### Portfolio optimization with monte carlo sampling from predictive distribution

Let's say we have a predictive distribution of expected returns for N assets. The distribution is not normal. We can interpret the dispersion in the distribution as reflection of our uncertainty (or ...
15k views

### Portfolio optimisation with VaR or CVaR constraints using linear programming

I would like to optimize a portfolio allocation (maximizing the exposure or the expected return), but with VaR or CVaR contraints. (some parts of my portfolio cannot exceed a certain VaR) How can I ...
1k views

### Minimum Variance and Minimum Tracking Error portfolio as second order cone program

The quadratic optimization (min variance) $$w^{T} \Sigma w \rightarrow \text{min},$$ where $w$ is the vector of portfolio weights and $\Sigma$ is the covariance matrix of asset returns, is a well ...
6k views

### Markowitz mean-variance optimization as "error maximization"

I hear it said a lot that standard MV optimization "maximizes errors". But I can't find a good explanation for what exactly they mean by this "maximization" of estimation error. I understand that if ...
2k views

### Random Portfolios vs Efficient Frontier

I understand the concept of the efficient frontier and am able to calculate it in Python. But even when generating 50'000 random 10 asset portfolios, the single portfolios are not even close to the ...
597 views

### Choice of prior as a shrinkage target in portfolio construction?

There's various research showing how priors such as the minimum variance portfolio turn out to be a surprisingly effective shrinkage target in portfolio construction. The sell point of these priors ...
2k views

### Optimizing a portfolio of ETFs

I am aware of how to do mean-variance or minimum-variance portfolio optimization with constraints like weights must add to 1.0 no short sells max weight in any ticker using basic quadratic ...
1k views

### What is the expected return I should use for the momentum strategy in MV optimization framework?

As all research on the momentum strategies are focused on the indicator, i.e. the entry point, there seems not much discussion on its expected return? Though there are some discussions on the exit ...
2k views

3k views

### Portfolio optimization subject to transaction costs

Mean-Variance portfolio optimization attracted lots of attention in this forum so far. I am interested in the effect of incorporating transaction costs into the decision framework and I would like to ...
1k views

### How to implement Konno's Mean-Absolute Deviation Portfolio Optimization Model using LP methods in Excel

Konno proposed a LP method for portfolio optimization using the Mean Absolute Deviation (MAD)
87 views

### Optimized search for yield-to-worst of a callable bond

Suppose that I need to find the yield-to-worst of a callable bond, and that the option is American (call any time). The bond may have step-up coupons and/or non-constant call price (oprion strike). ...
494 views

### Portfolio Optimization using S&P Universes

Assuming a set portfolio optimization problem, if all optimization inputs are kept constant, what would you expect, in terms of results, if you run the same optimization using the S&P500 as ...
382 views

### Problem with the maximum likelihood for a GARCH-type of model

I'm currently working with the following GARCH process from Heston and Nandi (2000): \begin{align*} r_{t+1} - r_f &= \lambda h_{t+1} - \frac{h_{t+1}}{2} + \sqrt{h_{t+1}}z_{t+1} \\ h_{t+1} ...
642 views

### When looking for arbitrage among a LARGE amount of assets, is there an optimal way?

Looking for arbitrage opportunities when looking at 3 pairs of related currencies is easy. However if we assume that we have a large amount of currencies, is there an optimal way to swipe through them ...