Skip to main content
. 2022 Apr 15;15(8):2902. doi: 10.3390/ma15082902
Algorithm 2 MFGP—Bayesian Optimization
Require: Search space for optimization, X*; MFGP prior with mean function, μ(x) and kernel function, k(x,x); objective function, J(t,P,v); number of optimization steps allowed, Nopt; NH,NL, accepted tolerance for the melt pool depth, ϵ
  • 1:

    fori1 to Nopt do

  • 2:

        if |d(t,P,v)d*|<ϵ then

  • 3:

            Perform HF simulations at x^=argmaxxEI(x)

  • 4:

            Augment data with HF predictions, update MFGP

  • 5:

            Perform LF simulations at x^=argmaxxGPMI(x)

  • 6:

            Augment data with LF predictions, update MFGP

  • 7:

        else

  • 8:

            break

  • 9:

        end if

  • 10:

    end for