+ Reply to Thread
Results 1 to 2 of 2

Solver/Formula- 2 Parameters, Portfolio Optimization

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-09-2015
    Location
    malta
    MS-Off Ver
    Microsoft 365
    Posts
    387

    Solver/Formula- 2 Parameters, Portfolio Optimization

    Hi all,

    I am writing to ask whether there can be a solution for a sample of investment I am currently working on. For ease of reference I am attaching a fictitious worksheet to give an idea.

    Basically I have a portfolio consisting of a number of bonds and for each bond the amount invested is shown in Column E. As one can see from the excel attached, for each bond the main parameters that interest us are:
    -Sector: Whether the bond is "Investment Grade" or "Non-Investment Grade"
    -Range Months: the amount of months remaining for each bond to mature

    These parameters are summarized in 2 pivot tables on the right hand side.

    Currently the total amount invested in a portfolio is EUR 177,893.


    Problem:


    I would like to remove a total of EUR 35,000 from this portfolio (so that the total amount invested will be around EUR142,893 (it doesn't have to be exactly to the nearest decimal point)).

    The only conditions are that both the existing % parameters should if possible be maintained, i.e:
    -Investment Grade: approx. 95%; Non-Investment: approx.5 %
    -2 to 3 years approx. 28%, 1 to 2 years approx. 25% etc


    Not sure whether there can be something (formulas, solver maybe, VBA) which would work out the above, i.e. removing a total of EUR 35,000 and retaining the existing allocation/parameters. Sounds a bit complex so I am not sure whether there can be some solution.

    P.S: the percentage doesn't have to be exact

    Would really appreciate your kind help

    Thanks

    Keibri
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Hydraulics's Avatar
    Join Date
    07-15-2018
    Location
    Udine - Italy
    MS-Off Ver
    Office 365
    Posts
    398

    Re: Solver/Formula- 2 Parameters, Portfolio Optimization

    I'm offering a Solver based solution (actually, two solutions). In the worksheet you can set individual values for upper and lower percentages in each category (sector and duration). Both solutions will try to minimize the absolute value of the difference between the required and calculated sum.

    The first solution relies on Evolutionary engine, and is pretty basic. The second adds one variable and two constraints, so that we can use Simplex, and returns on average better results in less time. It is needed only if you are dealing with more than 200 investments (variables).

    HTH,

    Francesco
    Attached Files Attached Files
    Aim high or don't even try.
    ---------------------------------
    If your question has been answered, don't forget to mark the thread as SOLVED.
    If you find an answer helpful, click on the star icon at the bottom of the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Portfolio Optimization
    By Gammus12 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-07-2019, 12:57 PM
  2. Solver problem. Portfolio Optimization.
    By Keltamustat in forum Excel - New Users/Basics
    Replies: 11
    Last Post: 02-10-2019, 03:17 PM
  3. [SOLVED] #VALUE! - When trying to do portfolio optimization
    By needhelpthanks in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2016, 12:55 PM
  4. Solver Portfolio Optimization, using binary variable
    By Willie68 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-06-2014, 02:42 PM
  5. Problems with Portfolio Optimization-Tool
    By mibikeks in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2014, 11:32 AM
  6. Portfolio Optimization. Solver Constraint Issue
    By spgoofyft in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2011, 07:02 PM
  7. portfolio optimization with solver
    By jrom1 in forum Excel General
    Replies: 2
    Last Post: 01-13-2007, 12:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1