Skip to main content
. 2026 Jan 18;28(1):115. doi: 10.3390/e28010115
Algorithm 1 Extended AB algorithm for the optimization problem (2)
  • Input: 

    p(y|x,s), p(z|x,s), p(s).

  •   1:

    Compute Dmin and Dmax and select D[Dmin,Dmax].

  •   2:

    Initialize p(u,x),c(u,z).

  •   3:

    while not converge do

  •   4:

       Update q(x|u,y,s) and q(u|z) based on (9).

  •   5:

       Solve λ based on the equation (13).

  •   6:

       Update p(u,x) based on (12).

  •   7:

       Update c(u,z) based on (10).

  •   8:

    end while

  • Output: 

    p(u,x).