Class FunctionAndConstraint

java.lang.Object
de.labathome.trustconstr.records.FunctionAndConstraint

public final class FunctionAndConstraint extends Object
Bundle of an objective value f(x) and a constraint vector c(x).
  • Constructor Details

    • FunctionAndConstraint

      public FunctionAndConstraint(double f, Matrix c)
      Parameters:
      f - scalar objective value
      c - constraint vector
  • Method Details

    • f

      public double f()
      Returns:
      objective value f(x)
    • c

      public Matrix c()
      Returns:
      constraint vector c(x)