We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 204597f commit 4b4556cCopy full SHA for 4b4556c
src/hiopbbpy/opt/boalgorithm.py
@@ -64,7 +64,7 @@ def getOptimalPoint(self):
64
# Method to return the optimal objective
65
def getOptimalObjective(self):
66
y_opt = np.array(self.y_opt, copy=True)
67
- return y_opt
+ return y_opt[0]
68
69
# A subclass of BOAlgorithmBase implementing a full Bayesian Optimization workflow
70
class BOAlgorithm(BOAlgorithmBase):
0 commit comments