1 / 12

Constructing POLYGONS of Constraints

Constructing POLYGONS of Constraints.

Télécharger la présentation

Constructing POLYGONS of Constraints

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Constructing POLYGONS of Constraints

  2. Optimizing a function means taking into account all of the resources and limitations and getting the greatest benefit. With all the considerations you try to use them to the greatest effect. Efficiency and economy are words that you should think of when optimizing a function. It is necessary to analyze the constraints as they relate to each other and a very effective way to do this is by constructing a POLYGON OF CONSTRAINTS. The polygon is formed through the intersection of all of the constraints. Depending on the number of constraints and their relationship to each other the polygon can be a triangle, a quadrilateral, a pentagon and so on.

  3. When constructing a graph for these optimization problems, negatives don’t often come into play. This eliminates a large part of the cartesian coordinate system. Quadrant II has negative x-values. Quadrant IV has negative y-values and Quadrant III has both. These quadrants will not be used. We will mostly use Quadrant I in the problems that we face.. QII (-,+) QIII (-,-) QIV (+,-) The problem referring to Grand Slam Rackets listed these four constraints: (1) x ≥ 0 (2) y ≥ 0 (3) 20x + 15y ≤ 14400 (4) 20x + 30y ≤ 18000 The first 2 constraints eliminate the need for quadrants II, III and IV.

  4. x y 0 0 x y 0 0 Using only Quadrant I now eliminates the need to refer to the first 2 constraints. The x and y axes serve as the boundaries for those constraints. (1) x ≥ 0 (2) y ≥ 0 (3) 20x + 15y ≤ 14400 (4) 20x + 30y ≤ 18000 To construct the graph for constraints that have both variables, the simplest thing to do might be to find the x and y intercepts for each. (3) 20x + 15y ≤ 14400 20(0) + 15y = 14400 15y = 14400 y = 960 (0,960) 960 720 20x + 15(0) = 14400 20x = 14400 x = 720 (720,0) • 20x + 30y ≤ 18000 • 20(0) + 30y = 18000 • 30y = 18000 • y = 600 (0,600) 20x + 30(0) = 18000 20x = 18000 y = 900 (900,0) 600 900

  5. 1000 800 600 400 200 200 400 600 800 1000 It is necessary to determine a scale for each axis (x & y) on the graph. This scale depends on the number of blocks on the axis and the numbers that you need to represent. Number of Badminton rackets x-axis We have 20 blocks on the x-axis and we need to represent 900. If 1 block = 50 rackets, it would work very well. y-axis The same scale would work well for the y-axis as for the x-axis. Number of Tennis rackets

  6. 1000 800 x y Number of Badminton rackets 600 0 960 720 0 400 200 200 400 600 800 1000 Number of Tennis rackets x y 0 600 900 0

  7. 1000 800 Number of Badminton rackets 600 400 200 200 400 600 800 1000 Number of Tennis rackets The shading for constraint#3 can be determined by testing a point((0,0)in this case). (3) 20x + 15y ≤ 14400 20(0) + 15(0) ≤ 14400 0 ≤ 14400 True The shading for constraint#3 can be determined by testing a point((0,0) in this case). (3) 20x + 30y ≤ 18000 20(0) + 30(0) ≤ 18000 0 ≤ 18000 True

  8. 1000 800 B Number of Badminton rackets 600 400 C 200 D A 200 400 600 800 1000 Number of Tennis rackets The intersection of shaded areas produces a polygon. It is referred to as the ‘POLYGON OF CONSTRAINTS’. In this case it is a quadrilateral. It has 4 vertices: ABCD Any combination of rackets according to an ordered pair that falls in the polygon of constraints is possible as far as the constraints that have been defined is concerned. An ordered pair that falls outside of the polygon will not be possible according to the constraints that have been defined.

  9. 1000 800 B Number of Badminton rackets 600 400 C 200 D A 200 400 600 800 1000 Number of Tennis rackets The vertices of the polygon of constraints are referred to as CRITICAL POINTS. Obviously, this makes it necessary to find them. Some of them are obvious, A, B and D in this case. A(0,0) D(720,0) B(0,600) Point C occurs at the intersection of the 2 boundaries that are defined by the following equations: 20x + 15y = 14400 20x + 30y = 18000 Point C can be determined by solving the system of equations defined by the 2 boundaries.

  10. 1000 800 Number of Badminton rackets 600 20x+15y=14400 20x+30y=18000 400 C (540,240) 200 200 400 600 800 1000 Number of Tennis rackets The system can be solved by comparison, substitution or by elimination. Here we can use elimination by subtraction: 20x + 15y = 14400 20x + 30y = 18000 B 0x - 15y = -3600 -15y = -3600 y = 240 20x + 15y = 14400 20x + 15(240) = 14400 20x = 14400 – 3600 20x = 10800 x = 540 D A The other points can be determined by intersecting the corresponding boundaries, but it is not necessary since these points are obvious.

  11. 200 160 120 80 x x y y 0 0 0 200 40 120 200 0 40 40 80 120 160 200 • x ≥ 0 • y ≥ 0 • x ≥ 75 • x + y ≤ 200 • x ≥ 3y • Because of the first 2 constraints, we only need to use the first quadrant of the grid. x + y = 200 x = 3y Test (0,0) x + y ≤ 200 0 + 0 ≤ 200 0 ≤ 200 Test (100,0) x ≥ 3y 100 ≥ 3(0) 100 ≥ 0 A

  12. U A: y = 0 x = 75 200 U B: 3y = x x = 75 3y = 75 y = 25 160 120 U C: 3y = x x + y = 200 3y + y = 200 4y = 200 y = 50 3y = x 3(50) = x x = 150 80 C 40 B D 40 80 A 120 160 200 U D: y = 0 x + y = 200 x = 200 CRITICAL POINTS A (75,0) B (75,25) C (150,50) D (200,0)

More Related