Originally posted by: gargius
Hallo,
I have following question:
I try to calculate an average value in the objective function. The numerator consists of 2 decision variables and the denominator consists of a number which is not known before optimization, so it is a decision variable too.
(sum(<i,q,group1,group2> in Cars)
(Procurement[<i,q,group1,group2>]+Procurement[<i,q,group1,group2>]))
/
(sum(<i,q,group1,group2> in Cars,<i,q,k,c,t,group1,group2> in Alloc) Allocations[<i,q,k,c,t,group1,group2>] )
CPLEX states the error "IloAlgorithm cannot extract extractable".
I think this occurs because of the quadratic nature of this term. But I think the wish to calculate an average value is nothing which is uncommon. Has anybody an idea too solve this problem?
Thanks in advance
Regards
#DecisionOptimization#OPLusingCPLEXOptimizer