+ Reply to Thread
Results 1 to 5 of 5

Run Solver w Macro, returns no feaseble solution.

  1. #1
    Registered User
    Join Date
    08-26-2008
    Location
    Norway
    Posts
    6

    Run Solver w Macro, returns no feaseble solution.

    Hello Experts out there.

    I am trying to make a sheet that will compute the best blend optimum of 3 products in order to minimize cost, but still be within the constraints that i have set up.

    The products have different properties, the critical one being a temperature tolerance level.
    This formula is quite messy, and I wonder if this is a problem for Solver.

    Per default I know that the example data in the sheet have a solution.

    Please advice
    Attached Files Attached Files

  2. #2
    Forum Contributor PingPing's Avatar
    Join Date
    02-19-2010
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    158

    Re: Run Solver w Macro, returns no feaseble solution.

    I can't see any problems with the code. Is there a feasible solution with your given constraints? If not, try relaxing some constraints and work up from there to find the binding constraint. If there IS a feasible solution, try 'seeding' solver with values on your input variables A, B and C that provide a feasible (though not optimal) solution and then run Solver.

    FWIW I've found Solver to be helpful but a PITA sometimes because of problems like the one you're experiencing.
    Last edited by PingPing; 03-01-2010 at 09:19 AM.

  3. #3
    Registered User
    Join Date
    08-26-2008
    Location
    Norway
    Posts
    6

    Re: Run Solver w Macro, returns no feaseble solution.

    Yes - there is a feasable solution. (For instance 50 of volume A and 50 of volume B and 0 volume C. Not optimal, but close.) I have tried 'seeding' the input, but alas - same same...

  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: Run Solver w Macro, returns no feaseble solution.

    Hi Fredrik

    Have a look at the file I've atached and see if this helps you.

    There is one problem related to gasoil blending i.e. cloudpoint does not blend liniarely. In order to get a correct answar cloudpoint must be converted to index. If you are interested send me a private mail since a discussion on gasoil properties are probably not of common interest in this forum.

    If you just are interested in using Solver try this link: http://www.solver.com/

    HTH

    Alf
    Attached Files Attached Files

  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: Run Solver w Macro, returns no feaseble solution.

    Hi Fredrik

    This is a better model I think for what you aim to do.

    Alf
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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