The LocalStopCondition object defines a local stop condition.
The LocalStopCondition object is derived from the StopCondition object.
import optimization mdb.models[name].optimizationTasks[name].stopConditions[name]
This method creates a LocalStopCondition object.
mdb.models[name].optimizationTasks[name].LocalStopCondition
Required arguments
A String specifying the stop condition repository key.
A Float specifying the factor used to modify the reference value.
Optional arguments
A SymbolicConstant specifying the operation used to compare the selected value to the reference value. Possible values are LESS_THAN, LESS_THAN_EQUAL, EQUAL, GREATER_THAN_EQUAL, and GREATER_THAN. The default value is LESS_THAN.
A SymbolicConstant specifying the variable identifier of the compared value. Possible values are:
The default value is MOVEMENT.
ABSOLUTE_GROWTH_MOVEMENT
ABSOLUTE_SHRINK_MOVEMENT
GROWTH_MOVEMENT
SHRINK_MOVEMENT
MOVEMENT
TOTAL_ABSOLUTE_MOVEMENT
EQUIV_STRESS
FREE_TASK_REGION_EQUIV_STRESS
RESTRICTED_TASK_REGION_EQUIV_STRESS
SURFACE_POINT_EQUIV_STRESS
TASK_REGION_EQUIV_STRESS
A SymbolicConstant specifying the operation used to evaluate values in the region. Possible values are MAXIMUM, MINIMUM, and SUM. The default value is MAXIMUM.
A SymbolicConstant specifying the iteration from which a value is compared to the reference value. Possible values are FIRST and PREVIOUS. The default value is PREVIOUS.
A SymbolicConstant specifying the operation used to modify the reference value by the reference factor. Possible values are ADD, DIVIDE, MULTIPLY, and SUBTRACT. The default value is ADD.
The SymbolicConstant MODEL or a Region object specifying the region to which the stop condition is applied. The default value is MODEL.
Return value
A LocalStopCondition object.
Exceptions
This method modifies the LocalStopCondition object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the LocalStopCondition method, except for the name argument.
Return value
Exceptions
The LocalStopCondition object has members with the same names and descriptions as the arguments to the LocalStopCondition method.