Navigation: Scripting Reference Manual > Functions & Subroutines > GetMzrAnnealStopAfterSteps

 

GetMzrAnnealStopAfterSteps

 

Contact Us: fredsupport@photonengr.com

 

Description

This command retrieves the number of temperature reduction steps currently specified for Simulated Annealing.  This does NOT indicate that this option is currently selected as the stopping criteria.

 

 

Syntax

numSteps = GetMzrAnnealStopAfterSteps()

 

 

Parameters

numSteps (Long)

Number of temperature reduction steps applied in Simulated Annealing.

 

 

Example

The following example retrieves the starting conditions for an optimization and prints the parameters to the output window.

 

Sub Main

 

    Dim multiStarts As Long

    Dim startTemp As Double

    Dim stopSteps As Long

    Dim stopMinTemp As Double

    Dim tempReduceFrac As Double

 

    multiStarts = GetMzrMultiStarts()

    startTemp = GetMzrAnnealStartTemperature()

    stopSteps = GetMzrAnnealStopAfterSteps()

    stopMinTemp = GetMzrAnnealStopBelowMinTemperature()

    tempReduceFrac = GetMzrAnnealTemperatureReduceFraction()

 

    Print "Multi Starts: " & Chr(9) & multiStarts

    Print "Start Temp: " & Chr(9) & startTemp

    Print "Stop Steps: " & Chr(9) & stopSteps

    Print "Stop Min Temp: " & Chr(9) & stopMinTemp

    Print "Temp Reduc. Frac: " & Chr(9) & tempReduceFrac

 

End Sub

 

 

See Also

Optimization Commands

 

 

 

 

 

Copyright © Photon Engineering, LLC