planificacion plantilla
Lst
GAMS Rev 240 WEX-WEI 24.0.2 x86_64/MSWindows 03/22/13 13:16:26 Page 1
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
C o m p i l a t i o n
1 VARIABLES X1,X2,P1,P2,F;
2
3 POSITIVE VARIABLESX1,X2,P1,P2;
4
5 EQUATIONS OBJ,RES1,RES2;
6 OBJ.. F =E= 200*X1-2*P1*X1+300*X2-3*P2*X2;
7 RES1.. 65*X1+80*X2 =L= 3000;
8 RES2.. 8*X1 =E= X2;
9
10 MODEL EJER1/ALL/;
11
12 SOLVE EJER1 USING LP MAXIMIZING F;
**** $56,256
**** The following LP errors were detected in model EJER1:
**** 56 equation OBJ.. VAR operandsfor *
**** 56 equation OBJ.. VAR operands for *
GAMS Rev 240 WEX-WEI 24.0.2 x86_64/MS Windows 03/22/13 13:16:26 Page 2
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 mError Messages
56 Endogenous operands for * not allowed in linear models
256 Error(s) in analyzing solve statement. More detail appears
Below the solve statement above
**** 2 ERROR(S)0 WARNING(S)
COMPILATION TIME = 0.032 SECONDS 2 Mb WEX240-240 Feb 14, 2013
USER: GAMS Development Corporation, Washington, DC G871201/0000CA-ANY
Free Demo,...
Regístrate para leer el documento completo.