Error in Compile

*To*: mathgroup at smc.vnet.net*Subject*: [mg119412] Error in Compile*From*: juan flores <juanfie at gmail.com>*Date*: Thu, 2 Jun 2011 07:17:00 -0400 (EDT)

Hi all, I was trying to compile this function, to see how much faster it is able to run. Clear[mcf]; mcf = Compile[{}, NMinimize[{(1 - x)^2 + 100 (y - x^2)^2, -97.` x - 41.` y + 358 >= 0, x - y + 140.` >= 0, 97.` x + 41.` y - 220 >= 0, -x + y - 2.` >= 0}, {x, y}]] The compiler gives the following error Compile::cptype: List is not supported for type True|False; evaluation will use the uncompiled function. >> I am using Mathematica 7 in a Mac with snow leopard. Any ideas? Best regards, Juan Flores