Re: Algorithm or method for finding maximum of a long polynomial
- From: "Dann Corbit" <dcorbit@xxxxxxxxx>
- Date: Mon, 21 Jul 2008 22:22:15 -0700
"Gregor" <ghulok02@xxxxxxxxx> wrote in message news:3d641dba-2273-4e57-8687-df4c02d35a64@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I've got a polynomial with a couple hundred terms, but less than 30
variables, the variables will have a value of between 1 and 4000, and
I need know the approximate values of the variables at the maximum.
It doesn't have to be fast.
Apparently this could be done by passing it through MathLink to
mathematica using the Maximum function, but I don't have access to
mathematica. (
http://www.scientific-solutions.ch/tech/mathematica/products/mma/newi...
)
I have tried to figure out a suitable method by using graph sketching
techniques from calculus, too, but I'm stumped. I tried to find the
reciprocal-of-the-slope of the normal of a plane or hyperplane, then
find all solutions for when it was zero, then evaluate the polynomial
with those values, like, imagine a bumpy surface (this would be for 2
variables but can be extended), and a plate tangential to the curve at
a point, when the plate is tangential to a point at a valley or a peak
the normal of the plane will be vertical.....
1. If the polynomial is odd, it does not have a maximum.
2. If the polynomial is even and the largest term is positive it does not have a maximum.
3. So you are left with even polynomials for which the largest term is negative.
If you take the derivative of the polynomial (trivial operation) and find the roots of this new polynomial, then you can evaluate the original polynomial at these roots. One of them will be the maximum (given the above 3 restrictions).
** Posted from http://www.teranews.com **
.
- Follow-Ups:
- Re: Algorithm or method for finding maximum of a long polynomial
- From: Richard Harter
- Re: Algorithm or method for finding maximum of a long polynomial
- References:
- Prev by Date: Algorithm or method for finding maximum of a long polynomial
- Next by Date: Re: Algorithm or method for finding maximum of a long polynomial
- Previous by thread: Algorithm or method for finding maximum of a long polynomial
- Next by thread: Re: Algorithm or method for finding maximum of a long polynomial
- Index(es):
Relevant Pages
|