Sie sind auf Seite 1von 4

C=galones de helado de chocolate a producir

V=galones de helado de vainilla a producir


B=galones de helado de banano a producir

MAX=1*C+0.9*V+0.95*B;

[GAL_LECHE]0.45*C+0.50*V+0.40*B<=200;
[LBS_AZUCAR]0.50*C+0.40*V+0.40*B<=150;
[GAL_CREMA]0.10*C+0.15*V+0.20*B<=60;

Global optimal solution found.


Objective value: 341.2500
Infeasibilities: 0.000000
Total solver iterations: 4
Elapsed runtime seconds: 0.13

Model Class: LP

Total variables: 3
Nonlinear variables: 0
Integer variables: 0

Total constraints: 4
Nonlinear constraints: 0

Total nonzeros: 12
Nonlinear nonzeros: 0

Variable Value Reduced Cost (si se aumenta en z será rentable C)


C 0.000000 0.3750000E-01 (disminuiría la utilidad en 0.0375 por
c cada unidad de chocolate producida)
V 300.0000 0.000000
B 75.00000 0.000000

Row Slack or Surplus Dual Price


1 341.2500 1.000000
GAL_LECHE s1 20.00000 0.000000
LBS_AZUCAR s2 0.000000 1.875000
GAL_CREMA s3 0.000000 m=ps 1.000000
Ranges in which the basis is unchanged:

Objective Coefficient Ranges:

Current Allowable Allowable


Variable Coefficient Increase Decrease
C 1.000000 0.3750000E-01 INFINITY
V 0.9000000 0.5000000E-01 0.1250000E-01
B 0.9500000 0.2142857E-01 0.5000000E-01

Righthand Side Ranges:

Current Allowable Allowable


Row RHS Increase Decrease
GAL_LECHE 200.0000 INFINITY 20.00000
LBS_AZUCAR 150.0000 10.00000 30.00000
GAL_CREMA 60.00000 15.00000 3.750000

Das könnte Ihnen auch gefallen