Linear Programming Feasible Region Construction Example

Linear Programming Feasible Region Construction Example
Loading the math board and drawing, please wait…
2012-06-27 19:35
① This example demonstrates how to graphically solve a linear programming problem by constructing intersecting half‑plane inequalities to obtain a feasible polygon region. ② Core concepts: linear inequalities, feasible region, vertices, objective function, optimization. ③ Construction uses GeoGebra commands Intersect (to find line intersections), Polygon (to draw the feasible region), and TableText (to display optimal values at vertices); objects include coefficient variables a_i, b_i, c_i, points A, B, C, polygons poly1, poly2, and text objects text2‑text7. ④ Suitable for high‑school students and college introductory optimization courses; useful as a teaching aid for linear programming and geometric interpretation of inequalities.

GeoGebra Commands & Parameters

  1. Intersect(b, yAxis) → A
  2. Intersect(b, xAxis) → B
  3. Intersect(xAxis, yAxis) → C
  4. Polygon(A, B, C) → poly1, c, a_3, b_3
  5. Intersect(a, yAxis) → D
  6. Intersect(a, xAxis) → E
  7. Polygon(D, E, C) → poly2, c_3, d, e
  8. TableText({{((((a_1 * "\mathit{w} +") * b_1) * "\mathit{p} \leq") * c_1)}, {((((a_2 * "\mathit{w} +") * b_2) * "\mathit{p} \leq") * c_2)}, {"\mathit{w} \geq0"}, {"\mathit{p} \geq 0"}}, "{") → text11
  9. TableText({{((((((((a_1 * "(") * h) * ")+") * b_1) * "(") * i) * ") \leq") * c_1)}, {((((((((a_2 * "(") * h) * ")+") * b_2) * "(") * i) * ") \leq") * c_2)}, {(h * "\geq0")}, {(i * " \geq 0")}}, "{") → text12
  10. TableText({{((I * " \leq") * c_1)}, {((j * "\leq") * c_2)}, {(h * "\geq0")}, {(i * " \geq 0")}}, "{") → text13

AI Drawing Prompt Reference

Draw a feasible region for a linear programming problem. First, draw lines a and b and find their intersections with the axes to get points A, B, and C, then use these points to draw polygon poly1. Next, draw line c and find its intersections with the axes to get points D, E, and C, then use these points to draw polygon poly2. Finally, add text at appropriate positions to display the inequalities a_1w + b_1p ≤ c_1, a_2w + b_2p ≤ c_2, w ≥ 0, p ≥ 0, h ≤ c_1, j ≤ c_2, h ≥ 0, i ≥ 0.
The prompt above was compiled from the original drawing commands and is for reference only.