Skip to main content
. 2025 Jul 29;25(15):4694. doi: 10.3390/s25154694
Algorithm 1 SQP for Antenna Position Optimization
  • 1:

    Initial: position χ0=[x0T,z0T]T, hessian approximation U0=I2N×2N, lagrange multipliers λ0=0, tolerance ϵ>0, penalty parameter μ>0

  • 2:

    Set t0

  • 3:

    while χt+1χt2 ϵ ormaxgij(χt+1)>ϵ do

  • 4:

        Compute f(χt) and gij(χt)

  • 5:
        Solve the QP:
    mind12dTUtd+f(χt)Tds.t.gij(χt)Tdgij(χt),i<j
  • 6:

        Obtain search direction dt and multipliers λt+1

  • 7:
        Find step size αt(0,1] minimizing the merit function:
    ϕ(α)=f(χt+αdt)+μi<jmax0,gij(χt+αdt)
  • 8:

        χt+1χt+αtdt

  • 9:

        mt=χt+1χt

  • 10:

       rtχL(χt+1,λt+1)χL(χt,λt+1)

  • 11:
       Update Ut+1 via BFGS:
    Ut+1=UtUtmtmtTUtmtTUtmt+rtrtTmtTrt
  • 12:

        tt+1

  • 13:

    end while

  • 14:

    Return: χχt