Thanks.
Now I know which is the variable that makes the problem not-linear.
The problem is that makes no sence that this variable is not linear. I'm maximizing a mix of parameters with a certain weight.
If I use a variable to mix the parameters and a second one to sum them and maximize then it's not-linear:
VARIABLE: identifier : SKU_score index domain : (a) range : free definition : 0.5*iSKU_vpd(a)+0.5*iSKU_vpdsuc(a); VARIABLE: identifier : Suma_score range : free definition : sum[(a,e),Ubicacion(a,e)*SKU_score(a)];Ubicacion is a binary variable that identifies the selected SKUs; and iSKU_vpd and iSKU_vpdsuc are parameters.
But if I mix both variables into one it works:
VARIABLE: identifier : Sum_score range : free definition : sum[(a,e),Ubicacion(a,e)*{0.5*iSKU_vpd(a)+0.5*iSKU_vpdsuc(a)}] ;Any clues?
I could do it all in one huge variable (I have many parameters to mix) but then it wouldn't easy to modify.
Thanks,
Mauro.
On Wednesday, July 18, 2012 2:11:08 PM UTC-3, Sergio Bruno wrote:
change the problem type in your Mathematical Problem identifier. It is probably set to Automatic right now