Filter

(class from pyomo.contrib.trustregion.filter)

class pyomo.contrib.trustregion.filter.Filter[source]

Bases: object

Trust region filter

Based on original filter by Eason, Biegler (2016)

__init__()[source]

Methods

__init__()

addToFilter(filterElement)

Method to add, remove, or skip a filter element

isAcceptable(filterElement, maximum_feasibility)

Check whether a step is acceptable to the filter.

Member Documentation

addToFilter(filterElement)[source]

Method to add, remove, or skip a filter element

isAcceptable(filterElement, maximum_feasibility)[source]

Check whether a step is acceptable to the filter. If not, we reject the step.