Difference between revisions of "Linear Programming"
Jump to navigation
Jump to search
| 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> |
Revision as of 20:59, 16 April 2022
Resources
- Real Python's guide/tutorial
- Five areas of application for Linear Programming Techniques
- Gurobi Optimization Benchmarks page
- Some CPLEX examples
- Github documentation and examples for DOcplex
- Comparison of Gurobi, PuLp and CPLEX
Notes
- 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]