+ Reply to Thread
Results 1 to 5 of 5

Solver Production Planning Issue

  1. #1
    Registered User
    Join Date
    07-18-2019
    Location
    Turkey
    MS-Off Ver
    2016
    Posts
    2

    Question Solver Production Planning Issue

    Hi, I'm trying to formulate a production planning model on days based. There are 9 different products and the production is continuous, i.e. there is no option like not producing. Each day there can only be produced 1 kind of product and once a type of product is set its going to be produced for some number of days.

    For example, if product 1 is decided to be produced it should be produced for min of 3 days before a change of product. Notice that there can only be produced 1 kind of product in a day, there is only one production line.

    x1=0 days or x1=>3 days (for a certain planning horizon for product 1) same setup goes for all 9 kind of products with different min day numbers.
    How can I implement this above statement to Excel solver?

    I tried defining one other binary variable y for each product stating if the corresponding product is produced or not within the planning horizon and 1000(a big number)*y1=>x1 if x is going to be greater than 0, so will y. Then I put an if statement instead of x1 in this formula " x1=>3" =IF(y=>0; X1; 500) 500 is to make sure the constraint is not binding. It didn't give a feasable solution. It chooses not to produce anything though there is a constraint making sure it produces everyday.

    Thanks in advance!
    Attached Files Attached Files
    Last edited by preszsbuild; 07-18-2019 at 04:14 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Solver Production Planning Issue

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    07-18-2019
    Location
    Turkey
    MS-Off Ver
    2016
    Posts
    2

    Re: Solver Production Planning Issue

    Thanks for the feedback! The file is attached, thanks in advance

  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: Solver Production Planning Issue

    I was involved in a production problem three years ago. In the end the problem was solved by the OP who set up a filter with If statements.

    https://www.excelforum.com/excel-for...orkaround.html

    See post #13 for an explanation of how the filer works and post #15 for the finished solver model.

    As to his comments

    The only thing I need to figure out is how to encourage a machine to run as long as possible before shutting down
    I think his model has that build in already as there is a penalty for stopping and restarting a kiln.

    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: Solver Production Planning Issue

    Checking the solver model in post #15 and there was something strange with it so I've uploaded another copy of the original to show how the cost penalty gets added.

    As the size of this model is to big for the excel solver to handle you need to upload OpenSolver a freebie form the University of Auckland NZ if you wish to do a rerun of this model.

    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)

Similar Threads

  1. Production Planning in Excel?
    By oval in forum Excel General
    Replies: 0
    Last Post: 02-10-2019, 08:06 AM
  2. Production Planning calendar, don't know where to start.
    By jamescoup in forum Excel General
    Replies: 1
    Last Post: 04-24-2017, 11:45 AM
  3. Production Planning
    By flyguy89 in forum Excel General
    Replies: 3
    Last Post: 01-01-2017, 08:55 AM
  4. Solver for Production Planning
    By snap101 in forum Excel General
    Replies: 2
    Last Post: 02-23-2016, 02:48 PM
  5. Production Planning Model
    By Ebruin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-13-2013, 05:27 PM
  6. [SOLVED] Production Planning / Resource Profile
    By ExcelStefan in forum Excel General
    Replies: 0
    Last Post: 07-25-2012, 03:09 AM
  7. Production Planning!
    By Salford Steve in forum Excel General
    Replies: 3
    Last Post: 01-23-2007, 05:26 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