MODELO BINARIO EXCURSIONISTA (MIP)
Enviado por Rebecca • 2 de Enero de 2019 • 737 Palabras (3 Páginas) • 313 Visitas
...
LIMITE.. 40*LINT + 50*SACO + 30*COCINA + 10*MANTA + 10*COMIDA + 40*ROPA + 30*VARIOS =L= 100;
MODEL MOCHILA /ALL/;
SOLVE MOCHILA USING LP MAXIMIZING Z;
MODEL STATISTICS
BLOCKS OF EQUATIONS 2 SINGLE EQUATIONS 2
BLOCKS OF VARIABLES 8 SINGLE VARIABLES 8
NON ZERO ELEMENTS 15
GENERATION TIME = 0.438 SECONDS 3 MB 24.8.5 r61358 WEX-WEI
EXECUTION TIME = 0.438 SECONDS 3 MB 24.8.5 r61358 WEX-WEI
GAMS 24.8.5 r61358 Released May 10, 2017 WEX-WEI x86 64bit/MS Windows 05/20/17 01:15:47 Page 5
G e n e r a l A l g e b r a i c M o d e l i n g S y s t e m
Solution Report SOLVE MOCHILA Using LP From line 15
S O L V E S U M M A R Y
MODEL MOCHILA OBJECTIVE Z
TYPE LP DIRECTION MAXIMIZE
SOLVER CPLEX FROM LINE 15
**** SOLVER STATUS 1 Normal Completion
**** MODEL STATUS 3 Unbounded
**** OBJECTIVE VALUE 200.0000
RESOURCE USAGE, LIMIT 0.282 1000.000
ITERATION COUNT, LIMIT 1 2000000000
IBM ILOG CPLEX 24.8.5 r61358 Released May 10, 2017 WEI x86 64bit/MS Windows
Cplex 12.7.1.0
Space for names approximately 0.00 Mb
Use option 'names no' to turn use of names off
LP status(4): unbounded or infeasible
Cplex Time: 0.00sec (det. 0.00 ticks)
Presolve found the problem infeasible or unbounded.
Rerunning with presolve turned off and solving with LPMETHOD=0
LP status(2): unbounded
Cplex Time: 0.25sec (det. 0.00 ticks)
Model has an unbounded ray.
**** ERRORS/WARNINGS IN VARIABLE COCINA
1 error(s): Unbounded variable
LOWER LEVEL UPPER MARGINAL
---- EQU OBJ . . . 1.000
---- EQU LIMITE -INF 100.000 100.000 2.000
LOWER LEVEL UPPER MARGINAL
---- VAR LINT -INF . +INF -40.000
---- VAR SACO -INF . +INF -20.000
---- VAR COCINA -INF . +INF -50.000 UNBND
---- VAR MANTA -INF . +INF -10.000
---- VAR COMIDA -INF . +INF -16.000
---- VAR ROPA -INF . +INF -60.000
---- VAR VARIOS -INF 3.333 +INF .
---- VAR Z -INF 200.000 +INF .
**** REPORT SUMMARY : 0 NONOPT
0 INFEASIBLE
1 UNBOUNDED (UNBND)
EXECUTION TIME = 0.000 SECONDS 2 MB 24.8.5 r61358 WEX-WEI
USER: GAMS Development Corporation, Washington, DC G871201/0000CA-ANY
Free Demo, 202-342-0180, sales@gams.com, www.gams.com DC0000
**** FILE SUMMARY
Input C:\Users\JOAN\Documents\gamsdir\projdir\TRABAJO BINARIO.gms
Output C:\Users\JOAN\Documents\gamsdir\projdir\TRABAJO BINARIO.lst
...