Skip to content

pdipmqpneq2.m

Basic Information

  USAGE:   rep = pdipmqpneq2(H,h,E,f,kmax,epstop,eta)

  PURPOSE: Solve the particular quadratic program (no equality constraint)
           min_z (0.5*x'*H*x+h'*x), s.t. E*x<=f  (QP/neq)

  INPUTS: H, Hessian term nx-by-nx (decision variable x is nx-by-1)
          h, linear term nx-by-1
          E, inequality constraint matrix nz-by-nx (nz is # constraints)
          f, inequality constraint rhs data nz-by-1
          kmax, maximum number of iterations, range 1 to 200
          epstop, relative tolerance, range 1e-12 to 1e-3 (def. 1e-9)
          eta, dampening factor, 0<eta<1 (default 0.95)

          Any/all of kmax=[],epstop=[],eta=[] is allowed and sets
          the parameter to the default; but this generates a message
          that warns about defaulting behavior.

  OUTPUTS: rep, structure with solution and other parameters
            rep.descriptions details the contents of rep

  METHOD: Uses a primal-dual interior point method based on the
          standard predictor-corrector technique.
          The initial point is automatically set.
          All constraints must be present.
          This code uses a relative norm stop condition.

Dependencies