Originally posted by: stathis_d
Hello,
i'm wondering if someone can help with the following. In one of my constraints i want to force the value 1 for a binary variable s[j], when : variable x[j]=1 and, parameter grade[j] (of the x[j]=1) has the highest value.
I use conditional constraint for this one but i can't find a way to somehow force cplex to choose the highest value from the remaining set. I try to introduce a new parameter m=max[j in Locations]grade[j] but always choose the highest from all the values of grade[j]. So, I'm wondering if there is any other way to force the highest value from a set of prices, thanks in advance!
#DecisionOptimization#OPLusingCPLEXOptimizer