*optidobjrefcreate

Creates objective reference for an optimization for minmax type problems.

Syntax

*optidobjrefcreate name response_id opti_referencetype neg_reference pos_reference 1 number_of_loadsteps

Type

HyperMesh Tcl Modify

Description

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

Examples

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

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

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

To create 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
*optidobjrefcreate("oref2",4,0,-1,1,1,3)

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

Errors

None.