# Selected topics in finite mathematics/Linear programming

Appearance

Linear programming is...

## Objectives

[edit | edit source]- To find the maximum or minimum value of a linear expression given linear constraints
- Understand the terms objective and constraint.
- Be able to draw a mixture chart and write down the objective and constraints when given a word problem.

## Details

[edit | edit source]

In an optimization problem, the **objective** is the mathematical expression for the factor you want to optimize. (Typically an optimization problem will have only one objective)

An example of an objective could be x+3y
A **constraint** is an equation which must be satisfied in the optimization problem.

An optimization problem generally has multiple constraints and one objective, which is the mathematical expression to optimize.

A point that fits all the constraints is called **feasible**.
When working on an optimization problem, the first step is to graph the feasible region.
In an optimization problem, one of the corner points of the feasible region graph will be the maximum.

Steps to solve a linear program:

- Create mixture chart
- Find constraints
- Graph the feasible region
- Find the corner points
- Take the best one (optimal point)

## Examples

[edit | edit source]- A shop sells t-shirts for $20 each and jeans for $70 each and wants to maximize profit. The objective would be written 20
*x*+ 70*y*. The variable*x*represents the number of t-shirts and*y*represents the number of jeans. - A farm can grow several different plants on a field (say p1, p2, and p3). With each plant is a unit cost (say c1, c2, and c3). They farm only has d dollars to spend, but has a unit revenue of r1, r2, and r3. The objective would then be
*(r1-c1)p1+(r2-c2)p2+(r3-c3)p3*subject to the constraints*p1, p2, p3>=0*and*c1r1+c2r2+c3r3<=d*