Dear all;

I use GAMS to solve a MIP problem using Cplex.

But finally, it reports that resource limit exceeded although the result is got.

The result is an optimal solution? How can avoid this problem?

Thanks

Hu

At 2011-08-02 06:00:22,“pratik patil” wrote:

Hi guys

thank you for providing some insights on previous post.

Can anyone tell me why following problem occurs in execution:-

This is one of equation:-

overallobjf…Z1 =e= ccu*sum(i,qcu(i)) + chu*sum(j,qhu(j)) +

+ 1200*(qhu(“1”)/(1.2*[dthu(“1”)*42*{dthu(“1”)+ 42}/

2]**0.333))**0.6;

while execution error is : division by 0, and equation listing shows:

overallobjf… Z1 + (0)*dthu(1) - 20*qcu(1) - 20*qcu(2) - (80)*qhu(1)

```
- 80*qhu(2) =E= 0 ; (LHS = UNDF)
```

I know some division by 0 is occurring in second line but all it

contains is variable (qhu(i)) and constants. I can’t figure out why

division by 0 is occurring.

–

To post to this group, send email to gamsworld@googlegroups.com.

To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

\

To post to this group, send email to gamsworld@googlegroups.com.

To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

Hello Hu,

Perhaps you should check your license. The problem might be too large for the Demo version of CPLEX (if you are using Demo version). Otherwise check the users guide for option reslim.

Hope this helps!

On Wed, Aug 3, 2011 at 11:47 AM, èƒ¡è¾‰ wrote:

Dear all;

I use GAMS to solve a MIP problem using Cplex.

But finally, it reports that resource limit exceeded although the result is got.

The result is an optimal solution? How can avoid this problem?

Thanks

Hu

At 2011-08-02 06:00:22,“pratik patil” wrote:

Hi guys

thank you for providing some insights on previous post.

Can anyone tell me why following problem occurs in execution:-

This is one of equation:-

overallobjf…Z1 =e= ccu*sum(i,qcu(i)) + chu*sum(j,qhu(j)) +

+ 1200*(qhu(“1”)/(1.2*[dthu(“1”)*42*{dthu(“1”)+ 42}/

2]**0.333))**0.6;

while execution error is : division by 0, and equation listing shows:

overallobjf… Z1 + (0)*dthu(1) - 20*qcu(1) - 20*qcu(2) - (80)*qhu(1)

```
- 80*qhu(2) =E= 0 ; (LHS = UNDF)
```

I know some division by 0 is occurring in second line but all it

contains is variable (qhu(i)) and constants. I can’t figure out why

division by 0 is occurring.

–

To post to this group, send email to gamsworld@googlegroups.com.

To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

\

To post to this group, send email to gamsworld@googlegroups.com.

To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.