Class PrimalDualSolution


  • public class PrimalDualSolution
    extends Object
    The vector set {x, s, y} is a solution to both the primal and dual SOCP problems.
    • Field Detail

      • x

        public final ImmutableVector x
        This is the minimizer for the primal problem.
      • y

        public final ImmutableVector y
        This is the maximizer for the dual problem.
      • s

        public final ImmutableVector s
        This is the auxiliary helper to solve the dual problem.
    • Constructor Detail

      • PrimalDualSolution

        public PrimalDualSolution​(Vector x,
                                  Vector s,
                                  Vector y)
        Construct a solution to a primal and a dual SOCP problems.
        Parameters:
        x - the minimizer for the primal problem
        s - the auxiliary helper to solve the dual problem
        y - the maximizer for the dual problem