hi

i want to find values of a,b,c such that..

Minimize (a+b+c)

constrained to

(x-a)^2 + (y-b)^2 + (z-c)^2 less than equal to R(z)

(x-a)^2 + (y-b)^2 + (z-c)^2 greater than equal to r(z)

can anyone help me solving this?? I need to write c++ code for this so which method should b computationally better?