Optim_Siman_Initial_Mutation_Attempts_Set()
Abstract
Sets the number of additional initial mutation attempts the optimization engine should make in trying to determine an optimization’s initial temperature.
Syntax
Optim_Siman_Mutations_Attempts_Set (optim_handle, mutations)
| Argument | Type | Description |
|---|---|---|
optim_handle |
OptimT_Siman_Handle |
The handle to the optimization engine instance whose initial mutation attempts should be set. |
mutations |
int |
The new number of initial mutation attempts to perform. |
Return Type
void
No return value.
Header
optim_siman.h
Details
In determining the initial temperature of the optimization engine, the engine must perform some initial mutations of the solution state to gather information about the range of potential objective values. If, in determining the initial temperature, the initial mutations don’t result in any variation in the potential solutions’ objective values, it might be beneficial to perform some additional mutation until the objective value does vary.
This procedure allows the client to change the number of additional initial mutation attempts the engine will try before allowing the temperature to be initialized to 0. This procedure will typically be called after an OptimT_Siman_Handle has been created, but before its optimization has been started with Optim_Siman_Solver_Execute(). If this procedure is not called before the optimization is started, the default value of initial mutation attempts will be used.