GAMS Rev 240 WEX-WEI 24.0.2 x86_64/MS Windows 05/02/13 11:29:16 Page 3 NewsBoy Include File Summary SEQ GLOBAL TYPE PARENT LOCAL FILENAME 1 1 INPUT 0 0 C:\Users\admin\Documents\gamsdir\projd ir\Test1.gms 2 1 FUNCLIBIN 1 1 stodclib COMPILATION TIME = 0.000 SECONDS 3 Mb WEX240-240 Feb 14, 2013 GAMS Rev 240 WEX-WEI 24.0.2 x86_64/MS Windows 05/02/13 11:29:16 Page 4 NewsBoy Equation Listing SOLVE Test1 Using MINLP From line 66 ---- cost =E= Kostenfunktion cost.. (0)*q(P1) + (0)*q(P2) + z + (5.7786669561197)*x(P1) + (5.78953750584959)*x(P2) =E= 0 ; (LHS = 0) ---- rest =L= Restriktion rest.. (0)*q(P1) + (0)*q(P2) + (0)*x(P1) + (0)*x(P2) =L= 16 ; (LHS = 0) ---- anz =E= AnzProd anz.. x(P1) + x(P2) =E= 2 ; (LHS = 0, INFES = 2 ****) GAMS Rev 240 WEX-WEI 24.0.2 x86_64/MS Windows 05/02/13 11:29:16 Page 5 NewsBoy Column Listing SOLVE Test1 Using MINLP From line 66 ---- q Bestellmenge q(P1) (.LO, .L, .UP, .M = 0, 0, +INF, 0) (0) cost (0) rest q(P2) (.LO, .L, .UP, .M = 0, 0, +INF, 0) (0) cost (0) rest ---- z Gewinn z (.LO, .L, .UP, .M = -INF, 0, +INF, 0) 1 cost ---- x xval x(P1) (.LO, .L, .UP, .M = 0, 0, 1, 0) (5.7787) cost (0) rest 1 anz x(P2) (.LO, .L, .UP, .M = 0, 0, 1, 0) (5.7895) cost (0) rest 1 anz **** **** 2 Integer +INF Bounds have been reset to 100 **** GAMS Rev 240 WEX-WEI 24.0.2 x86_64/MS Windows 05/02/13 11:29:16 Page 6 NewsBoy Model Statistics SOLVE Test1 Using MINLP From line 66 MODEL STATISTICS BLOCKS OF EQUATIONS 3 SINGLE EQUATIONS 3 BLOCKS OF VARIABLES 3 SINGLE VARIABLES 5 NON ZERO ELEMENTS 11 NON LINEAR N-Z 8 DERIVATIVE POOL 10 CONSTANT POOL 24 CODE LENGTH 65 DISCRETE VARIABLES 4 GENERATION TIME = 0.000 SECONDS 4 Mb WEX240-240 Feb 14, 2013 EXECUTION TIME = 0.000 SECONDS 4 Mb WEX240-240 Feb 14, 2013 GAMS Rev 240 WEX-WEI 24.0.2 x86_64/MS Windows 05/02/13 11:29:16 Page 7 NewsBoy Solution Report SOLVE Test1 Using MINLP From line 66 S O L V E S U M M A R Y MODEL Test1 OBJECTIVE z TYPE MINLP DIRECTION MAXIMIZE SOLVER DICOPT FROM LINE 66 **** SOLVER STATUS 1 Normal Completion **** MODEL STATUS 8 Integer Solution **** OBJECTIVE VALUE -7.1744 RESOURCE USAGE, LIMIT 0.047 1000.000 ITERATION COUNT, LIMIT 13 2000000000 EVALUATION ERRORS 0 0 ------------------------------------------------------------------ Dicopt Feb 14, 2013 24.0.2 WEX 38380.38394 WEI x86_64/MS Windows ------------------------------------------------------------------ Aldo Vecchietti and Ignacio E. Grossmann Engineering Design Research Center Carnegie Mellon University Pittsburgh, Pennsylvania 15213 ------------------------------------------------------------------ CONOPT 3 Feb 14, 2013 24.0.2 WEX 38380.38394 WEI x86_64/MS Windows C O N O P T 3 version 3.15I Copyright (C) ARKI Consulting and Development A/S Bagsvaerdvej 246 A DK-2880 Bagsvaerd, Denmark The model has 5 variables and 3 constraints with 11 Jacobian elements, 8 of which are nonlinear. The Hessian of the Lagrangian has 2 elements on the diagonal, 2 elements below the diagonal, and 4 nonlinear variables. ** Optimal solution. Reduced gradient less than tolerance. CONOPT time Total 0.032 seconds of which: Function evaluations 0.001 = 3.1% 1st Derivative evaluations 0.000 = 0.0% IBM ILOG CPLEX Feb 14, 2013 24.0.2 WEX 38380.38394 WEI x86_64/MS Windows Cplex 12.5.0.0 Unable to load names. MIP status(101): integer optimal solution Cplex Time: 0.01sec (det. 0.02 ticks) Fixing integer variables, and solving final LP... Fixed MIP status(1): optimal Cplex Time: 0.00sec (det. 0.00 ticks) Proven optimal solution. MIP Solution: 13.197397 (1 iterations, 0 nodes) Final Solve: 13.197397 (0 iterations) Best possible: 13.197397 Absolute gap: 0.000000 Relative gap: 0.000000 --- DICOPT: Setting up next NLP CONOPT 3 Feb 14, 2013 24.0.2 WEX 38380.38394 WEI x86_64/MS Windows C O N O P T 3 version 3.15I Copyright (C) ARKI Consulting and Development A/S Bagsvaerdvej 246 A DK-2880 Bagsvaerd, Denmark ** Optimal solution. There are no superbasic variables. CONOPT time Total 0.002 seconds of which: Function evaluations 0.000 = 0.0% 1st Derivative evaluations 0.000 = 0.0% --- GMO Resort Time 0ms IBM ILOG CPLEX Feb 14, 2013 24.0.2 WEX 38380.38394 WEI x86_64/MS Windows Cplex 12.5.0.0 Unable to load names. MIP status(103): integer infeasible Cplex Time: 0.00sec (det. 0.01 ticks) Problem is integer infeasible. --- DICOPT: Stopped on infeasible MIP The search was stopped because the last MIP problem was infeasible. DICOPT will not be able to find a better integer solution. --- DICOPT: Best integer solution found: -7.174443 LOWER LEVEL UPPER MARGINAL ---- EQU cost . . . 1.000 ---- EQU rest -INF 16.000 16.000 . ---- EQU anz 2.000 2.000 2.000 . cost Kostenfunktion rest Restriktion anz AnzProd ---- VAR q Bestellmenge LOWER LEVEL UPPER MARGINAL P1 . 16.000 +INF -0.899 P2 . . +INF 2.889 LOWER LEVEL UPPER MARGINAL ---- VAR z -INF -7.174 +INF . z Gewinn ---- VAR x xval LOWER LEVEL UPPER MARGINAL P1 . 1.000 1.000 -1.385 P2 . 1.000 1.000 -5.790 **** REPORT SUMMARY : 0 NONOPT 0 INFEASIBLE 0 UNBOUNDED 0 ERRORS EXECUTION TIME = 0.000 SECONDS 2 Mb WEX240-240 Feb 14, 2013 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\admin\Documents\gamsdir\projdir\Test1.gms Output C:\Users\admin\Documents\gamsdir\projdir\Test1.lst