Re: How to implement arg min f(x)?
- To: mathgroup at smc.vnet.net
- Subject: [mg24942] Re: [mg24936] How to implement arg min f(x)?
- From: BobHanlon at aol.com
- Date: Thu, 24 Aug 2000 05:08:15 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 8/22/2000 4:41:37 PM, may106 at psu.edu writes: >I want to implement arg min f(x), but when I use the FindMinimum >function it returns the minimum and it returns the argument for the >minimum in the form "x -> 1.234", i.e. a string. I am using the >minimization in a manner analogous to solving Ax=b for x by finding > >arg min ||Ax-b|| > x > >How do I pick off the value of x? > x /. FindMinimum[Abs[7x - 3], {x, 2, 4}][[2]] 0.428571 Bob Hanlon