home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!sun-barr!ames!haven.umd.edu!darwin.sura.net!dtix!mimsy!afterlife!adm!amsaa-cleo!matt
- From: matt@amsaa-cleo.brl.mil (Matt Rosenblatt)
- Newsgroups: sci.math
- Subject: Minimizing waste when cutting fabric.
- Summary: Algorithm or computer program wanted.
- Keywords: Waste; Fabric
- Message-ID: <8832@amsaa-cleo.brl.mil>
- Date: 2 Sep 92 15:35:02 GMT
- Organization: U.S. ARMY MATERIEL SYSTEMS ANALYSIS ACTIVITY (AMSAA), APG, MD.
- Lines: 31
-
- Suppose I am an upholsterer who buys fabric in rolls. Each roll is
- 54 inches wide, and I can assume it is infinitely long:
-
- Y
- -------------------------------------------
- | /
- | /
- X | | . . .
- | \
- | /
- -----------------------------------------
-
- Suppose I need to cut n pieces P_i, where P_i is to be a
- rectangle x_i inches wide in the X direction, and y_i inches
- long in the Y direction. (Because of the pattern in the fabric,
- a rectangle x" wide by y" long is not equivalent to a rectangle
- y" wide by x" long.) I can start at the beginning of the roll,
- cutting a few rectangles whose combined width w does not exceed
- 54". When I can no longer fit any more rectangles at the beginning,
- I can start cutting rectangles out of the as-yet-unused material.
- Once I start doing this, a strip of fabric (54" - w) wide will
- have to be wasted. I want to cut the n pieces in such a way
- as to minimize this waste.
-
- This must be a basic version of a much more general problem where
- the pieces to be cut can take all sorts of shapes. Surely there
- have been algorithms designed for the more general case. What kind
- of algorithms are they, and where can I find them?
-
- -- Matt Rosenblatt
- (matt@amsaa-cleo.brl.mil)
-