Tarea 1 Siulacion

Páginas: 2 (382 palabras) Publicado: 2 de octubre de 2012
model:
MAX = 0*x11+12*x12+20*x13+18*x14+12*x21+0*x22+8*x23+6*x24+20*x31+8*x32+0*x33*6*x34+18*x41+6*x42+6*x43+0*x44;
x11+x21+x31+x41>=1;x12+x22+x32+x42>=1;
x13+x23+x33+x43>=1;
x14+x24+x34+x44>=1;

x11-y1<=0;
x12-y1<=0;
x13-y1<=0;
x14-y1<=0;

x21-y2<=0;x22-y2<=0;
x23-y2<=0;
x24-y2<=0;

x31-y3<=0;
x32-y3<=0;
x33-y3<=0;
x34-y3<=0;

x41-y4<=0;
x42-y4<=0;x43-y4<=0;
x44-y4<=0;

y1=0;
y2=1;
y3=0;
y4=0;

end

model:
MAX =0*x11+12*x12+20*x13+18*x14+12*x21+0*x22+8*x23+6*x24+20*x31+8*x32+0*x33*6*x34+18*x41+6*x42+6*x43+0*x44;
x11+x21+x31+x41>=1;
x12+x22+x32+x42>=1;
x13+x23+x33+x43>=1;
x14+x24+x34+x44>=1;

x11>=0;x12>=0;
x13>=0;
x14>=0;

x21>=0;
x22>=0;
x23>=0;
x24>=0;

x31>=0;
x32>=0;
x33>=0;
x34>=0;

x41>=0;x42>=0;
x43>=0;
x44>=0;

x11<=1;
x12<=1;
x13<=1;
x14<=1;

x21<=1;
x22<=1;
x23<=1;
x24<=1;

x31<=1;x32<=1;
x33<=1;
x34<=1;

x41<=1;
x42<=1;
x43<=1;
x44<=1;

end

x11+x21+x31+x41>=1
x12+x22+x32+x42>=1x13+x23+x33+x43>=1
x14+x24+x34+x44>=1
x11-y1<=0
x12-y1<=0
x13-y1<=0
x14-y1<=0
x21-y2<=0
x22-y2<=0
x23-y2<=0x24-y2<=0
x31-y3<=0
x32-y3<=0
x33-y3<=0
x34-y3<=0
x41-y4<=0
x42-y4<=0
x43-y4<=0
x44-y4<=0
y1=0
y2=1
y3=0
y4=0
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Tarea 1
  • tarea 1
  • Tarea 1
  • Tarea 1
  • TaREA 1
  • Tarea 1
  • Tarea 1
  • Tarea 1

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS