I need help to fix these errors in my model
Posted: Sun Nov 19, 2023 10:34 pm
DemandaSatisfecha(j, m).. sum(j, Demanda(j, m) + I(j, m-1)) =g= Demanda(j, m) + I(j, m-1);
**** $125
**** 125 Set is under control already
99
100 ProduccionIgualSuministro(j, m).. Produccion(j, m) =e= sum(j, X(j, j, m) + I(j, m-1));
**** $125
**** 125 Set is under control already
101
102 Model GasNaturalTransporte /all/;
103
104 Parameter
105 costos(j, m);
106
107 Solve GasNaturalTransporte Using MIP Minimizing sum((j, m), Costo(j, m)*I(j, m) + sum(h$(ord(h) ne ord(j)), Transporte(j, h)*X(j, h, m)));
**** $2 $243,257,409
**** 2 Identifier expected
**** 243 Objective is not a variable
**** 257 Solve statement not checked because of previous errors
**** 409 Unrecognizable item - skip to find a new statement
**** looking for a ';' or a key word to get started again
**** $125
**** 125 Set is under control already
99
100 ProduccionIgualSuministro(j, m).. Produccion(j, m) =e= sum(j, X(j, j, m) + I(j, m-1));
**** $125
**** 125 Set is under control already
101
102 Model GasNaturalTransporte /all/;
103
104 Parameter
105 costos(j, m);
106
107 Solve GasNaturalTransporte Using MIP Minimizing sum((j, m), Costo(j, m)*I(j, m) + sum(h$(ord(h) ne ord(j)), Transporte(j, h)*X(j, h, m)));
**** $2 $243,257,409
**** 2 Identifier expected
**** 243 Objective is not a variable
**** 257 Solve statement not checked because of previous errors
**** 409 Unrecognizable item - skip to find a new statement
**** looking for a ';' or a key word to get started again