+ Reply to Thread
Results 1 to 8 of 8

Excel Solver - Optimization problem

  1. #1
    Registered User
    Join Date
    11-17-2021
    Location
    Munich, Germany
    MS-Off Ver
    2110
    Posts
    2

    Excel Solver - Optimization problem

    Hello everyone,

    I have to perform an optimization tast by using excel solver. The case study has two parts and I already managed to complete the first one.

    However, I couldn't solve the second one so far.

    Both parts are connected.

    This is the first assignment:

    We illustrate the design of a regional network in the context of SunOil, a manufacturer of
    petrochemical products with worldwide sales. The vice president of supply chain is considering
    several options to meet demand. One possibility is to set up a facility in each region. The advantage
    of such an approach is that it lowers transportation cost and also helps avoid duties that may be
    imposed if product is imported from other regions. The disadvantage of this approach is that plants
    are sized to meet local demand and may not fully exploit economies of scale. An alternative approach
    is to consolidate plants in just a few regions. This improves economies of scale but increases
    transportation cost and duties. When designing a regional configuration, the manager must consider
    these quantifiable trade-offs along with non-quantifiable factors such as the competitive environment
    and political risk.
    The first step is to collect the data in a form that can be used for a quantitative model. For SunOil, the
    vice president of supply chain decides to view the worldwide demand in terms of five regions North
    America, South America, Europe, Africa, and Asia. The data collected are shown in Figure 5-3. Annual
    demand for each of the five regions is shown in cells B9:F9. Cells B4:F8 contain the variable
    production, inventory, and transportation cost (including tariffs and duties) of producing in one region
    to meet demand in each individual region. All costs are in thousands of dollars. For example, as shown
    in cell C4, it costs $92,000 (including duties) to produce 1 million units in North America and sell
    them in South America. As shown in cell G4, it costs $6 million in annualized fixed cost to build a low-
    capacity plant in North America. Observe that the data collected at this stage are at a fairly aggregate
    level.
    There are fixed as well as variable costs associated with facilities, transportation, and inventories at
    each facility. Fixed costs are those that are incurred no matter how much is produced or shipped from
    a facility. Variable costs are those that are incurred in proportion to the quantity produced or shipped
    from a given facility. Facility, transportation, and inventory costs generally display economies of scale,
    and the marginal cost decreases as the quantity produced at a facility increases. In the models we
    consider, however, all variable costs grow linearly with the quantity produced or shipped. e
    SunOil is considering two plant sizes in each location. Low-capacity plants can produce 10 million
    units a year, whereas high-capacity plants can produce 20 million units a year, as shown in cells
    H4:H8 and J4:J8, respectively. High-capacity plants exhibit some economies of scale and have fixed
    costs that are less than twice the fixed costs of a low-capacity plant, as shown in cells I4:I8. All fixed
    costs are annualized. The vice president wants to know what the lowest-cost network should look
    like. To answer this question, we use the capacitated plant location model, which can be used in this
    setting.


    Please see my solution for this problem in the excel file attached. The result is correct.

    The second task requires an extended planning of the supply chain.

    Now it must be considered, that in future the demand worldwide will be doubled (however the proportions stay the same: N. America = 24, S. America = 16, Europe = 28, Asia = 32, Africa =14)

    Thus, I must devide the planning in two periods.

    The first period includes the original demand, the second one includes the doubled demand.

    Both periods must be regarded within a simultaneos planning - not separated.

    The facilities can be set up during the first or during the second period. However, once set up, they cannot be closed.

    All the other assumptions (costs, capacities, regions, etc.) stay the same.

    I hope, someone might be able to help me

    Thanks in advance,
    Frosty
    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
    372

    Re: Excel Solver - Optimization problem

    Quote Originally Posted by FrostyL View Post
    Both periods must be regarded within a simultaneos planning - not separated.

    The facilities can be set up during the first or during the second period. However, once set up, they cannot be closed.
    Not really a Solver/Excel question, is it?

    Can you devise a constraint that would force variables relative to the second period to be 1 (open facility) if they were already open in the first period?

    HTH,

    Francesco
    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.

  3. #3
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Excel Solver - Optimization problem

    period 2 is not solvable.
    with sumproduct and a bit other layout, it reads easier.

    M23, was to choice between 1 and 2 (thus integer) but because 2 is insolvable, you can enter decimal, for example 100/75=1.75 = max possible
    Attached Files Attached Files
    Last edited by bsalv; 11-18-2021 at 03:35 AM.
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Excel Solver - Optimization problem

    [IkB]Administrative Note:[/B]

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are new here I will do it for you this time: https://economics.stackexchange.com/...zation-problem)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    11-17-2021
    Location
    Munich, Germany
    MS-Off Ver
    2110
    Posts
    2

    Re: Excel Solver - Optimization problem

    Thanks for the answer

    But what about the demand? For the first period it equals 12, 8, 14, 16 and 7. For the second one it's doubled - so 24, 16, 28, 32 and 14. Which one do I take?
    It is relevant for the demand constraint at the bottom of the sheet.

  6. #6
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Excel Solver - Optimization problem

    M23=1 for period 1 and 2 for period2, this cell is used in B9:F9 to modify the demand.
    But as you have 5 units at full capacity = 100 output, you can never forfill the demand in period2 = 114.

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

    Re: Excel Solver - Optimization problem

    As I read your assignment, you have two periods with distinct demands.

    You can duplicate your layout, double the demand, add a constraint that forces facilities that were open during first period to be open as well during the second, and minimize the sum for both periods.

    @bsalv:

    It's not written anywere that you cannot open both a low and a high capacity factory.

    HTH,

    Francesco

  8. #8
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Excel Solver - Optimization problem

    It's not written anywere that you cannot open both a low and a high capacity factory.
    when you say so ...

    Next question, now the 2 solutions have an equal weight. Later, is solution1 for years 1-5 and solution2 for years 6-15 and be recalculated to actual value ?
    Last edited by bsalv; 11-18-2021 at 05:03 AM.

+ 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. Replies: 11
    Last Post: 03-05-2020, 02:53 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. Request help on non linear optimization using solver for allocation problem
    By sanmetaliks in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-04-2019, 06:03 PM
  4. Solver Optimization Problem
    By greywolf00 in forum Excel General
    Replies: 6
    Last Post: 10-13-2014, 12:43 PM
  5. Problem Using Solver with an optimization stock problem
    By Jagrubski in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-24-2013, 03:41 AM
  6. [SOLVED] optimization problem - solver falling to get correct answer
    By timtim89 in forum Excel General
    Replies: 5
    Last Post: 09-27-2012, 10:51 AM
  7. Optimization problem when Solver doesn't work
    By fouzi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-24-2012, 09:53 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