Question: Global Optimization of a Multivariable Procedure

I've always had difficulties using maple to optimize a procedure of multiple variables. I have a problem now where I have a procedure AreaRegion(x,y,z). There are many conditions and subroutines in this procedure that are used to calculate the area of a specific region defined by variables x,y, and z. Its algortihm is based loosly on a Graph Theory program. Anyway, back to the main problem I'm having. I want to minimize AreaRegion(x,y,z). I tried > Minimize(AreaRegion, 0..Pi,-2..2,-2..2) But this gives me > Warning, no iterations performed (And an incorrect answer) I tried > NLPSolve(AreaRegion, 0..Pi,-2..2,-2..2); But again, I got > Warning, no iterations performed (And an incorrect answer, better than the previous though) I know the function is continuous and periodic (that is why the first variable is an angle bound). I believe that its first derivitive is also continuous, but not sure how I could calculate it as the function is numerical. I don't know if there is a way to do this in Maple 10, or am I going to have to buy the Global Optimization Toolbox (would it even be able to do such a problem?).
Please Wait...