Navigation: Scripting Reference Manual > Functions & Subroutines > GetMzrAnnealStartTemperature

 

GetMzrAnnealStartTemperature

 

Contact Us: fredsupport@photonengr.com

 

Description

This command retrieves the starting temperature value for Simulated Annealing.

 

 

Syntax

startTemp = GetMzrAnnealStartTemperature()

 

 

Parameters

startTemp (Double)

Starting temperature value for 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