*opticontrolupdateoptimizationparameters
Updates the optimization control parameters to be used in various optimization methods.
Syntax
*opticontrolupdateoptimizationparameters shapeopttoggle shapeopt optmethtoggle optmeth neslexpdtoggle neslexpd neslimpdtoggle neslimpd neslnlgmdtoggle neslnlgmd
Type
HyperMesh Tcl Modify
Description
Updates the optimization control parameters that corresponds to the DOPTPRM card to be used in various optimization methods.
Inputs
- shapeopttoggle
- Shapeopt toggle on (1) or off (0) state (integer).
- shapeopt
- Shapeopt value (integer).
- optmethtoggle
- Optmeth toggle on (1) or off (0) state (integer).
- optmeth
- Optmeth value (string).
- neslexpdtoggle
- Nexlexpd toggle on (1) or off (0) state (integer).
- nexlexpd
- Nexlexpd value (integer).
- neslimpdtoggle
- Neslimpd toggle on (1) or off (0) state (integer).
- nexlimpd
- Neslimpd value (integer).
- neslnlgmdtoggle
- Neslnlgmd toggle on (1) or off (0) state (integer).
- neslnlgmd
- Neslnlgmd value (integer).
Example
To update the optimization control entity by activating optmeth_toggle and setting optmeth to SQP:
*opticontrolupdateoptimizationparameters 0 0 1 "SQP" 0 20 0 20 0 1
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0.101