yeah, optimization is just plain hard and it totally sucks. too bad that it is one of the few things that have aplications for the real life (and i mean real real life, not science real life) of calculus.