


























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



























Mathematical Programming
Mathematical Programming (Optimization) is the study of problems that seek values to maximize or minimize objective functions under constrains. It is a primary tool of operations research.
A mathematical program can be written as
min(max) f (x 1 , x 2 , · · · , xn) subject to (x 1 , x 2 , · · · , xn) ∈ X ,
where x 1 , x 2 , · · · , xn are the decision variables, f (x) is the ob- jective function, and X is the set of all feasible solutions. For simplicity, sometime we stack the variables up and call it x (vec- tor), i.e.,
x =
x 1 x 2 ... xn
.
Linear Programs
A mathematical programming problem is called a Linear Pro- gram if the objective function f is linear in the decision variable x, the feasible region can be represented by finitely many linear inequalities or equalities, and the decision variable can take both integers and fractional numbers.
A general linear program looks like
min(max) c 1 x 1 + c 2 x 2 + · · · + cnxn subject to a 11 x 1 + a 12 x 2 + · · · + a 1 nxn ≥ (or =, or ≤)b 1 a 21 x 1 + a 22 x 2 + · · · + a 2 nxn ≥ (or =, or ≤)b 2 · · · · · · am 1 x 1 + am 2 x 2 + · · · + amnxn ≥ (or =, or ≤)bm
Notice that usually we don’t consider strict inequalities “<” or “>”.
Recognizing Linear Programs
Consider the following mathematical programs, are they linear programs? (Suppose x’s are decision variables and all other sym- bols are constant)
min α(4x 1 + 5x 2 ) s.t. d 1 x 1 + d 2 x 2 ≥ f c 1 x 1 − c 2 x 2 ≥ 0
min 4 x^21 + 5x 2 s.t. x 1 + x 2 ≥ 2 2 x 1 − x 2 ≥ 0
min 4 x 1 + 5x 2 s.t. x 1 x 2 ≥ 2 2 x 1 − x 2 ≥ 0
min 4 x 1 + 5x 2 s.t. 3 x 1 + 2x 2 ≥ 2 2 x 1 − x 2 ≥ 0 x 1 , x 2 integer min 4 x 1 + 5x 2 s.t. ax 1 + bx 2 ≤ 1 for all (a, b) such that a^2 + b^2 = 1
Back to The Example
max x 1 + x 2 subject to x 1 + 2x 2 ≤ 2 2 x 1 + x 2 ≤ 2 x 1 , x 2 ≥ 0
Objective function: x 1 + x 2. Input data: all the coefficients in the objective function and the constraints (both right-hand side and left-hand side). Decision variables: x 1 and x 2. (0, 0), (1, 0), (0, 1), and (^23 , 23 ) are all feasible solutions. Feasible set: the polygon with the above four points being the vertices. Optimal solution: (^23 , 23 ). Optimal value: 43.
A case study: Reddy Mikks Company
Reddy Mikks produce both interior and exterior paints from two raw materials, M1 and M2, the following table provides the basic data of the problem: raw material per ton of Maximum daily exterior paint interior paint availability(tons) M1 6 4 24 M2 1 2 6 Profit per ton ($1000) 5 4
A market survey indicates that the daily demand for interior paint cannot exceed that for exterior paint by more than 1 ton. Also the maximum daily demand for interior paint is 2 tons. Reddy Mikks wants to determine the optimal product mix of interior and exterior paints that maximizes the total daily profit.
The Formulation
Maximize 5 x 1 + 4x 2 Subject to 6 x 1 + 4x 2 ≤ 24 M1 availability 1 x 1 + 2x 2 ≤ 6 M2 availability − 1 x 1 + x 2 ≤ 1 market limit x 2 ≤ 2 demand limit x 1 , x 2 ≥ 0 nonnegativity constraints
This is a linear program.
Another Case: Ozark Farms
Ozark Farms uses at least 800lb of special feed daily. The special feed is a mixture of corn and soybean meal with the following compositions
lb per lb of feedstuff Feedstuff Protein Fiber Cost($/lb) Corn .09 .02. Soybean meal .60 .06.
The dietary requirements of the special feed are at least 30% protein and at most 5% fiber. Ozark Farms wishes to determine the daily minimum-cost feed mix.
The Formulation
Rearrange the inequalities, we get the following formulation
min. 3 x 1 +. 9 x 2 s.t. x 1 + x 2 ≥ 800
. 21 x 1 +. 30 x 2 ≤ 0 . 03 x 1 −. 01 x 2 ≥ 0 x 1 , x 2 ≥ 0
Again, we get an LP.
Graphical Solution: Feasible Region
Reddy Mikks Case: Feasible Region
Reddy Mikks Case: Feasible Region
Reddy Mikks Case: Optimal Solution
Reddy Mikks Case: Optimal Solution
Some Observations