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
Best answer by mateusarakawa
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.
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.