Hello Gilles,

That is a good question.  I don't know.  I read through the webpage Apache
Commons Math has for the optimization APIs and everything there appeared to
be an optimization (minimization or maximization) not for solving to hit a
custom target "y" value.  I will look at the specific documentation for the
specific class you mention and see if there is some way to do what I am
looking for.  Thanks.

Oscar


On Sat, Jul 11, 2020, 2:00 PM Gilles Sadowski <[email protected]> wrote:

> Hi.
>
> Le sam. 11 juil. 2020 à 03:54, Oscar Bastidas
> <[email protected]> a écrit :
> >
> > Would someone please tell me if the Optimization APIs in Apache Commons
> > Math can be used to solve a multi-variate equation (multiple xs, just one
> > y) for a specific value as Microsoft Excel's Solver can and if so, how
> that
> > would be implemented?  In short, I don't want to solve my multi-variate
> > system for zero, but set it equal to any number of my choosing and have
> the
> > program return the values of the coefficients (Y=Ax1+Bx2+Cx3+...nxi) that
> > satisfy the equation.  Thanks.
>
> Isn't the functionality implemented in the
>     org.apache.commons.math4.optim.linear
> package[1] what you are looking for?
>
> Regards,
> Gilles
>
> [1]
> http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math4/optim/linear/package-frame.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to