Week 2 Flashcards
How do you model that x is less than 0.75 of the total
x/(x+y) <= 0.75
or x < (0.75*(x+y))
How do you know if a function is a linear program
whne all the constrains and objective function can be modelled with a line
Whenever you have a changing variable/decision variable that is squared or cubed or…. or square rooted
it is a NON LINEAR program
Can you divide by a decision variable
NO!
Is (x/(x+y)) Linear or not?
NON LINEAR
but… you can make it like this:
x < (0.75*(x+y))
3 elements of linearity
Additivity
Proportionality
Divisible
What makes an LP Linear?
The shaded area where all constraints are satisifeid
feasible region
What is the objective?
The function you want to maximize!! Z=x+y
BASICALLY you draw this on the plane and push it outwards!!! until you hit a corner point
If the function is non linear, then how do you solve?
Well.. its challenging because you need to do calc to find the optimal point
Types of LP: Allocation
Covering
Set covering
Blending
Aggregate Planning
Network
distributing a resource (usually maxing profit)
minimizing a cost, but there is a cosntraint
each member of set 1 must be covered by set 2
Blending: may be maxing or mining, some sort of proportion requirement added to the constraint
agg:
nw:
Set Covering
MAKE THE TABLE!!!!
SolverSolve true= NO DIALOG
Solver Solve False= Dialog
3 features of linearity
ADDITIVITY: contribution from one decision gets added/subtracted from other decisions
PROPORTIONALITY: contribution of any given decision grows in proportion to value of corresponding decision variable
DIVISIBLE: a fraction decision variable is meaninful
If your objective is non linear
Then it is hard to find an optimal point along the curve!
What if your constraints were not linear
once again hard to find optimal point along curve
6 LPS
allocation
covering
set covering
blending
aggregate planning
network
Allocation
maxing profit based on resource constriants
RESOURCES ARE NOT DV! THE ALLOCATION IS DV
Covering
mining an objective (Cost) subject to benefit constraints on required coverage
Set Covering
member of agiven set must be covered by acceptable member of another set
Blending
may be maxing/mining prob with twist of some proporation requiriments to constraints
Agg planning
determmine workforce levels and prod levels for multiperiod time horizon
e.g. determining hiring of new employees
Network
product people or funds flow throuhg a netowkr of nodes connceted by arcs
In solver sensitivity, waht does allowable increase and decrease man?
it means that you can change the coefficients by x amount without changing the optial solution