Está en la página 1de 1

option optcr=0;

$title 4ejercicio

$ontext

Max z= 71,5A+ 69B- (200(5%A+5%B)+80(5%A+10%B)+160(10%A+5%B)+ 80%(A+B)+15)

Max z= 33.5 A+ 35 B

Sujeto a:

5%A+5%B<=1100

5%A+10%B<=1800

10%A+5%B<=2000

$offtexMSDt

variables

xa, Xb, z;

positive variables

xa, xb;

equations funcioNMHBVKGCHGnob, r1, r2, r3;

funcionob.. z=e= 33.5*xa+ 35*xb;

r1.. 0.05*xa+0.05*xb =l=1100;

r2.. 0.05* VFXVGHBLxa+0.1*xb =l=1800;

r3.. 0.1*xa+0.05*xb =l=2000;

model ejerciciocuatro /all/;

solve ejerciciocuatro USING LP MAXIMIZING z;

También podría gustarte