IterationLogger

(class from pyomo.contrib.trustregion.util)

class pyomo.contrib.trustregion.util.IterationLogger[source]

Bases: object

Log (and print) information for all iterations

__init__()[source]

Methods

__init__()

logIteration()

Log detailed information about the iteration to the log

newIteration(iteration, feasibility, ...)

Add a new iteration to the list of iterations

printIteration()

Print information to the screen

updateIteration([feasibility, ...])

Update values in current record

Member Documentation

logIteration()[source]

Log detailed information about the iteration to the log

newIteration(iteration, feasibility, objectiveValue, trustRadius, stepNorm)[source]

Add a new iteration to the list of iterations

printIteration()[source]

Print information to the screen

updateIteration(feasibility=None, objectiveValue=None, trustRadius=None, stepNorm=None)[source]

Update values in current record