*optidobjrefupdate

Updates objective reference for an optimization for minmax type problems.

Syntax

*optidobjrefupdate name response_id opti_referencetype neg_reference pos_reference 1 number_of_loadsteps

Type

HyperMesh Tcl Modify

Description

Updates objective reference for an optimization for minmax type problems.

Inputs

name
The name of the objective reference.
response_id
Response identification number.
opti_referencetype
Reference type.
neg_reference
Reference value for negative reference.
pos_reference
Reference value for positive reference.
number_of_loadsteps
Number of loadsteps.

Example

To update an objective reference with the name "oref1", response ID 3, -1 negative reference value, +1 positive reference value for all subcases:

*optidobjrefupdate ("oref1",3,2,-1,1,1,0)

The opti_referencetype was 2 (both negative and positive reference values are considered).

To update an objective reference with the name "oref2", response ID 4, -1 negative reference value, +1 positive reference value for subcases 3,4 and 5:

*createarray(3) 3 4 5
*optidobjrefupdate ("oref2",4,0,-1,1,1,3)

The opti_referencetype was 0 (indicating that negative reference value is considered).

Errors

None.