APM.OTOL - APMonitor Option

 Type: Floating Point, Input
 Default Value: 1.0e-6
 Description: Objective function tolerance for
              successful solution

OTOL is the relative objective function tolerance for reporting a successful solution. A lower value of OTOL, 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 there are multiple objectives and higher precision is required to fully resolve minor objectives. OTOL and RTOL (tolerance on the equation residuals) should generally be adjusted together.

Python Gekko Example

m.options.RTOL=1e-6
m.options.OTOL=1e-6

See also RTOL, SOLVER

💬