IMSL C# Numerical Library

MinConNLP.SetXscale Method 

The internal scaling of the variables.

public void SetXscale(
   double[] scale
);

Parameters

scale
A double array specifying the internal scaling of the variables.

Remarks

The initial value given and the objective function and gradient evaluations, however, are always given in the original unscaled variables. The first internal variable is obtained by dividing the values x[i] by Xscale[i]. By default, Xscale[i] is set to 1.0.

Exceptions

Exception Type Condition
ArgumentException is thrown if Xscale[i] is less than or equal to 0.0

See Also

MinConNLP Class | Imsl.Math Namespace