The TargetAutoSearchType enumeration is used to determine a criterion problem type.
It is used by the following properties:
| Value | Brief description |
| 0 | MinError. Minimization of sum of squared deviations of criterion function trajectory from specified trajectory. |
| 1 | ExactSol. Precise solution search. Available point of equalities and inequalities set. |
| 2 | Minimum. Criterion function minimization. |
| 3 | Maximum. Criterion function maximization. |
If the MinError value is selected, criterion function trajectory is maximally approximated to the specified trajectory. To set the trajectory, to which criterion function should correspond, use the ICpTargetAdjustment.TargetTrajectory property. As a result, ITargetResults.OptimalValue will contain the sum of squared deviations of obtained trajectory from the specified one.
See also: