.OPTIMISER + optparams=[parameter_names] + optinitvals=[initial_values] + [ optminvals=[minimum_values] ] + [ optmaxvals=[maximum_values] ] + alg=algorithm + [ abstol=absolute_tolerance] + [ reltol=relative_tolerance] + [ iterlim=iteration_limit] + [ schematic=schematic_file] + [ results_file=results_file] + [ show_progress]
Configures an optimiser session. Requires at least one analysis statement and one .OPTSPEC statement to be present in the netlist. The .OPTIMISER statement defines the parameters, stop criteria and optimisation algorithm.
The.OPTIMISER statement may be used with multiple analysis statements. If only a single analysis statement is required it is also possible to use the multi-step analysis mode. For details see Multi-step Analysis
parameter_names | Names of parameters whose optimal value will be sought in the optimisation process. This is a list of names separated by commas. Parameters may be used in expressions to define model and instance parameters in exactly the same way as the .PARAM statement |
initial_values | Initial values for the parameters. List of values separated by commas corresponding directly with the parameter names. Values that will be used initially. The optimiser will subsequently adjust these values |
minimum_values | Minimum values for the parameters. List of values separated by commas corresponding directly with the parameter names. The optimiser will not use values less than those specified here |
maximum_values | Maximum values for the parameters. List of values separated by commas corresponding directly with the parameter names. The optimiser will not use values greater than those specified here |
algorithm | Optimisation algorithm. Single word to define the algorithm to be used for the optimisation analysis. See Algorithms for more information |
absolute_tolerance | Optimiser will stop when the objective function (defined using .OPTSPEC statement) stabilises to an absolute value controlled by this parameter |
relative_tolerance | Optimiser will stop when the objective function (defined using .OPTSPEC statement) stabilises to a relative value controlled by this parameter |
iteration_limit | Optimiser will stop when this number of iterations reaches this value |
schematic_file | Report purposes only. Path entered here will appear in the final report |
results_file | XML file where full details of the optimiser session will be written. The GUI can read this file and create an HTML report from it |
show_progress | If present, progress messages will be displayed while the optimiser is running |
◄ .OP | .OPTIONS ▶ |