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).
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.
|
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