








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This document introduces the concept of optimization and linear programming problems. It explains the objective function and feasible region, and how they are used to solve optimization problems. The document also provides an example of a plastic cup factory and how linear programming can be used to maximize profit. useful for students studying optimization, linear programming, and related topics.
Typology: Lecture notes
1 / 14
This page cannot be seen from the preview
Don't miss anything!









A mathematical optimization problem is one in which some function is either maximized or minimized relative to a given set of alternatives. The function to be minimized or maximized is called the objective function and the set of alternatives is called the feasible region (or constraint region). In this course, the feasible region is always taken to be a subset of R n (real n-dimensional space) and the objective function is a function from R n^ to R. We further restrict the class of optimization problems that we consider to linear program- ming problems (or LPs). An LP is an optimization problem over R n^ wherein the objective function is a linear function, that is, the objective has the form
c 1 x 1 + c 2 x 2 + · · · + c (^) n x (^) n
for some c (^) i 2 R i = 1,... , n, and the feasible region is the set of solutions to a finite number of linear inequality and equality constraints, of the form
a (^) i 1 x (^) i + a (^) i 2 x 2 + · · · + a (^) in x (^) n b (^) i i = 1,... , s
and a (^) i 1 x (^) i + a (^) i 2 x 2 + · · · + a (^) in x (^) n = b (^) i i = s + 1,... , m.
Linear programming is an extremely powerful tool for addressing a wide range of applied optimization problems. A short list of application areas is resource allocation, produc- tion scheduling, warehousing, layout, transportation scheduling, facility location, flight crew scheduling, portfolio optimization, parameter estimation,....
To illustrate some of the basic features of LP, we begin with a simple two-dimensional example. In modeling this example, we will review the four basic steps in the development of an LP model:
PLASTIC CUP FACTORY A local family-owned plastic cup manufacturer wants to optimize their production mix in order to maximize their profit. They produce personalized beer mugs and champagne glasses. The profit on a case of beer mugs is $25 while the profit on a case of champagne glasses is $20. The cups are manufactured with a machine called a plastic extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic resins to produce while champagne glasses require 12 lbs. per case. The daily supply of plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be produced per hour. At the moment the family wants to limit their work day to 8 hours.
We will model the problem of maximizing the profit for this company as an LP. The first step in our modeling process is to identify and label the decision variables. These are the variables that represent the quantifiable decisions that must be made in order to determine the daily production schedule. That is, we need to specify those quantities whose values completely determine a production schedule and its associated profit. In order to determine these quantities, one can ask the question “If I were the plant manager for this factory, what must I know in order to implement a production schedule?” The best way to identify the decision variables is to put oneself in the shoes of the decision maker and then ask the question “What do I need to know in order to make this thing work?” In the case of the plastic cup factory, everything is determined once it is known how many cases of beer mugs and champagne glasses are to be produced each day.
Decision Variables:
B = # of cases of beer mugs to be produced daily.
C = # of cases of champagne glasses to be produced daily.
You will soon discover that the most di cult part of any modeling problem is identifying the decision variables. Once these variables are correctly identifies then the remainder of the modeling process usually goes smoothly. After identifying and labeling the decision variables, one then specifies the problem ob- jective. That is, write an expression for the objective function as a linear function of the decision variables.
Objective Function:
Maximize profit where profit = 25B + 20C
The next step in the modeling process is to express the feasible region as the solution set of a finite collection of linear inequality and equality constraints. We separate this process into two steps:
understand its robustness, and makes it di cult to modify the model as it evolves. Never be afraid to add more decision variables either to clarify the model or to improve its flexibility. Modern LP software easily solves problems with tens of thousands of variables, and in some cases tens of millions of variables. It is more important to get a correct, easily interpretable, and flexible model then to provide a compact minimalist model. We now turn to solving the Plastic Cup Factory problem. Since this problem is two dimensional it is possible to provide a graphical representation and solution. The first step is to graph the feasible region. To do this, first graph
14
15
13 12
1 4
11 10 9 8
5
6
7
4 3 2 1
2 3 5 6 7 8 9 10 11 12 13 14 15
feasible region
B
optimal value = $
20 B + 12C = 1800
solution B C^ ^ = ^4575
151 B^ +^151 C^ = 8
C
objective normal n = ^2520
1
the line associated with each of the linear inequality constraints. Then determine on which side of each of these lines the feasible region must lie (don’t forget the implicit constraints!). To determine the correct side, locate a point not on the line that determines the constraint (for example, the origin is often not on the line, and it is particularly easy to use). Plug this point in and see if it satisfies the constraint. If it does, then it is on the correct side of the line. If it does not, then the other side of the line is correct. Once the correct side is determined put little arrows on the line to remind yourself of the correct side. Then shade in the resulting feasible region which is the set of points feasible for all of the linear inequalities. The next step is to draw in the vector representing the gradient of the objective function. This vector may be placed anywhere on your graph, but it is often convenient to draw it emanating from the origin. Since the objective function has the form
f (x 1 , x 2 ) = c 1 x 1 + c 2 x 2 ,
the gradient of f is the same at every point in R 2 ;
rf (x 1 , x 2 ) =
c (^1) c (^2)
Recall from calculus that the gradient always points in the direction of increasing function values. Moreover, since the gradient is constant on the whole space, the level sets of f associated with di↵erent function values are given by the lines perpendicular to the gradient. Consequently, to obtain the location of the point at which the objective is maximized we simply set a ruler perpendicular to the gradient and then move the ruler in the direction of the gradient until we reach the last point (or points) at which the line determined by the ruler intersects the feasible region. In the case of the cup factory problem this gives the solution to the LP as