[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: [Help-glpk] xmalloc: no memory available

**From**: |
Andrew Makhorin |

**Subject**: |
Re: [Help-glpk] xmalloc: no memory available |

**Date**: |
Tue, 25 Dec 2007 01:51:20 +0300 |

>* '--check' doesn't change anything.*
>* Model has been successfully generated*
>* xmalloc: no memory available*
This may only mean that the translator successfully generated the
model, however, there was not sufficient memory to transform the
generated model to the glpk problem object.
Is it expected that the model has large size? "Large" means here
that the model has more than 100,000 variables and constraints and
more than 500,000 non-zero constraint coefficients. If so, you need
more memory. If not, there is something wrong in the model; try to
check it on data of smaller size.
>* I'll not give you all my model. Actually, I could give it to you but I*
>* don't want you to optimize it because it is a part of my school work and*
>* I don't want to cheat ;) (until I could find alone)*
>* by the way, this constraint is the problem :*
>* subject to cont7 {i in 1..nbjob, j in 1..nbopparjob[i], k in*
>* 1..nbmachines, t in 1..BS-1} :*
>* tpsopparjob[i,j]*(x[i,j,k,t]-x[i,j,k,(t+1)])+sum{l in 1..nbmachines, r*
>* in (t+2)..BS}x[i,j,l,r]<=tpsopparjob[i,j];*
>* x is a var and everything else are parameters.*
>* But, actually, what I really want to do is :*
>* subject to cont7 {i in 1..nbjob, j in 1..nbopparjob[i], k in*
>* 1..nbmachines, t in 1..BS-1} :*
>* if (x[i,j,k,t]-x[i,j,k,(t+1)] == 1) then tpsopparjob[i,j]+sum{l in*
>* 1..nbmachines, r in (t+2)..BS}x[i,j,l,r]<=tpsopparjob[i,j];*