How to formulate Linear Programming Problem?

A Linear Problem is made of an objective function( a linear function of some variable) , a set of constraint on variables and the range of the variable.
Here is an example a linear problem
LP PB example 300x137 How to formulate Linear Programming Problem?We have two useful formulations: Standard and canonical.

Stantard formulation

This formulation use one Matrix A and two vectors b and c.

Matrix A is made of the coefficients of the variables in the set of constraints.

c is made of coefficients of the variable in the objective function.

b is made of the values on the right side of the constraints equations.
LP PB Standard Formulation 300x112 How to formulate Linear Programming Problem?

Canonical Formulation

This formulation is derived from the previous one and use two matrix B and D and two vectors b and c.
This is always true: A = B | D.

B is the first part of the matrix A and is made of basic variable. D is the second part and of course is made of the non basic variables. This image show how to go from the standard form to the canonical one.
LP PB Canonical Formulation 300x94 How to formulate Linear Programming Problem?
[hr]

Example of some Linear Programming Problem in Standard Form

Trnasportation PB Standard Form 300x252 How to formulate Linear Programming Problem? Shortest Path Problem PB Standard Form 300x154 How to formulate Linear Programming Problem?
Min cost flow PB Standard Form 300x186 How to formulate Linear Programming Problem? Knapsack PB Standard Form How to formulate Linear Programming Problem?
Successivo All you need to know about security

Lascia un commento

This site uses Akismet to reduce spam. Learn how your comment data is processed.