From 3e2bf16fd7ab0f6ea8bc5c2ed8b5ebe22a85d4ca Mon Sep 17 00:00:00 2001 From: Smasky <492109831@qq.com> Date: Tue, 7 May 2024 15:02:58 +0800 Subject: [PATCH] 'v2.0.2' --- UQPyL/optimization/asmo.py | 2 +- UQPyL/optimization/mo_asmo.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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: