Question: setting range (bounds) to all variables in Minimize (global range), possible?

Hello

How can I set the range (bounds) of all of the function's variables to the same range at once? Here is a simple exaple:

 

Input:

Minimize((x[1]-1)^2+(x[2]-1)^2+(x[3]-1)^2, {8 <= x[1]*(x[2]^2+x[3]^2+1)}, x[1] = 1 .. 2, x[2] = 1 .. 2, x[3] = 1 .. 2);
     

Results:

[0.693290283715211841, [x[1] = 1.53166579937811,  x[2] = 1.45311243719790, x[3] = 1.45311243719790]]
 

My function have 15 variables x[1] -> x[15]. How can I set their bounds to a global range, say: x[i]=1..2 ?

I'm using Maple 17.3 at work.

Thanks, and sorry for the bad English.

 

Please Wait...