Skip to main content
Dear,



In the attached model, you should only run the procedure ReadFromExcel. This should load all the relevant sets and parameters.



When I try to solve this model, I encounter different memory errors. I either see:




  • Memory allocation error
  • Memory allocation error: while assigning "xxx" bytes

Are there any steps that I could take with regards to the index domain of some parameters, constraints or variables, such that this model becomes solvable? I think there are no other errors in my model, but would also like to double check this.



Kind regards,



Koen
Hi, @KoenV .



For instance, you are creating the variable "Production Allocation" for every f,p and t. Maybe you could control it by using the parameter ProductionCapability, i.e, you will only allocate memory for every (p,f) where f has capability of doing p.







Hope it helps.
Hi @KoenV would you mind to let us know how it worked out? Thanks!

Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator