Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.2 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Aide de Scilab >> Optimisation : recuit simulé > Utilities > temp_law_default

temp_law_default

A SA function which computed the temperature of the next temperature stage

Syntax

T_next = temp_law_default(T,step_mean,step_var,temp_stage,n,param)

Arguments

T

the temperature applied during the last temperature stage

step_mean

the mean of the objective function values computed during the last temperature stage

step_var

the variance of the objective function values computed during the last temperature stage

temp_stage

the index of the current temperature stage

n

the dimension of the decision variable (the x in f(x))

param

a float between 0 and 1. Corresponds to the decrease in temperature of the geometric law (0.9 by default)

T_next

the new temperature to be applied for the next temperature stage

Description

  • A SA function which computed the temperature of the next temperature stage

Examples

// This function implements the simple geometric temperature law
function T=temp_law_default(T, step_mean, step_var)
  _alpha = 0.9;
  T = _alpha*T;
endfunction

See also

  • optim_sa — A Simulated Annealing optimization method
  • compute_initial_temp — A SA function which allows to compute the initial temperature of the simulated annealing
  • neigh_func_default — A SA function which computes a neighbor of a given point
Report an issue
<< temp_law_csa Utilities temp_law_fsa >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Feb 14 14:59:57 CET 2019