Difference between revisions of "Linear Programming"

From Bitnami MediaWiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
* Simplex algo takes a subset of variables to zero at each iteration--the ''non-basic'' variables; the remaining are the basic variables
 
* Simplex algo takes a subset of variables to zero at each iteration--the ''non-basic'' variables; the remaining are the basic variables
 
* Reduced cost is an indication of how much the objective will change for a unit increase in the variable
 
* Reduced cost is an indication of how much the objective will change for a unit increase in the variable
−
* minimize <math>c^Tx</math> subject to <math> Ax=b, x\geq 0</math>
+
* minimize <math>c^Tx</math> subject to <math> Ax=b, x\geq 0</math>. If y are the dual variables for a given basic solution, the reduced costs are defined as <math> c - y^TA</math>. The basic solution is optimal if <math> c - y^TA \geq 0</math>
 +
* If all reduced costs are non-negative then the objective function can only increase with a change in the variable value and thus the solution when minimizing is optimal
 +
* For large problems, reduced costs can determine if multiple optimal solutions exist. They do when at least one non-basic variable w/ a zero reduced cost exist in an optimal solution (i.e., variables can change w/out affecting objective)
 +
* The '''slack value''' = LHS vs. RHS of a constraint. E.g., constraint is <math>f(x)\leq 100</math>, soln is <math>f(x)=80</math> then the slack value of the constraint is 20. Slack values only exist for non-binding constraints; binding constraints equal their inequalities.
 +
* Primal degeneracy not necessarily dual degenerate.
 +
* Simplex method traverses edges; barrier method starts in the center of the feasible region (interior point?)
 +
===Network Models===
 +
* Composed 2 objects, nodes and edges. Asymmetrically oriented edges are called directed paths. If possible to traverse the network from start to end *
 +
* Transportation problems. Have a set of supply nodes and a set of demand nodes; objective is to minimize the transportation cost from the supply nodes. If all capacities and demands are integers, the decision variables will take integer values.
 +
* Transshipment problems. Intermediate nodes exist in addition to supply and demand nodes.
 +
 
 +
==Creating a Project==

Latest revision as of 20:11, 17 April 2022

Resources[edit]

Notes[edit]

  • Basic solution: solution at a vertex
  • Simplex algo takes a subset of variables to zero at each iteration--the non-basic variables; the remaining are the basic variables
  • Reduced cost is an indication of how much the objective will change for a unit increase in the variable
  • minimize [math]\displaystyle{ c^Tx }[/math] subject to [math]\displaystyle{ Ax=b, x\geq 0 }[/math]. If y are the dual variables for a given basic solution, the reduced costs are defined as [math]\displaystyle{ c - y^TA }[/math]. The basic solution is optimal if [math]\displaystyle{ c - y^TA \geq 0 }[/math]
  • If all reduced costs are non-negative then the objective function can only increase with a change in the variable value and thus the solution when minimizing is optimal
  • For large problems, reduced costs can determine if multiple optimal solutions exist. They do when at least one non-basic variable w/ a zero reduced cost exist in an optimal solution (i.e., variables can change w/out affecting objective)
  • The slack value = LHS vs. RHS of a constraint. E.g., constraint is [math]\displaystyle{ f(x)\leq 100 }[/math], soln is [math]\displaystyle{ f(x)=80 }[/math] then the slack value of the constraint is 20. Slack values only exist for non-binding constraints; binding constraints equal their inequalities.
  • Primal degeneracy not necessarily dual degenerate.
  • Simplex method traverses edges; barrier method starts in the center of the feasible region (interior point?)

Network Models[edit]

  • Composed 2 objects, nodes and edges. Asymmetrically oriented edges are called directed paths. If possible to traverse the network from start to end *
  • Transportation problems. Have a set of supply nodes and a set of demand nodes; objective is to minimize the transportation cost from the supply nodes. If all capacities and demands are integers, the decision variables will take integer values.
  • Transshipment problems. Intermediate nodes exist in addition to supply and demand nodes.

Creating a Project[edit]