Class BackTrackLineSearch

    • Constructor Detail

      • BackTrackLineSearch

        public BackTrackLineSearch​(Model layer,
                                   StepFunction stepFunction,
                                   ConvexOptimizer optimizer)
        Parameters:
        layer -
        stepFunction -
        optimizer -
      • BackTrackLineSearch

        public BackTrackLineSearch​(Model optimizable,
                                   ConvexOptimizer optimizer)
        Parameters:
        optimizable -
        optimizer -
    • Method Detail

      • setStepMax

        public void setStepMax​(double stepMax)
      • getStepMax

        public double getStepMax()
      • setRelTolx

        public void setRelTolx​(double tolx)
        Sets the tolerance of relative diff in function value. Line search converges if abs(delta x / x) < tolx for all coordinates.
      • setAbsTolx

        public void setAbsTolx​(double tolx)
        Sets the tolerance of absolute diff in function value. Line search converges if abs(delta x) < tolx for all coordinates.
      • getMaxIterations

        public int getMaxIterations()
      • setMaxIterations

        public void setMaxIterations​(int maxIterations)