Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Constrained Optimization

  • To: mathgroup at
  • Subject: [mg57762] Re: Constrained Optimization
  • From: Caspar von Seckendorff <seckendorff at>
  • Date: Tue, 7 Jun 2005 05:59:50 -0400 (EDT)
  • References: <d7mj30$bqm$> <d7pb7q$t80$> <d7rk7r$blu$> <d812pv$cog$>
  • Sender: owner-wri-mathgroup at

Paul Abbott schrieb:
> KuhnTucker[obj_, cons_List, vars_, domain___] := 
> In some cases, this approach can solve problems which cannot directly be 
> solved with Maximize and Minimize. However, it does not appear to help 
> for your example ...

That's great. Actually it seems to work:

In[]:= KuhnTucker[-(x - x^2) y, {1/5 <= x, x <= 2/5, y > 0}, {x}, Reals]
Out[]:= y > 0 && x == 2/5 && m[1] == 0 && m[2] == y/5

Thanks also for pointing out how to use ForAll[...] to get the upper 
bound (Maxim) and the maximizing x (Andrzej Kozlowski). Being new to 
Mathematica, I have not worked with this function before, but it seems 
that you  can do a lot with it...



  • Prev by Date: Re: goto and label
  • Next by Date: Re: Print a selection within
  • Previous by thread: Re: Constrained Optimization
  • Next by thread: Re: Re: Constrained Optimization