+ Reply to Thread
Results 1 to 1 of 1

Cutting optimisation for multiple materials

  1. #1
    Registered User
    Join Date
    10-19-2020
    Location
    Bristol, England
    MS-Off Ver
    365 (& 2013)
    Posts
    85

    Cutting optimisation for multiple materials

    I hope I can make this clear, but it's kind of complicated (in my head anyway)

    I'm trying to write this for use in steel fabrication. What I have posted below is very much a work in progress & is part of a much larger workbook doing many other things (I removed as much of the stuff irrelevant to this problem as I could quickly).

    It's also worth noting I’m at the point in my VBA coding journey where I can find and adapt code, but not write it from scratch. I'm still very much learning.

    I have already coded taking the basic list of materials which are listed as it’s required around the building & ordered it in a way that lists it by material, created totals & colourised it based on Finish.

    For reasons you won’t care about I have to make 3 lists, but he left list is the one I need to process.

    I want to use the Monte Carlo principle to work out cutting optimisation for each material type in the list.

    I’ve found the solution MarvinP posted to Mrnuddles to solve the problem for 1 material which I can make that a module & that’s the basis of exactly what I need (and accurate enough for my needs).

    I can’t work out how to attack the problem of smashing the 2 together to iterate through my list of materials giving the solution to each material without writing huge amounts of slow running code.
    It’s the looping I can’t wrap my head around.
    I think I need to:
    • List the section sizes in the BOM
    • Then process each section size in the list (dropping the answers into another sheet or sheets probably, but I should be able to work that bit out)

    I've attached both my code & MarvinP's code in a zip file
    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. Optimization for Cutting Materials
    By TerrickC in forum Excel General
    Replies: 9
    Last Post: 02-06-2021, 10:34 AM
  2. Returning Materials List When Given Multiple Structures
    By JTMNC in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2020, 05:58 AM
  3. Replies: 5
    Last Post: 06-06-2019, 04:31 PM
  4. Replies: 13
    Last Post: 01-04-2019, 10:05 AM
  5. Multiple variables, loops, & code optimisation
    By firealarm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-03-2015, 11:57 PM
  6. Panel cutting optimisation
    By Markg76 in forum Excel General
    Replies: 3
    Last Post: 03-11-2014, 01:54 PM
  7. Multiple Bills of Materials
    By stusic in forum Excel General
    Replies: 0
    Last Post: 03-06-2012, 01:24 PM

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