diff --git a/UQPyL/optimization/asmo.py b/UQPyL/optimization/asmo.py index 476dbbf5..f6317706 100644 --- a/UQPyL/optimization/asmo.py +++ b/UQPyL/optimization/asmo.py @@ -94,7 +94,7 @@ def run(self,maxFE=1000, Tolerate=0.001, maxTolerateTime=50, oneStep=False): else: self.surrogate.fit(XPop, YPop) res=SCE_UA(self.subProblem).run() - BestX_SM=res['best_decs'] + BestX_SM=res['best_dec'] TempY=self.evaluate(BestX_SM) diff --git a/UQPyL/optimization/mo_asmo.py b/UQPyL/optimization/mo_asmo.py index eee9c428..55692f12 100644 --- a/UQPyL/optimization/mo_asmo.py +++ b/UQPyL/optimization/mo_asmo.py @@ -101,8 +101,8 @@ def run(self): nsga_ii=NSGAII(self.subProblem, self.n_pop) #main optimization Result=nsga_ii.run() - BestX=Result['pareto_X'] - BestY=Result['pareto_Y'] + BestX=Result['pareto_x'] + BestY=Result['pareto_y'] CrowdDis=Result['crowdDis'] if self.advance_infilling==False: