WebCab Optimization for COM v2.6

EasySolver.AddUpperBoundConstraint Method 

Adds an upper bound constraint to the multidimensional optimization problem being considered.

public void AddUpperBoundConstraint(
   int variableIndex,
   double lessThanValue
);

Remarks

Providing an Upper Bound Constraint

For an optimization problem in n-dimensional space, you are able to add the following upper bound inequality constraint:

xk <= lessThanValue,

where xk, is the k+1-th coordinate variable where k take one of the values {0, 1, ..., n-1}, and lessThanValue is just a constant. In order to pass this upper bound constraint as parameters to this method you need to set:

  1. Parameter `variableIndex' = k
  2. Parameter `lessThanValue' = lessThanValue

See Also

EasySolver Class | WebCab.COM.Math.Optimization Namespace | Add a `greater than' linear constraints to multidimensional optimization problem being considered. | Add a `less than' linear constraints to multidimensional optimization problem being considered. | Adds equality constraints to multidimensional optimization problem being considered. | Adds a lower bound constraints to a multidimensional optimization problem being considered. | Removes all the constraints which have been set for a multidimensional optimization problem being considered.