Class LagrangeSolution

java.lang.Object
org.hipparchus.optim.nonlinear.vector.constrained.LagrangeSolution
Direct Known Subclasses:
ADMMQPSolution

public class LagrangeSolution extends Object
Container for Lagrange t-uple.
Since:
3.1
  • Constructor Details

    • LagrangeSolution

      public LagrangeSolution(RealVector x, RealVector lambda, double value)
      Simple constructor.
      Parameters:
      x - solution
      lambda - Lagrange multipliers
      value - objective function value
  • Method Details

    • getX

      public RealVector getX()
      Returns X solution
      Returns:
      X solution
    • getLambda

      public RealVector getLambda()
      Returns Lambda Multiplier
      Returns:
      X Lambda Multiplier
    • getValue

      public double getValue()
      Returns min(max) evaluated function at x
      Returns:
      min(max) evaluated function at x