ILOG CPLEX .NET Reference Manual

Cplex.GetObjSA Method (Double[], Double[], INumVar[])

Computes and returns sensitivity analysis for objective coefficients for an array of variables.

public virtual void GetObjSA(
   double[] lower,
   double[] upper,
   INumVar[] var
);

Parameters

lower
lower[j] will contain the lowest value to which the objective coefficient of the variable var[j] can be set without affecting the optimality of the basis. If this information is not required, null may be passed. Otherwise, the array must have a length at least equal to the length of the array var.
upper
upper[j] will contain the highest value to which the objective coefficient of the variable var[j] can be set without affecting the optimality of the basis. If this information is not required, null may be passed. Otherwise, the array must have a length at least equal to the length of the array var.
var
An array containing the variables for which objective sensitivity analysis will be returned.

See Also

Cplex Class | ILOG.CPLEX Namespace | Cplex.GetObjSA Overload List