ICallbackNLOptimization.SetArgValues

Syntax

SetArgValues(VariableNumber: Integer; Value: Double);

Parameters

VariableNumber. The number of the variable, to which it is required to assign value.

NOTE. To determine the number of the variable, use the ISmNonLinearOptimization.CoefficientsOrder property.

Value. The value that must be assigned to the variable.

Description

The SetArgValues method returns values of the variables, for which it is required to calculate value of criterion function and non-linear constraints.

Comments

To get the criterion function value, use the ICallbackNLOptimization.GetObjFunValue method.

Example

The property use is given in the example for ICallbackNLOptimization.GetConstraintPartialDeriv.

See also:

ICallbackNLOptimization