Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

axlPutRunOption

axlPutRunOption(
x_hsdb
t_mode
t_runoptName
) 
=> x_runOption / nil 

Description

Adds a run option to the setup database or edits an existing one and returns the handle to the option. The list of valid option names (t_runoptName) depends on the run mode (t_mode).

Any unsupported option names you specify will have unspecified effects on the behavior of the run mode. There are no run options for the Single Run, Sweeps and Corners run mode.

Arguments

x_hsdb

Setup database handle.

t_mode

Run mode.
The valid values are:

  • Sampling
  • Global Optimization
  • Local Optimization
  • Monte Carlo Sampling

t_runoptName

Run option name.
The valid values depend on t_mode as follows:

For Sampling:

  • points: Number of sampling points

For Global Optimization:

  • tillsatisfied: Optimization stops when all goals are met.
  • timelimit: Optimization stops when the program reaches the time limit (in minutes).
  • numpoints: Optimization stops when the program reaches the number of points.
  • ptswithnoimprovement

For Local Optimization:

  • effort: Optimization effort.
  • tillsatisfied: Optimization stops when all goals are met.
  • timelimit: Optimization stops when the program reaches the time limit (in minutes).
  • numpoints: Optimization stops when the program reaches the number of points.
  • ptswithnoimprovement: Optimization stops when there is no improvement for the number of points.

For Monte Carlo Sampling:

  • mcmethod: Monte Carlo Sampling method.
  • mcnumpoints: Number of Monte Carlo sampling points.
Typically, this number should be at least the number of statistical variables.

Value Returned

x_runOption

Handle to run option.

nil

Unsuccessful operation.

Examples

The following example adds the points run option in Monte Carlo mode to the setup database:

axlPutRunOption( 1004 "Monte Carlo Sampling" "points") 
=> 1048

Related Topics

axlGetRunOption

axlGetRunOptions

axlRunAllTests

axlRunAllTestsWithCallback


Return to top
 ⠀
X