Class OptimizationRootFinder

    • Constructor Detail

      • OptimizationRootFinder

        public OptimizationRootFinder()
        Creates a new root finder for the given starting point and the given function
      • OptimizationRootFinder

        public OptimizationRootFinder​(List<Term> functions,
                                      Map<Variable,​Term> startingPoint)
        Creates a new root finder for the given starting point and the given (multi-dimensional) function
        Parameters:
        functions - a list of functions
        startingPoint - the starting point
    • Method Detail

      • buildOptimizationProblem

        protected OptimizationProblem buildOptimizationProblem()
        Builds an optimization problem for the task of root finding.
        Returns:
        an optimization problem for the task of root finding.
      • randomRoot

        public abstract Map<Variable,​Term> randomRoot​(List<Term> functions,
                                                            Map<Variable,​Term> startingPoint)
                                                     throws GeneralMathException
        Description copied from class: RootFinder
        Determines the values for the variables appearing in the function such the function evaluates to zero.
        Specified by:
        randomRoot in class RootFinder
        Parameters:
        functions - the functions
        startingPoint - the starting point for the search
        Returns:
        a map from variables to terms such that "function" evaluates to zero.
        Throws:
        GeneralMathException - if something went wrong.