Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8242031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:02:04+00:00 2026-06-07T21:02:04+00:00

I was requested to develop a simple software for my school which will be

  • 0

I was requested to develop a simple software for my school which will be used in a manufacturing environment.

This is the scenario:

I’m given a list of sizes – each size reflect a board, so for instance I have a 24″ x 30″ board, 30″ x 30″, 30″ x 48″ and so on. These boards are a by-product of a process where they cut the raw material.

The raw material is presented in two different type of board sizes 60″ x 120″ and 48″ x 96″.

They wish to know the best way to cut the boards from the raw material – the “best” way is defined as the way with the least amount of raw material and residue. They also want to know the quantity of raw material which will be used, so for instance 30 boards of 60″ x 120″ and 3 of 48″ x 96″.

They are able to cut any board either horizontally or vertically, this means that a 24″ x 30″ can be cut either as a 24″ x 30″ or as a 30″ x 24″.

If I’m given a quantity of 50 boards overall (might be the same sizes) I can have 2^50 different combinations – this seems to be too long for me as they will be running the software on thousands of different board sizes.

I wonder if anyone knows an Algorithm that might fit this scenario.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T21:02:06+00:00Added an answer on June 7, 2026 at 9:02 pm

    A classic simple algorithm for rectangular 2D cutting & packing problem is Wang’s algoritm

    However, pure Wang’s algorithm is capable of producing the optimal guillotine cutting pattern, i.e. a pattern where all cuts travel all the way from one edge of remaining material to opposite edge. It can’t produce a non-guillotine pattern as the following one

    +---------+---+
    |         |   |
    +---+-----+   |
    |   |     |   |
    |   |     |   |
    |   +-----+---+
    |   |         |
    +---+---------+
    

    Yet, for many applications guillotine cutting patters are considered good enough. So, you might want to consider that algorithm (since it is very simple).

    There are also approximate randomized algorithms based on Simulated Annealing technique (a detailed description can be found in Simulated Annealing for VLSI Design book (can’t find it on the net), which are able to produce non-guillotine patterns.

    In any case, finding precise solution for such problem usually requires considerable amount of computations to generate and analyze a great variety of possible variants, which makes it impractical in most cases. Most of the time people prefer to stick for good approximate/heuristic algorithms, which work much faster. Wang’s algorithm can be customized with number of heuristic filters that speed up the search (at the risk of losing the optimal solution and replacing it with an “almost” optimal one).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been given the tasks of speccing a mobile application, which will need
I have to develop an application, which will request to a web service developed
I have a client who has requested I develop a simple web designer (ala
I was given an assignment to develop a very simple weather app in Android
1)My environment is web application, I develop servlet to receive request. A) In some
I was requested to make a shell script to check for simple mistakes in
I'm trying to develop simple Python (3.2) code to read XML files, do some
Simple situation. An existing project will need authentication and authorization and I need to
i'm trying to develop a simple Hello World web service using Axis2 v1.5, Tomcat6
I'm trying to develop an agent/client that will listen to HTTP requests on a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.