for the package:
the method search is used to find the vector of values of parameters which can minimize the function of the parameters.
but how to declare a function with 2 or more variables? Is that similar to UnivariateRealFunction?
And from the javadoc in numerical method, what should I enter for “vector” in the search method?
And where should I enter the function such that the method search can help me to optimize?
Also, where should the constraint be entered?
How to minimize x^2+y^2 given the condition x+y=1 using “search” ?
Is the code similar when there is no constraints?