Learn R Programming

MOLHD (version 0.2)

cpf2: Combine Pareto front designs of 2 criteria

Description

Combine Pareto front designs of 2 criteria

Usage

cpf2(newdes, newpfval, curdes, curpfval)

Arguments

newdes

a matrix which is a column bind of new designs

newpfval

a matrix each row is 2 criteria correponding to each design

curdes

a matrix which is a column bind of current designs on Pareto front

curpfval

a matrix each row is 2 criteria correponding to each Pareto front design

Value

pfdes

The column bind of Pareto front designs

pfvals

The Pareto front values corresponding to the Pareto front designs

Details

This function is used to combine 2 criteria Pareto front designs

Examples

Run this code
# NOT RUN {
#Combine Pareto fronts each with 5 random starts for Mm and mp criteria
# }
# NOT RUN {
pf1=pfMp(20,2,crlim = cbind(c(4.5,6.5),c(26,36)),nstarts = 5)
pf2=pfMp(20,2,crlim = cbind(c(4.5,6.5),c(26,36)),nstarts = 5)
pfnew=cpf2(pf1$pfdes,pf1$pfvals,pf2$pfdes,pf2$pfvals)
pfnew$pfdes
pfnew$pfvals
# }

Run the code above in your browser using DataLab