+ Reply to Thread
Results 1 to 4 of 4

Optimization of two pieces to make 1 large piece question

  1. #1
    Registered User
    Join Date
    11-15-2018
    Location
    Missouri
    MS-Off Ver
    Excel
    Posts
    1

    Optimization of two pieces to make 1 large piece question

    Hello, for work I am trying to generate a sheet that will auto populate the best possible combination of panels for us to use.

    Essentially, our problem is: we have a panel that needs to have an overall length of 144" L by 48" Tall. To make this panel we have rolls of material that are 48" or 36" wide, and up to 20' in length. The depth part isn't a problem its the width of the material. We have to combine the panels together, again in a combination of 48" and 36" to have the least amount of waste. For example, in this example 3 48" panels would work best. But I wan't a sheet that I put in the overall length we need and it breakdown the most cost effective combination of 48" panels and 36" panels.

    Anyone got some advise?
    Last edited by Zstoppa; 11-15-2018 at 11:53 AM.

  2. #2
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,693

    Re: Cut List... Kinda

    First of all, please would you edit your thread title (edit the opening post and click Go Advanced) so that it tells us a little more explicitly what you are trying to do. See the forum rules on this. Thanks. Oh, and welcome to the forum!
    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.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,887

    Re: Optimization of two pieces to make 1 large piece question

    Obviously, this is some kind of cutting stock problem. I did not understand why you would use 3 4x4 pieces instead of 1 4x12 piece, but you should be able to program whatever is controlling that decision into the final spreadsheet -- as long as you understand why you made that decision. There is a lot of discussion around the internet and other computer science circles about this common problem. As simple as the problem seems on the surface, it is an NP-hard problem (https://en.wikipedia.org/wiki/Cutting_stock_problem ), which means that it is surprisingly difficult to program a robust solution (especially if you need to expand to 2D or 3D).

    Most first suggestions for these problems use Excel's Solver. Solver's programmers have provided a sample spreadsheet with several different kinds of common optimization problems, including an example for the cutting stock problem: https://www.solver.com/examples-optimization-problems
    This guy also has an example using Solver: http://blog.excelmasterseries.com/20...aste-with.html

    If you don't like the Solver solutions, here's one that uses VBA: http://dailydoseofexcel.com/archives...stock-lengths/

    I recommend you study those (and any other examples you find) until you understand how the cutting stock problem is formulated into the spreadsheet. Then, make your adjustments to those algorithms until you get the specific cutting stock problem that you have.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  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: Optimization of two pieces to make 1 large piece question

    Being bored I set up a small solver model for this problem. Info in uploaded file about the how and the why.

    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. New Member Kinda
    By enofman in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 12-20-2014, 08:55 PM
  2. Hello! I'm 'new' (kinda)
    By SpannerPoint2 in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 07-09-2013, 04:09 AM
  3. amortization schedule.. kinda
    By aceee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-22-2008, 08:58 PM
  4. Look ups? Kinda............
    By Merlin54k in forum Excel General
    Replies: 13
    Last Post: 12-19-2006, 04:20 PM
  5. kinda complicated need help
    By rjahr01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-27-2006, 05:02 PM
  6. Comments box, kinda.
    By in_a_ru5h in forum Excel General
    Replies: 1
    Last Post: 06-30-2006, 05:11 PM
  7. Rounding Up Kinda
    By Steve in forum Excel General
    Replies: 8
    Last Post: 08-30-2005, 05:05 PM

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