All Frameworks  Object Hierarchy  This Framework  Indexes   

Optimization (Object)

Represents an Optimization object.

Property Index

AlgorithmType
Returns or sets the algorithm type.
Constraints
Returns the collection of optimization constraints.
ConvSpeed
Returns or sets the convergence speed for some gradients and the simulated annealing.
FreeParameters
Returns the collection of the free parameters.
MaxEvalsNb
Returns or sets the maximum number of model updates allowed during one run of the optimization.
MaxEvalsWoImprovement
Returns or sets the maximum number of model updates without improvement of the problem solution during one run of the optimization.
MaxTime
Returns or sets the maximum time allowed for one run of the optimization (in minutes).
ObjectiveParameter
Returns or sets the objective parameter of the optimization.
OptimizationType
Returns or sets the type of the optimization: minimum, maximum or target value searched on the objective parameter.
TargetValue
Returns the objective parameter target value.
UseMaxEvalsWoImprovement
Returns or sets if the number of updates without improvement of the solution has to be used as a termination criterion.
UseMaxTime
Returns or sets if max time has to be used as a termination criterion.

Method Index

Run
Runs the optimization as it is defined.

Properties


o Property AlgorithmType() As
Returns or sets the algorithm type. Currently available algorithms are gradient and simulatedAnnealing
See also:
CatAlgorithmType
o Property Constraints() As (Read Only)
Returns the collection of optimization constraints.
o Property ConvSpeed() As
Returns or sets the convergence speed for some gradients and the simulated annealing.
o Property FreeParameters() As (Read Only)
Returns the collection of the free parameters.
o Property MaxEvalsNb() As
Returns or sets the maximum number of model updates allowed during one run of the optimization.
o Property MaxEvalsWoImprovement() As
Returns or sets the maximum number of model updates without improvement of the problem solution during one run of the optimization.
o Property MaxTime() As
Returns or sets the maximum time allowed for one run of the optimization (in minutes).
o Property ObjectiveParameter() As
Returns or sets the objective parameter of the optimization. This parameter can not exist (in this case the get_ method returns E_FAIL) when the optimization contains only constraints and uses Simulated Annealing, or if the optimization feature doesn't contain all information necessary to be run.
o Property OptimizationType() As
Returns or sets the type of the optimization: minimum, maximum or target value searched on the objective parameter.
See also:
CatOptimizationType
o Property TargetValue() As (Read Only)
Returns the objective parameter target value. (used only if the optimization type is a target value search)
o Property UseMaxEvalsWoImprovement() As
Returns or sets if the number of updates without improvement of the solution has to be used as a termination criterion.
o Property UseMaxTime() As
Returns or sets if max time has to be used as a termination criterion.

Methods


o Sub Run( iWithStopDialog)
Runs the optimization as it is defined. The stop dialog appears if argument is TRUE
Before running, a check is made to ensure that the optimization feature contains enough information to run the optimization. In the case where some information is missing, this method returns E_FAIL
WARNING : if argument is TRUE, the optimization is launched asynchronously, and you can not run several optimizations in this mode.

Copyright © 2003, Dassault Systèmes. All rights reserved.