MathGroup Archive 2009

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

Search the Archive

Re: Help with Recursive Minimization


On Apr 11, 12:53 am, owen <owenqu... at hotmail.com> wrote:
> Hi,
>
> I tried to minimize a function which itself is a minimum value function. =
 I can plot the function, but cannot get a numerical solution:
>
> V1[y_] := Minimize[{0.5 x, x >= 2, x >= y}, {x}][[1]];
> Plot[ V1[y] + 3/y, {y, 1, 5}]
> Minimize[  V1[y] + 3/y, {y, 1, 5}]
>
> Appreciate your help
> Owen

Minimize[{0.5 x, x >= 2, x >= y}, {x}][[1]] is the same as: Max[2,
y] / 2

=> First@Minimize[{Max[2, y]/2 + 3/y, 1 <= y <= 5}, y]

=> Sqrt[6]


  • Prev by Date: MaxIterations for FindRoot called by NDSolve
  • Next by Date: Adding text to RegionPlot
  • Previous by thread: Re: MaxIterations for FindRoot called by NDSolve
  • Next by thread: Re: Help with Recursive Minimization