Class LinearEqualityConstraint

All Implemented Interfaces:
MultivariateVectorFunction, Constraint, VectorDifferentiableFunction, OptimizationData

public class LinearEqualityConstraint extends EqualityConstraint implements OptimizationData
A set of linear equality constraints given as Ax = b.
Since:
3.1
  • Constructor Details

    • LinearEqualityConstraint

      public LinearEqualityConstraint(RealMatrix a, RealVector b)
      Construct a set of linear equality constraints ax = b. Represents equations a[i].x = b[i], for each row of a.
      Parameters:
      a - the matrix of linear weights
      b - the vector of constants
    • LinearEqualityConstraint

      public LinearEqualityConstraint(double[][] a, double[] b)
      Construct a set of linear equality constraints ax = b. Represents equations a[i].x = b[i], for each row of a.
      Parameters:
      a - the matrix of linear weights
      b - the vector of constants
  • Method Details