cutting stock problem

30
Cutting Stock Problem By Devendra Kumar Mittal Hemant Das Kiran Kumar Nagar

Upload: hemant0189

Post on 18-Apr-2015

67 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Cutting Stock Problem

Cutting Stock Problem

By Devendra Kumar MittalHemant DasKiran Kumar Nagar

Page 2: Cutting Stock Problem

Introduction

• It arises from many applications in industry. Imagine that you work in a paper mill and you have a number of rolls of paper of fixed width waiting to be cut, yet different customers want different numbers of rolls of various-sized widths. How are you going to cut the rolls so that you maximize the profit. To maximize profit you have to use minimum trim loss.

• It is a NP Hard problem.

Page 3: Cutting Stock Problem

Introduction(1 Dimensional)

The goal of the 1 Dimensional cutting stock problem:

is to find the "optimal" cutting patterns, where the total number of long steel bars(may be any other material) used is minimized, subject to the constraint that the desired shorter steel bars are cut in needed quantities.

Page 4: Cutting Stock Problem

..........

..........

Bar Length = 1200 cm

....................

Bar Length = 600 cm

Bar Length = 700 cmBar Length = 300 cm

12

35...

12

10...

12

15...

Page 5: Cutting Stock Problem

Trim Loss

300 cm 300 cm 300 cm 300 cm

300 cm 300 cm 600 cm

300 cm 700 cm

600 cm600 cm

Pattern 1:

Pattern 2:

Pattern 3:

Pattern 4:

Page 6: Cutting Stock Problem

2D Cutting Stock Problem

• In it cuts are made along both the directions (width and length).

• Two-dimensional cutting stock problems are more difficult to solve than one-dimensional problems because of the greater complexity of defining feasible cutting patterns.

Page 7: Cutting Stock Problem

Uses

• Industrial applications of cutting-stock problems for high production volumes arise especially when basic material is produced in large rolls that are further cut into smaller units. This is done e.g. in paper and plastic film industries but also in production of flat metals like steel or brass.

Page 8: Cutting Stock Problem

Formulation of 1 Dimensional Cutting Stock problem

• Suppose there is stock of rods of length • There are orders.• Each order requires rods of length where

Page 9: Cutting Stock Problem

Cont.

• Then problem isMin Subject to where And where

And no of patterns and no of times pattern is used.

And pattern and is item of pattern

Page 10: Cutting Stock Problem

Technique used for 1 Dimensional

• There are many techniques for solving 1 dimension cutting Stock Problem.

• The most useful technique is Column generation.

Page 11: Cutting Stock Problem

Column Generation

• There are many patterns for a problem but we use only few patterns to get the answer.

• These few patterns are basis patterns. • Denote Basis by B(list of all basis patterns).• Suppose the problem is to• Min • But here

Page 12: Cutting Stock Problem

• In column generation, Initial basis has some random patterns.

• Now chose a non basis pattern(which is not in basis) and if it has negative than it will enter the basis.

• In this(cutting stock problem) and where is dual variableSo

• So pattern with enters the basis.

Page 13: Cutting Stock Problem

Dual Formulation

• Dual of primal formulation of 1 D cutting stock problem is (with dual variable

Such that Where is unrestricted.

• Now our job is to find out pattern which enters the basis.

Page 14: Cutting Stock Problem

• Now problem is where are constants.• Now it becomes a linear programming

problem.• But it has only integer solution.• It can also be solved by bounded knapsack

algorithm.

Page 15: Cutting Stock Problem

Techniques to generate Pattern

• There are many techniques to generate pattern for 1 D cutting Stock problem.

• Some are1) Branch and Bound2) Cut Plane3) Branch and Cut– These all are Integer linear programming algorithms.

4) Genetic Algorithm

Page 16: Cutting Stock Problem

Branch and Bound• Branch and bound is widely used integer linear programming

algorithm.• Branch-and-bound is essentially a strategy of ‘‘divide and

conquer.’’ The idea is to partition the feasible region into more manageable subdivisions and then, if required, to further partition the subdivisions.

• Suppose there is an IP problem

• Find out the LP relaxation.

Page 17: Cutting Stock Problem

• If LP-relaxation has integral optimal solution x*, then x* is optimal for IP too.

• In our case, = (2.25, 3.75) is the optimal solution of the LP-relaxation.

• But, unfortunately, it is not integral.• The optimal value is 41.25 .• Choose a variable that is fractional in the

optimal solution to the LP-relaxation – say, .• Observe that every feasible IP point must have

either .

Page 18: Cutting Stock Problem

• With this in mind, branch on the variable x2 to create the following two sub problems:

Page 19: Cutting Stock Problem
Page 20: Cutting Stock Problem

• Another Example

Page 21: Cutting Stock Problem

• This chain will go till we find a optimal integer solution.

• Example of 1 D cutting stock problem

Page 22: Cutting Stock Problem

• Solution is

Page 23: Cutting Stock Problem

Cut Plane

• This technique is popularly used to find integer solutions to mixed integer linear programming (MILP) problems.

• The use of cutting planes to solve MILP was introduced by Ralph E. Gomory.

• In this also, First find out the LP relaxation of the problem.• When an optimal solution is obtained, and this solution

has a non-integer value for a variable• Then find linear constraints which are satisfied by all

feasible integer points but violated by the current fractional solution.

Page 24: Cutting Stock Problem

• If such an inequality is found, it is added to the linear program, such that resolving it will yield a different solution which is hopefully "less fractional".

• This process is repeated until an integer solution is found (which is then known to be optimal).

• In practice, the branch-and-bound procedures almost always outperform the cutting-plane algorithm.

• Nevertheless, the algorithm has been important to the evolution of integer programming.

• Historically, it was the first algorithm developed for integer programming that could be proved to converge in a finite number of steps

Page 25: Cutting Stock Problem

Example

Page 26: Cutting Stock Problem
Page 27: Cutting Stock Problem

Branch and Cut

• It is the mixer of “Branch and bound” and “Cut plane” method.

• First solve the problem using “Cut Plane”.• If no more furthers plane can be added and

the optimal solution has at least one non-integer variable then apply “Branch and Bound”.

Page 28: Cutting Stock Problem

Example

Page 29: Cutting Stock Problem
Page 30: Cutting Stock Problem

Fitness Function

• To reduce the probability of taking chromosomes that are violating constrain equation, fitness function must be design effectively.