+ Reply to Thread
Results 1 to 6 of 6

Fund optimization using solver with different minimum investment threshold for funds

  1. #1
    Registered User
    Join Date
    08-10-2021
    Location
    Istanbul
    MS-Off Ver
    365
    Posts
    1

    Exclamation Fund optimization using solver with different minimum investment threshold for funds

    I want to optimize the return of my portfolio using solver with the following constraints
    i) total portfolio size
    ii) minimum number of funds
    iii) each fund has a minimum investment threshold. This is particularly difficult to implement; I tried to set the constraint to great than or equal to, however the solver understands this as a must investment. I need to adjust it so that if it will give me the optimal solution it must invest at least the minimum amount and not consider it as mandatory investment.
    Last edited by nedimruso; 08-11-2021 at 07:07 AM.

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Fund optimization using solver with different minimum investment threshold for funds

    You probably will get a better solution if you uploaded a file showing how the result should look. Nevertheless I set up a solver model using a binary grid to select a given
    number of different stocks.

    Solver is not to happy with this setup as the cells C9 and C11 are not considered linear by solver. A better setup would be to split up the sumproduct formula in these cells.
    Will probably have a go at it tomorrow.

    Alf
    Attached Files Attached Files

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

    Re: Fund optimization using solver with different minimum investment threshold for funds

    I guess I can post, after 10 days, my adaptation to Alf's nice solution.

    The model can be made linear adding a couple of constraints. Wish the OP will come back and thank Alf.

    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.

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Fund optimization using solver with different minimum investment threshold for funds

    Hi Francesco

    Again you come to the rescue

    Thanks for your help in rebuilding my model to a proper linear one. I tried to do so but did not succeed but your model works like charm!

    Alf

  5. #5
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Fund optimization using solver with different minimum investment threshold for funds

    Hi again Francesco

    Looking at your model I see that you did not cut away the unneeded parts in my original model so I used your trick to make the model linear and cut away
    the "fat parts" just leaving "the bear necessities" to quote the movie Mowgli.

    Can you see any more possible improvements?

    Alf
    Attached Files Attached Files

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

    Re: Fund optimization using solver with different minimum investment threshold for funds

    Hi Alf,

    I don't see how your final model could be further improved. Nice job.

    Francesco

+ 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. [SOLVED] How to sum up items until a minimum threshold is met?
    By mightybracket123 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-19-2021, 07:10 AM
  2. [SOLVED] Need excel formula that provides a minimum value if calculation is below a threshold
    By kian82 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-28-2017, 11:31 AM
  3. Replies: 2
    Last Post: 03-06-2016, 11:44 AM
  4. Investment Fund Formula (need to make)
    By joao1232 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-12-2016, 01:11 PM
  5. Formula help for bonus calculation with minimum threshold?
    By wisey11 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-07-2015, 09:56 AM
  6. Replies: 4
    Last Post: 09-27-2014, 05:42 PM
  7. Help required - formula to check minimum and maximum threshold
    By ismailm in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-18-2014, 08:33 AM

Tags for this Thread

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