APM.RTOL - APMonitor Option
Main.OptionApmRtol History
Hide minor edits - Show changes to output
Added lines 12-18:
'''Python Gekko Example'''
(:source lang=python:)
m.options.RTOL=1e-6
m.options.OTOL=1e-6
(:sourceend:)
Changed line 11 from:
RTOL is the relative inequality or equality equation tolerance for reporting a successful solution. A lower value of RTOL, such as 1e-8, will give a more precise answer but at the expense of more iterations. The default of 1e-6 is generally sufficient for most problems. However, there are times when the equation solution should be reported more precisely. Making RTOL too small may cause a bad solution to be reported because it surpasses the computer precision. RTOL and OTOL (relative tolerance for the objective function) should generally be adjusted together.
to:
RTOL is the error tolerance for reporting a successful solution where the residuals (''r'') of the equations (''f(x)=r'') are converged to nearly zero. A lower value of RTOL, such as 1e-8, will give a more precise answer but at the expense of more iterations. The default of 1e-6 is generally sufficient for most problems. However, there are times when the equation solution should be reported more precisely. Making RTOL too small may cause a bad solution to be reported because it surpasses the computer precision. RTOL and OTOL (tolerance for the objective function) should generally be adjusted together.
Changed lines 5-6 from:
%width=50px%Attach:apm.png
to:
%width=50px%Attach:apm.png [[Main/DbsGlobal|Global Options]] | %width=30px%Attach:fv.png %width=30px%Attach:mv.png %width=30px%Attach:sv.png %width=30px%Attach:cv.png[[Main/DbsVariable|Local Options]]
Added lines 12-13:
See also [[Main/OptionApmOtol|OTOL]], [[Main/OptionApmSolver|SOLVER]]
Added lines 1-11:
(:title APM.RTOL - APMonitor Option:)
(:keywords APM.RTOL, Optimization, Estimation, Option, Configure, Default, Description:)
(:description Equation solution tolerance:)
%width=50px%Attach:apm.png
Type: Floating Point, Input
Default Value: 1.0e-6
Description: Equation solution tolerance
RTOL is the relative inequality or equality equation tolerance for reporting a successful solution. A lower value of RTOL, such as 1e-8, will give a more precise answer but at the expense of more iterations. The default of 1e-6 is generally sufficient for most problems. However, there are times when the equation solution should be reported more precisely. Making RTOL too small may cause a bad solution to be reported because it surpasses the computer precision. RTOL and OTOL (relative tolerance for the objective function) should generally be adjusted together.
(:keywords APM.RTOL, Optimization, Estimation, Option, Configure, Default, Description:)
(:description Equation solution tolerance:)
%width=50px%Attach:apm.png
Type: Floating Point, Input
Default Value: 1.0e-6
Description: Equation solution tolerance
RTOL is the relative inequality or equality equation tolerance for reporting a successful solution. A lower value of RTOL, such as 1e-8, will give a more precise answer but at the expense of more iterations. The default of 1e-6 is generally sufficient for most problems. However, there are times when the equation solution should be reported more precisely. Making RTOL too small may cause a bad solution to be reported because it surpasses the computer precision. RTOL and OTOL (relative tolerance for the objective function) should generally be adjusted together.