WebCab Optimization for COM v2.6

EasySolver.SetConstraints Method 

Sets the upper and lower bounds of a Unidimensional Constrained optimization problem.

public void SetConstraints(
   double lowerBound,
   double upperBound
);

Parameters

lowerBound
The coordinate value on the real line of the beginning of the interval over which the extremum is sought.
upperBound
The coordinate value on the real line of the end of the interval over which the extremum is sought.

Remarks

Naturally you should only set these constraints if you are solving a constrained unidimensional optimization problem.

Note: By default to solution of a unidimensional optimization problem is sought over the maximum possible range.

See Also

EasySolver Class | WebCab.COM.Math.Optimization Namespace