/// <summary> /// Determines if the specified point is feasible /// for the inequality, c. /// </summary> /// <param name="c">The c.</param> /// <param name="point">The point.</param> /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns> private bool feasible(IInequality c, double[] point) { return(calculate(c, point) <= 0); }
/// <summary> /// Initializes a new instance of the <see cref="slackSquaredEqualityFromInequality"/> class. /// </summary> /// <param name="formerIneq">The former ineq.</param> /// <param name="slackIndex">Index of the slack.</param> /// <param name="optMethod">The opt method.</param> public slackSquaredEqualityFromInequality(IInequality formerIneq, int slackIndex, abstractOptMethod optMethod) { this.formerIneq = formerIneq; this.slackIndex = slackIndex; this.optMethod = optMethod; }