Linear programming Definition and 114 Threads

Linear programming (LP, also called linear optimization) is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements are represented by linear relationships. Linear programming is a special case of mathematical programming (also known as mathematical optimization).
More formally, linear programming is a technique for the optimization of a linear objective function, subject to linear equality and linear inequality constraints. Its feasible region is a convex polytope, which is a set defined as the intersection of finitely many half spaces, each of which is defined by a linear inequality. Its objective function is a real-valued affine (linear) function defined on this polyhedron. A linear programming algorithm finds a point in the polytope where this function has the smallest (or largest) value if such a point exists.
Linear programs are problems that can be expressed in canonical form as










Find a vector





x







that maximizes






c


T



x







subject to




A

x



b







and





x



0

.






{\displaystyle {\begin{aligned}&{\text{Find a vector}}&&\mathbf {x} \\&{\text{that maximizes}}&&\mathbf {c} ^{T}\mathbf {x} \\&{\text{subject to}}&&A\mathbf {x} \leq \mathbf {b} \\&{\text{and}}&&\mathbf {x} \geq \mathbf {0} .\end{aligned}}}
Here the components of x are the variables to be determined, c and b are given vectors (with





c


T




{\displaystyle \mathbf {c} ^{T}}
indicating that the coefficients of c are used as a single-row matrix for the purpose of forming the matrix product), and A is a given matrix. The function whose value is to be maximized or minimized (




x




c


T



x



{\displaystyle \mathbf {x} \mapsto \mathbf {c} ^{T}\mathbf {x} }
in this case) is called the objective function. The inequalities Ax ≤ b and x ≥ 0 are the constraints which specify a convex polytope over which the objective function is to be optimized. In this context, two vectors are comparable when they have the same dimensions. If every entry in the first is less-than or equal-to the corresponding entry in the second, then it can be said that the first vector is less-than or equal-to the second vector.
Linear programming can be applied to various fields of study. It is widely used in mathematics, and to a lesser extent in business, economics, and for some engineering problems. Industries that use linear programming models include transportation, energy, telecommunications, and manufacturing. It has proven useful in modeling diverse types of problems in planning, routing, scheduling, assignment, and design.

View More On Wikipedia.org
  1. J

    Is it possible to linearize the non-linear equation in this linear programming?

    Have typed the question is latex format, here it is: http://i.stack.imgur.com/grxgI.png
  2. I

    Linear Programming Involving Indices

    Homework Statement A marketing team is given a budget of 30,000 to advertise a new show. It wants to promote this show using two methods, internet and posters. The executives have decided that the overall budget used on the internet can't be greater than double the budget used on posters...
  3. I

    Linear Programming Dealing with Defects?

    Homework Statement The problem goes like this: A man is selling two types of lightbulbs. Lightbulb X costs $1.70, but 9% are defective, and so, cannot be sold. Lightbulb Y costs $0.90, but 12% are defective. The man wants to purchase at least 10 000 lightbulbs of each type, but he wants at...
  4. T

    Linear Programming Problem Based on Weight System

    Homework Statement I've made my own problem here to solve. I'm wondering if it is even possible with linear programming. Basically, I need to designate these parts to certain machines based on 3 different priorities and each of these priorities are weighted arbitrarily. (For example...
  5. N

    Linear Programming Problem Setup

    We were given this problem in a Linear Programming class and asked to define the constraints. Homework Statement max Z = max (xεS) {min {Z1, Z2...Zq}} where Zi=C1ix1 + C2ix2+...+Cnixn Homework Equations Constraints need to be defined to set up the problem. The Attempt at a...
  6. N

    Linear Programming question (I think?)

    Homework Statement This is not a homework question, but it is something I want to work on related to something I volunteer for. Regardless, I did not know where to post this question and this forum was the best place I could think of it. I don't need someone to work it out for me, but what I...
  7. E

    MHB Linear programming maximization

    Who knows solve this problem of linear programming of maximization, explaining me all the steps to reach the solution. total cost to produce the products a,b,c: 100 cost to produce the product a (x)= ? quantity to produce of product a = 5 cost to produce the product b (y)= ...
  8. C

    Linear programming with absolute value objective function

    Homework Statement Minimize |2x1-3x2| subject to x1+x2≤5 -x1+x2≥-1 x1≥0, x2≥0 (a) Solve the problem graphically. (b) Formulate a linear program that could be used to solve the problem. Use software to solve your LP and show how to reconstruct a solution to the original problem...
  9. M

    Strong Duality Theorem in Linear Programming

    If a linear Program (P) has a feasible solution x_{o}, ( x_{o} not necessarily optimal),does it follow that there exists a feasible solution to the dual problem (D) as well? If yes, why? I know that the Strong Duality Theorem guarantees an optimal finite solution to the dual problem if the...
  10. C

    Is the Set C Nonempty and Unbounded for Given Linear Programming Constraints?

    Homework Statement Let C be the set of all points (x,y) in the plane satisfying x≥0, y≥0, -x-2y≤-8. a. Show that C is nonempty and unbounded. b. Prove that the LP problem: Max M=2x+3y subject to the constraint that (x,y) lie in C has no feasible, optimal solution. c. Show that the LP...
  11. C

    Linear programming graph T/F questions

    Homework Statement The shaded area on graph represents the feasible region of a linear programmin problem whose objective function is to be maximized. Label each of the following statements as True or False, and then justify your answer based on the graphical method. In each case, give an...
  12. L

    Linear Programming - Branch and Bound Method

    Homework Statement I'm trying to learn the Branch and Bound method. For that, I need to master the Dual Simplex Method (DSA). I have tried and tried and tried to google examples but can't find any. Does anyone know where I can find any? How do you know the LPP has become infeasible with...
  13. L

    Linear Programming - Separation of points

    This semester while taking Linear Programming (Linear Optimization Models), we talked about using a linear program to separate two sets of points A and B. The general program is: Max d s.t. yA ≥ axA+b+d yB ≤ axB+b-d It can be expanded into finding a polynomial that passes between the...
  14. L

    Linear Programming - Separation of Points

    Homework Statement I made this problem up as an example for a bigger problem I have to do. P = {(-2,4),(1,3)} and Q = {(-1,1),(0,0)}. I need to use linear programming to find the best line to go between them. Homework Equations Max d subject to: y_{i}≥ax_{i}+b+d (for all points above...
  15. E

    Degeneracy in Linear Programming

    Homework Statement Consider the standard form polyhedron {x | Ax = b, x>=0} , and assume that the rows of the matrix A are linearly independent. (a) Suppose that two different bases lead to the same basic solution. Show that the basic solution is degenerate (has less than m non-zero...
  16. A

    Optimizing Mineral Extraction: How Can Linear Programming Help?

    Homework Statement Blacktop refining extracts minerals from ore mined at two different sites in Montana. Each ton of ore type 1 contains 20% copper, 20% zinc, and 15% magnesium. Each ton of ore type 2 contains 30% copper, 25% zinc, and 10% magnesium. Ore type 1 costs 90$ per ton, while ore...
  17. F

    Why Linear Programming at all?

    I am taking Linear Programming and I haven't completed the course yet, but here is my question. I've notice that all these problems could have been solved just as easily with Lagrange multipliers. We got a bunch of linear inequality constraints and an obj function, we can use Lagrange...
  18. Z

    Linear Programming degenerate case

    Homework Statement Choose the number \omega so that the following program has a solution. Then write down the optimal solution. \begin{bmatrix} -1 & 2 & 3 \\ 2 & 3 & 1 \\ -5 & -4 & 1 \end{bmatrix} x = \begin{bmatrix} 1 \\ 5 \\ \omega \end{bmatrix} min=x_2 x\geq 0 Homework...
  19. F

    Matrix theory question (to do with Linear Programming)

    Homework Statement Suppose we have a maximum LOP P max z = c^t x s.t. Ax \leq b x \geq 0 and the dual to P is min w = b^t y A^t y \geq c y \leq 0 Then the bounds are z = c^t x \leq y^t Ax \leq y^t b = b^t y = w question Okay where the heck did y^t Ax came...
  20. F

    More Linear Programming - help

    Homework Statement A small cargo ship leaving Hawaii for London has three holds for cargo. The forward hold has a capacity of 140 tons, and volume of 6,000 cubic feet; the central hold has a capacity of 800 tons, and a volume of 15,000 cubic feet; the aft hold has a capacity of 450tons and...
  21. F

    More Linear Programming - DUality

    Homework Statement Consider the following LOP P: Max z = 3x_1 + x_2 -\frac{1}{2}x_3 s.t. 2x_1 + x_2 + x_3 \leq 8 4x_1 + x_2 - x_3 \leq 10 x_1, x_2, x_3 \geq 0 1) Find a primal solution x and its objective value z = z(x) 2) What is the LOP D that is Dual to P? 3) Find a dual feasible...
  22. F

    Linear Programming - Feasible sets?

    Homework Statement Consider the following LOP K: Max z = 4x_1 + 3x_2 s.t 7x_1 + 6x_2 \leq 42 2x_1 - 3x_2 \geq -6 x_1 \geq 2, x_1 \leq 5, x_2 \geq \frac{1}{2} (a) Decide whether the solution sets are feasible i) x = (3.5, 2.5)^t ii) x = (2.1, 4)^t iii) x = (5,1/2)^t (b) Graph the...
  23. R

    Linear Algebra (Linear Programming) Feasible solutions and extreme points.

    Homework Statement . . . . (c) Find a feasible solution that is not basic. (d) Find a feasible solution that is not an extreme point: justify your answer by using the definition of extreme point. Homework Equations The Attempt at a Solution The whole question is not that...
  24. Z

    Linear Programming double inequalities

    Homework Statement Find the dual of -d \leq Ax-b \leq d x \geq 0; c \cdot x = min where A is mxn matrix and x,d,b \in \mathbb{R}^n Homework Equations dual of canonical is of the form maximize b \cdot y A^{T}y \leq where y \in \mathbb{R}^m The Attempt at a Solution I tried...
  25. R

    Linear Programming - Restating a System as a Canonical Primal

    Homework Statement State the linear system Ax = b as a canonical minimum problem. What is the dual program? Homework Equations The canonical minimum problem is Ax = b, x\geq0, c\bulletx=min.The Attempt at a Solution I'm confused here, in part because there is no objective function...
  26. A

    Formulation of a linear programming model

    Ok, so the title didn't allow me to be too descriptive. Basically, I'm trying to formulate a variant of the time constrained traveling salesman problem. I read a paper "An Exact Algorithm for the Time-Constrained Traveling Salesman Problem" by Edward Baker which formulated this problem of a...
  27. T

    Maximizing Investment Returns w/ Linear Programming

    Homework Statement An investment group has $250,000 to invest. At least 20% must be in municipal bonds, at least 40% in a combination of (electronic firms, aerospace firms, & drug manufacturers), & finally no more than 50% in municipal bonds should be placed in a high-risk, high yield...
  28. V

    How Can a Coffee Company Maximize Profit Using Linear Programming?

    Homework Statement Question (to be solved graphically) ------- A coffee company sells coffee under a "Best blend" label and an "Economy blend" label. Both are blended from three basic grades of coffee: Best blend = 40% A + 40% B + 20 % C Economy = 20% A + 40% B + 40% C The market...
  29. A

    Using Linear Programming to Optimize a New Restaurant

    Linear Programming "Possibility Restaurant" Homework Statement Angela Fox and Zooey Caulfield were food and nutrition majors at State University, as well as close friends and roommates. Upon graduation Angela and Zooey decided to open a French restaurant in Draperton, the small town where the...
  30. S

    3 Variable Linear Programming Question

    Homework Statement Homework Statement Omega Manufacturing Company has excess manufacturing capacity and is considering devoting its excess capacity to product 1,2, and 3. The production process uses three types of machines and the available capacity on the machines is as follows: Milling...
  31. S

    Maximize Profit w/ Linear Programming: Omega Mfg Co

    Homework Statement Omega Manufacturing Company has excess manufacturing capacity and is considering devoting its excess capacity to product 1,2, and 3. The production process uses three types of machines and the available capacity on the machines is as follows: Milling Machine: 550...
  32. K

    Linear Programming Constraints

    I'm trying to minimize a function over a rather complicated surface. I'm using an algorithm that takes an initial guess, finds the tangent plane at that point, minimizes using a linear programming algorithm, then (tries to) project back onto the complicated surface. More specifically, if \xi...
  33. J

    Linear programming - profit maximisation

    Homework Statement I can do most the question, but just get stuck on the final question. Here is the whole question 1. Gordon Ltd makes 2 products, Tennis racquets and badminton racquets, each using the same materials and the same skilled labour. The costs of the products per unit...
  34. M

    Linear Programming Production Line

    I have absolutely no ides where to go from here, I am horrible at this, If you could help me I would appreciate it, I want help doing it, not just answers. Homework Statement You are the owner of a manufacturing plant. We've been hired by Apple to produce iPhone and iPods. Apples pays us $50...
  35. K

    Optimality Condition for Linear Programming Solutions

    Homework Statement A feasible dictionary whose last row reads z = z* + ∑ cjxjdescribes an optimal solution if and only if cj ≤ 0 for all j. Prove or disprove. Homework Equations The Attempt at a Solution It is clear that if all c's are ≤ 0, then the solution is optimal since increasing any of...
  36. S

    Linear Programming Homework: Find Range of x & y, Max y-2x

    Homework Statement Sketch the area that fulfills : x + y ≥ 1 3y ≥ 2x - 1 2y ≤ 3x and find the range of x and y that are restricted. Find the maximum value of y – 2x that satisfies the area above and find also the value of xHomework Equations Line equationThe Attempt at a Solution I've drawn...
  37. P

    How will the new environmental policy affect profits?

    Homework Statement Under current legislation, a company involved in a noxious chemical industry has a permit to pass into the atmosphere a maximum of 1500 units of sulfur dioxide, and a maximum of 1200 units of carbon monoxide each day. A new plant just installed releases 150 units of sulfur...
  38. M

    Solving Linear Programming with Optimal 258

    For the first part (i) i found the optimal solution when x1=180,x2=40 and the optimal is 258. in (II) for the protein we have these 2 functions :PAx1+1.10x2 and 4x1+2x2=700 i found 2.2 and for cyrbohydrate with the functions :PAx1+1.10x2 and 3x1+x2=300 i found 3.3 so the first is...
  39. R

    Linear Programming and Maximization

    Homework Statement AutoIgnite produces electronic ignition systems for automobiles at a plant in Cleveland, Ohio. Each ignition system is assembled from two components produced at AutoIgnite’s plants in Buffalo, New York, and Dayton, Ohio. The Buffalo plant can produce 2000 units of...
  40. S

    Linear Programming Homework: Max Return with $6M & $5M Budget

    Homework Statement Eva, senior analyst, is determining the optimal investment policy for her reality company, 4-Closure Associative. She has a budget of $6 million for year 1 and $5 million for year 2, and each project can be undertaken as a fraction, up to 100%. Her investment...
  41. C

    Simplex Method to Linear Programming

    Solve this LP model using the Simplex method Maximize Z = 10x1 + 12x2 + 7x3 Subject to: 20x1 + 15x2 + 10x3 <= 300 10x1 + 5x2 <= 100 x1 + 2x3 <= 50 The above is my scanned work from one of the assignment files, don't know how to set up tables...
  42. C

    Can State University Maximize Tuition While Meeting SAT Requirements?

    The admissions office at State University wants to develop a planning model for next year's entering freshman class. The university has 4500 available openings for freshmen. Tuition is $8600 for a local student, and $19200 for an overseas student. The university wants to maximize the tuition...
  43. E

    Maximize Weekly Profit for Furniture Manufacturer: Linear Programming Solution

    A furniture manufacturer makes chairs and sofas. Each chair can be sold for a profit of £15 and each sofa for a profit of £5. It takes 4 hours to make the chair and 5 hours to make the sofa. The manufacturer has enough workers to provide 200 hours per week producing the furniture. Customer...
  44. M

    Why is this question for linear programming model?

    I see only one variable there. Could you help me with it? The answer involves several variables. How shall I solve it?
  45. M

    Asking for Linear programming problems

    Hello, I'm studying operations research - linear programming maximization. minimization problems All tasks in my textbook seem to be very easy ( I've transportation, diet ... examples ) Please if anybody knows where I can find more complicated models where you'll need to think which...
  46. S

    Linear programming: simplex question (might belong in precal)

    Homework Statement Original question: The Cut-Right Company sells sets of kitchen knives. The Basic Set consists of 2 utility knives and 1 chef’s knife. The Regular Set consists of 2 utility knives, 1 chef’s knife, and 1 slicer. The Deluxe Set consists of 3 utility knives, 1 chef’s knife...
  47. D

    Linear programming bank assets problem

    I've got this question to do: A bank is attempting to determine where its assets should be invested during the current year. At present $500 million is available for investment in bonds, home loans, car loans, and personal loans. The annual rate of return on each type of investment is known...
  48. H

    Question about linear programming

    basically, let's say i have three linear equations, y1, y2, and y3. assume y1 = ax+b where a and b are constants assume y2 = mx+k where m and k are constants assume y3 = n where n is a constant also, now assume that they all intersect at y1=y1=y3=n. would the area between the...
  49. F

    Linear Programming Problem - Help with Constraints Please

    I have been struggling with Part 3 of this question for some time: Computico Limited, currently operating in the UK, assembles electronic components at its two factories, located at Manchester and London, and sells these components to three major customers. Next month the customers, in units...
  50. F

    Linear programming - incorrect constraints

    Hi, I have been struggling with Part 3 of this question for some time: Computico Limited, currently operating in the UK, assembles electronic components at its two factories, located at Manchester and London, and sells these components to three major customers. Next month the customers, in...
Back
Top