Subject: newbie question, finding minima and maxima
From: Hugo Coolens
Date: Fri, 8 Dec 2006 11:22:49 +0100 (CET)
On Thu, 7 Dec 2006, Robert Dodier wrote:
> On 12/7/06, Hugo Coolens <coolens at kahosl.be> wrote:
>
>> Is there a simple way to make look Maxima for a (preferably global)
>> maximum of a function?
>
> If a numerical solution is OK, take a look at lbfgs.
> It is in Maxima 5.10.0 (but not any earlier revision).
> lbfgs is a local search algorithm, of the quasi-Newton variety,
> for smooth functions.
>
> By the way, lbfgs looks for a minimum. So to find the maxima
> just take the negative of the original function.
thanks for the suggestion but can you supply me a link to the
documentation of this. As you can see the "usual ways" of finding help
were not successful:
Maxima 5.10.0 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i2) load("lbfgs");
(%o2) /usr/share/maxima/5.10.0/share/lbfgs/lbfgs.mac
(%i3) ? lbfgs
(%o3) false
(%i4) example(lbfgs);
Not Found.