Class OpenOptRootFinder


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

      Fields 
      Modifier and Type Field Description
      private double contol  
      private double ftol  
      private double gtol  
      private double xtol  
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenOptRootFinder​(java.util.List<Term> functions, java.util.Map<Variable,​Term> startingPoint)
      Creates a new root finder for the given starting point and the given (multi-dimensional) function
      OpenOptRootFinder​(Term function, java.util.Map<Variable,​Term> startingPoint)
      Creates a new root finder for the given starting point and the given function
    • Field Detail

      • contol

        private double contol
      • ftol

        private double ftol
      • gtol

        private double gtol
      • xtol

        private double xtol
    • Constructor Detail

      • OpenOptRootFinder

        public OpenOptRootFinder​(Term function,
                                 java.util.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​(java.util.List<Term> functions,
                                 java.util.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 java.lang.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)