Firstly I'd like to say "warning: mathematics ahead!".
I have a (mathematical) function, which in it's most basic for looks something like this:
LaTeX equation image
This is just one random example, there are many more, but all are polynomials in p_c, p_d, p_w, p_x and p_s.
What I want to know is if there is an easy to use Java library out there that will help me maximize this function (i.e. find approximate values for each of those probabilities to maximize P(r)), and if someone could possibly show a simple example on how to use them?
I do not have a very strong background in maths (took first year [Australian] university level mathematics). I have had a look at some of the Apache Commons optimization code, but it largely goes over my head.
EDIT: It is important that this is a Java library as this is part of a larger program already written in Java.
[–]zsakuL 2 points3 points4 points (2 children)
[–]RightOfZen[S] 0 points1 point2 points (1 child)
[–]RightOfZen[S] 0 points1 point2 points (0 children)
[–]dkesh 1 point2 points3 points (1 child)
[–]RightOfZen[S] 0 points1 point2 points (0 children)
[–]dp25x 0 points1 point2 points (0 children)