Division by Zero
#2

If there is a divide by zero, some calculations have undefined values, and GAMS can thus not proceed to solving the model.

S_COM_FR is a multiplier for COM_FR, and I suspect that the divide by zero is caused by S_COM_FR being defined also at some timeslices having a zero COM_FR value.  Therefore, if you have defined any such  S_COM_FR, try removing these unnecessary multipliers. A zero value cannot be multiplied to get anything but zero anyway.

Let me know if this helps...

Reply


Messages In This Thread
Division by Zero - by Pernille.S - 17-09-2015, 06:36 AM
Division by Zero - by Antti-L - 17-09-2015, 07:56 AM
Division by Zero - by Pernille.S - 17-09-2015, 08:11 AM
Division by Zero - by Antti-L - 17-09-2015, 08:28 AM
Division by Zero - by Pernille.S - 17-09-2015, 08:53 AM
Division by Zero - by Antti-L - 17-09-2015, 09:01 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)