Escolar Documentos
Profissional Documentos
Cultura Documentos
Éste método añade variables artificiales, que no deben de aparecer en la
solución óptima final
Las variables artificiales dan una solución inicial en forma canónica.
En el óptimo
p todas las variables artificiales
f deben de valer 0.
Se consigue poniendo una alta penalización a las mismas en la función
objetivo, la “gran M”.
Coeficientes de Variables
restricciones LHS artificiales
Coeficientes de
restricciones RHS
Canonical form: Buscamos que todas las variables básicas tengan una columna con un 1 y
el resto de elementos 0.
Luego operamos para tener esta condición en las variables a2 y a3
I iti l tableau
Initial t bl
This (x2) is the variable entering the basis (smallest value < 0).
All reduced costs are greater than 0.0. The objective cannot be decreased by changing
the basis,
basis i.e.,
i e moving to an adjacent corner point.
point We have found the optimum!
10. In this problem, the optimum was reached after the artificial variables were eliminated.
Typically, (many) additional corner points would have to be evaluated using the pivoting
procedure.
procedure
z = 25
3.75 ≤ 4.0
20 ≥ 20
10 = 10
x1 = 5 ≥ 0
x2 = 5 ≥ 0
Problema
En el óptimo:
O la variable es cero (no básica) o el precio dual o el coste reducido es cero.
En el caso de que ambos sean cero:
E i
Existe solución
l ió d degenerada
d sii lla variable
i bl es bá
básica
i
Existen múltiples óptimos si la variable es no básica
• S ibilid d Δz/Δα
Sensibilidad= Δ /Δ con todas
d llas variables
i bl básicas,
bá i xB,
pueden cambiar luego la solución es un nuevo óptimo.
1b
Optimum
V
1 1a
Los valores de x*
cambian!
Variable x1
Δ z = Δ Σccjxj= Σ Δ cj((xj)
= Δ ck(xk)
D d k = ell coeficiente
Donde fi i t cambiado
bi d
Original problem
Optimización de procesos químicos. 2007-2008 DIQUIMA-ETSII
Los valores de las variables en el nuevo óptimo no cambian, al no
variar las restricciones y no cambiar la base. Luego el óptimo es el
mismo punto en el espacio.
El nuevo valor
l objetivo
bj ti se calcula
l l poniendo
i d llos valores
l d
de llas
variables en la nueva función objetivo, dado que cada vez se varía un
coeficiente se puede calcular el cambio en la función objetivo debido
a un cambio en el coeficiente
coeficiente.
En general cambios
en los coeficiente “A”
del LHS, implican
que el problema se
debe resolver de
nuevo
nuevo.
Optimización de procesos químicos. 2007-2008 DIQUIMA-ETSII
Animación análisis sensibilidad
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
Original problem
Optimización de procesos químicos. 2007-2008 DIQUIMA-ETSII
Solution
Diagnosis
PROGRAMACIÓN LINEAL
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
feasible
NO FEASIBLE SOLUTION
• Diagnosis - X2 ≥ 0
feasible
feasible
• Remedial Action -
X1 ≥ 0
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
feasible
NO FEASIBLE SOLUTION
• Diagnosis - At least one
artificial variable in X2 ≥ 0
optimal basis - software feasible
• Remedial Action -
reformulate, if
appropriate X1 ≥ 0
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
UNBOUNDED SOLUTION
• Diagnosis
i i -
Vaariable x2
Increasing profit
• Remedial Action -
Variable x1
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
UNBOUNDED SOLUTION
• Diagnosis
i i - The distance
i to
Vaariable x2
the best adjacent corner Increasing profit
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
• Diagnosis
i i - Optimal
Variable x2
corner points
Shaded area
V
is the feasible
• Remedial Action - region
Variable x1
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
ALTERNATIVE OPTIMA
• Diagnosis 1 - The basis can Increasing profit
Variable x2
corner points
objective.
Shaded area
V
One or more non-basic
O b i is the feasible
region
variables has a zero
marginal cost.
Software does not report Variable x1
warning
Optimización de procesos químicos. 2007-2008 DIQUIMA-ETSII
Solution
Diagnosis
PROGRAMACIÓN LINEAL
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
ALTERNATIVE OPTIMA
• Diagnosis 2 - One or more Increasing profit
Variable x2
corner points
changed without affecting
the objective.
j Shaded area
V
is the feasible
region
An active constraint has a
zero marginal value and
non-zero range (both ways). Variable x1
Constraint rhs can
Software does not report be changed with no
warning
Optimización de procesos químicos. 2007-2008 change to OBJ
DIQUIMA-ETSII
Solution
Diagnosis
PROGRAMACIÓN LINEAL
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
ALTERNATIVE OPTIMA
• Remedial action- We have Increasing profit
Variable x2
corner points
Función objetivo!
Shaded area
V
We lik
W likely
l prefer
f one off th
the is the feasible
region
different sets of x values.
We would like to know all
solutions and select the Variable x1
“best”, using additional
criteria.
Optimización de procesos químicos. 2007-2008 DIQUIMA-ETSII
Solution
Diagnosis
PROGRAMACIÓN LINEAL
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
CONSTRAINT
DEGENERACY: Redundancy
Vaariable x2
2
• Diagnosis -
O ti
Optimum
3
1
• Remedial
R di l A
Action
ti -
Variable x1
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
CONSTRAINT
DEGENERACY: Redundancy
• Remedial action- The
Vaariable x2
2
solution is correct.
O ti
Optimum
The sensitivity information 3
1
is not reliable!
If you need sensitivity
information, introduce the Variable x1
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
CONSTRAINT optimum
x3
DEGENERACY:
• Diagnosis -
x1
• Remedial
R di l A
Action
ti - x2
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
CONSTRAINT optimum
x3
DEGENERACY:
• Diagnosis -
More inequalities are active
((slacks = 0)) than dimension x1
of the problem. x2
Thee LP Simplex
S p e Algorithm
go Weird
We d Events
ve s
CONSTRAINT optimum
x3
DEGENERACY:
• Remedial action - The
solution is correct.
The sensitivity information
is not reliable!
x1
If you need sensitivity x2