No error nor solution reported

Hi, there

My model is trying to solve the same model by updating one variable U,as in line 196 and 199 in my code:

UR(I,J) = max(0, URP(I,J)+theta*(TF1.L(I,J) - RW(I,J,“Capacity”)))
UH(I,J) = max(0, UHP(I,J)+theta*(TF1.L(I,J) - HW(I,J,“Capacity”)))

When I ran this model, there is no error reported and no solution reported ( not due to infeasibility). The serve status is normal completion. My code is attached here. Any comment is highly appreciated.


MIP_Toll_min_ite.gms (7.21 KB)
MIP_Toll.dat (7.38 KB)

Hi Peyiu

It is not solving the model, because you have at the beginning of the loop iter$count with count equal to zero. So no looping at all.

Set count equal to 1 and it solves fine.

Cheers

Renger



Von: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] Im Auftrag von Peiyu Luo
Gesendet: Samstag, 27. Juni 2015 19:59
An: gamsworld@googlegroups.com
Betreff: No error nor solution reported



Hi, there



My model is trying to solve the same model by updating one variable U,as in line 196 and 199 in my code:



UR(I,J) = max(0, URP(I,J)+theta*(TF1.L(I,J) - RW(I,J,“Capacity”)))

UH(I,J) = max(0, UHP(I,J)+theta*(TF1.L(I,J) - HW(I,J,“Capacity”)))



When I ran this model, there is no error reported and no solution reported ( not due to infeasibility). The serve status is normal completion. My code is attached here. Any comment is highly appreciated.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Hi Peiyu



You have count equal to 0 at the start of the loop, so the loop is not executed because of iter$count.

Set count equal to 1 and the model runs fine.

Cheers

Renger



Von: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] Im Auftrag von Peiyu Luo
Gesendet: Samstag, 27. Juni 2015 19:59
An: gamsworld@googlegroups.com
Betreff: No error nor solution reported



Hi, there



My model is trying to solve the same model by updating one variable U,as in line 196 and 199 in my code:



UR(I,J) = max(0, URP(I,J)+theta*(TF1.L(I,J) - RW(I,J,“Capacity”)))

UH(I,J) = max(0, UHP(I,J)+theta*(TF1.L(I,J) - HW(I,J,“Capacity”)))



When I ran this model, there is no error reported and no solution reported ( not due to infeasibility). The serve status is normal completion. My code is attached here. Any comment is highly appreciated.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.