2 | review linear programming, metabolic model Flashcards
s.t. meaning
subject to
Linear programming?
In many practical situations, we are interested in finding the best (= optimal) solution that determines how much of some limited resources are to be used to achieve a given goal (of objectives).
Mathematical programming provides algorithms to find optimal solutions.
Mathematical programming has different flavors The simplest is linear programming requires that all mathematical functions used in the model are linear
LP standard form?
max π§ = β1β€πβ€ππππ₯π
s.t.
β1β€πβ€π ππππ₯π β€ ππ for 1 β€ π β€ π
π₯π β₯ 0, 1 β€ π β€ π
Steps to develop an LP model?
- Specify the decision variables
- Determine the objective of the problem and describe it by a criterion function in terms of the decision variables.
- Find out the constraints.
- Do the analysis which should lead to the selection of values for the decision variables that optimize the criterion function while satisfying all the constraints imposed on the problem.
Product Mix Problem:
Two products: I / II
Storage (m2): 4 / 5
Raw material (kg/unit): 5 / 3
Production rate (unit/hr): 60 / 30
Selling price (euro/unit): 13 / 11
The total available storage space is 1500 m2
The total amount of raw material is 1575 kg
Maximum 7 hrs can be used for production
Write down the LP model!
max π§ = 13π₯1 + 11π₯2
s.t.
4π₯1 + 5π₯2 β€ 1500
5π₯1 + 3π₯2 β€ 1575
π₯1 + 2π₯2 β€ 420
π₯1 β₯ 0
π₯2 β₯ 0
Graphically, what does an inequality define? How do you check this?
An inequality defines a half-plane (area bounded by a straight line)
To check which half: enter any point to the inequality and see if itβs true - if so itβs this side.
LP - feasible region?
Feasible region or feasible solution space:
comprises all points (π₯1, π₯2) that satisfies all constraints (recall the solution of linear equalities and intersection)
Hence, the optimal solution must lie in this region!
LP - Three types of points in a feasibility region?
interior points are points in the feasibility region that do not lie on the lines determining the feasibility region
boundary points are points in the feasibility region that lie on the lines determining the feasibility region
extreme points are points in the feasibility region that are the ends of the segments determining the feasibility region
LP - how to find the optimal solution graphically?
Check each exteme point for the best value.
LP - multiple solutions?
An LP problem can have multiple solutions
This is the case when the objective is parallel to one of the constraints β infinitely many optimal solutions
The Simplex Method - when is it needed?
requirements?
When there are more than two decision variables the graphical method
is not tractable.
The Simplex method is not used to examine all feasible solutions.
It deals only with a small and unique set of feasible solutions
the set of extreme points (vertex points)
of the convex feasible region
that contains the optimal solution.
The Simplex Method
convex feasible region?
A feasible region is convex if the line connecting any two points in the region is fully contained in the region!
The Simplex Method
Steps?
- Locate an extreme point of the feasible region.
- Examine each boundary edge intersecting at this point to see whether movement along any edge increases the value of the objective function.
- If the value of the objective function increases along any edge, move along this edge to the adjacent extreme point. If several edges indicate improvement, the edge providing the greatest rate of increase is selected.
- Repeat steps 2 and 3 until movement along any edge no longer increases the value of the objective function.
Simplex method: basic variable?
Basic variable is a variable isolated in a constraint that can be set to the right-hand side of that constraint.
All other variables are non-basic