resoluciÓn de modelos lineales. algoritmo del simplex ... · algoritmo del simplex • forma...

50
(2.c) RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de las v. básicas en función de las no básicas. Forma tabular. CAMBIO DE BASE CON CONSERVACIÓN DE LA FACTIBILIDAD. Casos singulares. Región no acotada. Cambio degenerado de base. CONCEPTO DE COSTE REDUCIDO. Cambio de base con disminución de la f.obj. Cálculo de los costes reducidos. ALGORITMO DEL SÍMPLEX Forma tabular. Fórmulas matriciales. Ejemplos INICIALIZACIÓN DEL ALGORITMO. (fase 0) Método de las variables artificiales.

Upload: doannhan

Post on 20-Sep-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

(2.c) RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX

• FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de las v. básicas en función de las no básicas. Forma tabular.• CAMBIO DE BASE CON CONSERVACIÓN DE LA FACTIBILIDAD. Casos singulares. Región no acotada. Cambio degenerado de base.• CONCEPTO DE COSTE REDUCIDO. Cambio de base con disminución de la f.obj. Cálculo de los costes reducidos.• ALGORITMO DEL SÍMPLEX Forma tabular. Fórmulas matriciales. Ejemplos• INICIALIZACIÓN DEL ALGORITMO. (fase 0) Método de las variables artificiales.

tresteve
Cap. 3 Luenberger D.G.“Linear and Nonlinear Programming” Addison-Wesley 1984 Cap. 4 Hillier F.S., Lieberman G.J. “Introduction to Operations Research” Holden day Inc. 1986
Page 2: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C Investigación Operativa U P C

FORMA STANDARD DE UN P. P.L.

Tras transformaciones, todo P.P.L. puede expresarse de la forma:

• Todas las variables xi están sujetas a xi ≥ 0, i = 1, 2, … n• Todos los términos de la derecha bi son no negativos: bi ≥ 0, i = 1, 2, … m• La matriz de coeficientes A es de pleno rango:

Hay m columnas de A tales que al formar una matriz B con ellas,ésta es inversible.

( m ≤ n )

Todos los paquetes para P.L. convierten automáticamente a la forma Standard

tresteve
1
Page 3: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I. U P C Investigación Operativa

DEFINICIÓN DE BASE FACTIBLE .

Sistema Ax = b, x ≥ 0

B=

DEFINICIÓN: B es base factible si:

≥0

B es una base asociada al conjunto de índices {1, 4, 5}

tresteve
2
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 4: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C U P C Investigación Operativa

Sistema Ax = b, x ≥ 0

B base asociada a IB = {1, 4, 5}

≥0

tresteve
3
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 5: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

Una estrategia para resolver el P.P.L. consiste en:

1. Determinar si F=∅ .

2. En caso contrario, determinar una s.b.f. (vértice) de F inicial

3. Visitar s.b.f's hasta encontrar una que sea solución de (P)

4. Determinar si la s.b.f. solución es única o existen otrassoluciones.

tresteve
4
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 6: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

En este tema:• Se desarrolla un método para saltar de una s.b.f. a otra vecina. (CONSERVACIÓN DE LA FACTIBILIDAD).

• En cada salto se mejora la función objetivo.

• Se detecta si se alcanza una solución de (P) o bien si elproblema es no acotado.

• Finalmente, se desarrolla un método para encontrar una s.b.f.inicial o bien detectar que F=∅ .

ALGORITMO DEL SÍMPLEX

tresteve
5
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 7: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

B xB + N xN = b

B-1 ( B xB + N xN ) = B-1 b

xB + B-1N xN = B-1 b

xB + Y xN = y0

FORMA CANÓNICA DE UN SISTEMA LINEAL Ax=bRespecto del conjunto de índices IB = {1, 4, 5}

tresteve
forma tabular
tresteve
6
Page 8: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C U P C Investigación Operativa

FORMA CANÓNICA DE UN SISTEMA LINEAL Ax=b

Para el conjunto de índices asociados a una base B, IB={i1, i2 ,… , im}

xB + Y xN = y0

Columnas básicas Columnas no básicas

≥ 0 si B es base factible

tresteve
7
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 9: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diploística U P CInvestigación Operativa

xB (xN) = y0 - Y xNLa forma canónica expresa la dependencia de lasvariables xB respecto de las xN

Para xN = 0, xB(0) = y0; el punto xR = (y0 , 0 ) es un vértice del Poliedro.

Si B es una base factible: xB(0) ≥0;Incrementando xN desde 0 encontraremos otros puntos xB (xN) ≥0.Se incrementa una sola v. No básica. El resto se mantienen a cero

CAMBIO DE BASE CON CONSERVACION DE LA FACTIBLIDAD

x2

x1

IB = {1, 4, 5}

tresteve
8
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 10: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. U P CInvestigación Operativa

x21 2

CAMBIO DE BASE CON CONSERVACION DE LA FACTIBLIDAD

tresteve
9
tresteve
8
tresteve
8
tresteve
5
tresteve
10
tresteve
4
tresteve
9
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 11: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatur U P CInvestigación Operativa

PIVOTACIÓN

tresteve
10
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 12: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C Investigación Operativa

CAMBIO DE BASE CON CONSERVACION DE LA FACTIBLIDADENTRA VARIABLE NO BÁSICA -> SALE VARIABLE BÁSICA

tresteve
11
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 13: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P CInvestigación Operativa

CAMBIO DE BASE CON CONSERVACION DE LA FACTIBLIDADCASOS SINGULARES:

x2

x1

IB = {1, 4, 5}

Incrementando x2 al menos unav. básica crece indef.

Se detecta dirección de crecimiento ilimitado de la regiónfactible

tresteve
12
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 14: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C Investigación Operativa

CAMBIO DE BASE CON CONSERVACION DE LA FACTIBLIDADCASOS SINGULARES:

Se obtiene elmismo punto

tresteve
13
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 15: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P CInvestigación Operativa

tresteve
Calculad las soluciones básicas factibles para el conjunto de restricciones
tresteve
Partiendo de la base
tresteve
14
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 16: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C Investigación Operativa

tresteve
Sale la variable
tresteve
Nueva base
tresteve
15
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 17: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplo U P C Investigación Operativa

x2

x1

tresteve
16
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 18: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C Investigación Operativa

x2

x1

tresteve
Entra
tresteve
Sale
tresteve
17
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 19: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística

U P CInvestigación Operativ

TEMA 2.c

RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX

Semana 2. Sesión 2

• Concepto de coste reducido. Expresión de las v. básicas en función de las no básicas. Cambio de base con disminución de la f.obj. Cálculo de los costes reducidos.

• ALGORITMO DEL SÍMPLEX Forma tabular. Fórmulas matriciales. Ejemplos

tresteve
17
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 20: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomaturaa U P C Investigación Operativ

B xB + N xN = b

B-1 ( B xB + N xN ) = B-1 b

xB + B-1N xN = B-1 b

xB + Y xN = y0

xB (xN) = y0 - Y xN

tresteve
18
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 21: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura U P CInvestigación Operativa

CAMBIOS DE BASE DIMINUYENDO EL VALOR DE LA F.OBJETIVO

Se quieren encontrar las solucionesdel problema de P.L.

tresteve
19
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 22: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de
tresteve
20
tresteve
-
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 23: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C Investigación Operativa

tresteve
21
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 24: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C Investigación Operativa

CÁLCULO DE LOS COSTES REDUCIDOS

tresteve
22
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 25: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de U P C Investigación Operativa

DISPOSICIÓN EN FORMA TABULAR Y FÓRMULAS MATRICIALES.

tresteve
23
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 26: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C I.O.D. Diplomatura de Estadística

tresteve
24
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 27: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C Investigación Operativa

A

B

x1

x2

x3

VÉRTICE A

tresteve
25
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 28: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C Investigación Operativa

x1

x2

x3

VÉRTICE B

VÉRTICE C

BC

ÓPTIMOS ALTERNATIVOS

tresteve
26
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 29: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadístic U P C Investigación Operativa

x1

x2

x3Recorriendo las diferentes basesencontraríamos los puntos C, D, E, F.En todos ellos la f.obj. tiene igualvalor: z* = 220/15.

C

D

E

F

G

Cualquier punto G sobre lacara tendrá igual valor para laf.obj.

( COMPROBADLO)

tresteve
27
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 30: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C Investigación Operativa

EFICACIA DEL ALGORITMO SÍMPLEX

• En el ejemplo anterior se examinan sólo 3 de los 9 vértices delpoliedro.

• Hay ejemplos en los que el algoritmo debe examinarlos TODOS(Klee-Minty, 1972). ⇒ PEOR CASO POSIBLE.

x1

x2

x3

tresteve
28
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 31: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

En los problemas reales con n=nºvar. >> m=nº restr. :

( A = ………….….. )

Nº medio de iteraciones ≈ k m, k entre 1 y 3 !!!!

En la actualidad el SÍMPLEX continúa siendo un algoritmopresente en casi todos los paquetes de soft. para P.L.

EFICACIA DEL ALGORITMO SÍMPLEX

tresteve
29
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 32: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de
tresteve
Óptimo único del problema:
tresteve
Tabla óptima
tresteve
Sale
tresteve
Sale
tresteve
Entra
tresteve
Entra
tresteve
SESIÓN DE PROBLEMAS
tresteve
30
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 33: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C I.O.D. Diplomatura de Estadística

tresteve
SESIÓN DE PROBLEMAS
tresteve
31
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 34: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de
tresteve
SESIÓN DE PROBLEMAS
tresteve
32
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 35: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de
tresteve
33
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 36: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística

U P C Investigación Operativa

Sesión 2.c

RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX

Semana 3.

• ALGORITMO DEL SÍMPLEX (Repaso) Forma tabular. Fórmulas matriciales.

• Inicialización del algoritmo. (fase 0) Objetivos. Detección de problemas infactibles. Método de las variables artificiales. Problema auxiliar. Casos. Ejemplos

tresteve
36
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 37: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C I.O.D. Diplomatura de Estadística

tresteve
37
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 38: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C U P C Investigación Operativaí

IDENTIFICACIÓN DE BASES INICIALES FACTIBLES.

No es posible identificar unabase inicial factible

tresteve
38
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 39: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Dtica U P C Investigación Operativaí i

IDENTIFICACIÓN DE BASES INICIALES FACTIBLES.

VARIABLES ARTIFICIALES Y PROBLEMA AUXILIAR:

Se construye un "problema auxiliar" con las mismas variablesy coeficientes en las restricciones que en el problema original.

Se añaden las variables artificiales (≥ 0):

• Una por cada fila con una variable de exceso.

• Una por cada fila sin variable de exceso ni de holgura.

La función objetivo del problema auxiliar es la suma de lasVariables artificiales.

tresteve
39
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 40: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

I.O.E. Dica Investigación Operativaí i

tresteve
40
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 41: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P CU P C Investigación Operativaí i

Para el problemaauxiliar se obtiene

una base inicialfactible de forma

inmediata

tresteve
41
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 42: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P CU P C

í i

SOLUCIÓN del PROBLEMA AUXILIAR

Casos:

a) El problema auxiliar presenta una solución óptima con lasvariables auxiliares ai = 0

• Se obtiene una base inicial factible para el problema original. ⇒ El problema original tiene REGIÓN FACTIBLE no vacía.

b) El problema auxiliar presenta una solución óptima con algunavariable auxiliar ai > 0

• No se puede hallar base inicial factible para el problema

original. ⇒ El problema original tiene REGIÓN FACTIBLE vacía.

tresteve
42
tresteve
artific.
tresteve
artific.
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 43: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P CU P C

í

RESOLVER

tresteve
43
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 44: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P CU P C

í

tresteve
44
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 45: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P CU P C

í

tresteve
45
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 46: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P C I.O.E. Diplomatura de Estadística U P C I.O.D. Diplomatura de Estadística

tresteve
46
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 47: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P CU P C

í

RESOLVER

tresteve
47
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 48: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P CU P C

í i

tresteve
48
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 49: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

U P CU P C

í i

1/112

tresteve
49
tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa
Page 50: RESOLUCIÓN DE MODELOS LINEALES. ALGORITMO DEL SIMPLEX ... · ALGORITMO DEL SIMPLEX • FORMA CANÓNICA DE UN SISTEMA Ax = b Forma Standard y Base factible (repaso). Expresión de

PRÁCTICA 1Seguimiento de las iteraciones del SÍMPLEX mediante LINDO

MAX 3 X1 + 2 X2 SUBJECT TO 2) 2 X1 + X2 <= 100 3) X1 + X2 <= 80 4) X1 <= 40 END

tresteve
Transparencias de clase. Prof. E.Codina Investigación Operativa