*optiminmaxupdate
Updates an objective for minmax optimizations.
Syntax
*optiminmaxupdate minmax_flag integer_array number_of_integers
Type
HyperMesh Tcl Modify
Description
Updates an objective for minmax optimizations.
Inputs
- minmax_flag
- A flag to distinguish between minimization and maximization.
- integers_array
- The ID of the integer array that contains the objective reference IDs. The integer array is created using the *createarray command. This should always be set to 1.
- number_of_integers
- The number of objective references in the array of integers.
Examples
To update a minimization problem with 1 and 2 as objreference identifiers:
*createarray 2 1 2
*optiminmaxupdate 2 1 2
To update a maximization problem with 1 and 2 as objreference identifiers:
*createarray 2 1 2
*optiminmaxupdate 3 1 2
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0