Originally posted by: NYCK_Kai_Schaal
Hello everybody,
I'm a new user of OPL.
I've got a question on how to define a
variable range. I defined a
set of products and a
parameter 'parameter' which is depending on products.
{string} products = ...; int parameter products = ...; I now want to define a
variable range. This means that this range shall also depend on the product. The range shall always reach from parameter (which is depending on the product, see above) + 1 until 10.
It tried the following approach but it didn't work:
+range RANGE
products = parameter+1 .. 10+
Can anybody help me here? Thank you very much
Kai
#DecisionOptimization#OPLusingCPOptimizer