LinearTemperature

class pyoptex.doe.cost_optimal.codex.temperature.LinearTemperature(T0, nsims)[source]

Linear temperature operator. Computes temperature as T = (1-(i+1)/nsims) * T0 for each iteration.

Attributes

T0float

The starting temperature.

nsimsint

The total number of simulations.

iint

The current iteration.

Tfloat

The current temperature.

__init__(T0, nsims)[source]

Initializes the temperature operator.

Attributes

T0float

The starting temperature.

nsimsint

The total number of simulations.

Methods

LinearTemperature.accepted()

Update when a new design has been accepted.

LinearTemperature.rejected()

Update when a new design has been rejected.

LinearTemperature.reset()

Resets the temperature.