Class OpenOptRootFinder


  • public class OpenOptRootFinder
    extends OptimizationRootFinder
    A wrapper for the open opt library.
    Author:
    Matthias Thimm
    • Constructor Detail

      • OpenOptRootFinder

        public OpenOptRootFinder​(Term function,
                                 Map<Variable,​Term> startingPoint)
        Creates a new root finder for the given starting point and the given function
        Parameters:
        function - a function
        startingPoint - the starting point
      • OpenOptRootFinder

        public OpenOptRootFinder​(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

      • getOpenOptCode

        public String getOpenOptCode()
        Builds the OpenOpt code for the given problem which can be interpreted by a python.
        Returns:
        the OpenOpt code for the given problem which can be interpreted by a python.
      • getContol

        public double getContol()
      • setContol

        public void setContol​(double contol)
      • getFtol

        public double getFtol()
      • setFtol

        public void setFtol​(double ftol)
      • getGtol

        public double getGtol()
      • setGtol

        public void setGtol​(double gtol)
      • getXtol

        public double getXtol()
      • setXtol

        public void setXtol​(double xtol)