Originally posted by: CDN3_Daniel_Cramer
Dear Community,
I got a question in concerning the preprocessing:
I have to initialize a big numeral - and I want to get it before the CPLEX solves the model.
I have different materials, and they have different demands in periods (d
material time).
I want to summarize all demands of each material and "write" it in a vector "MaxValue
material.
execute INITIALIZE
{
for (var k in material)
{
for (var t in time)
{
MaxValue[k] = d[k][t];
}
}
};
Has anybody a tip?
Thanks
#DecisionOptimization#OPLusingCPLEXOptimizer