Skip to content

Commit c89a65c

Browse files
committed
fix
1 parent a64af3d commit c89a65c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Drivers/hiopbbpy/BODriverEX.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ def cons_jac_vec(x):
100100
options = {
101101
'acquisition_type': acq_type,
102102
'log_level': 'info',
103-
'bo_maxiter': 5,
103+
'bo_maxiter': 10,
104104
'opt_solver': 'IPOPT', #"SLSQP" "IPOPT" "trust-constr"
105-
'batch_size': 2,
105+
'batch_size': 3,
106106
'solver_options': {
107107
'max_iter': 200,
108108
'print_level': 1

src/hiopbbpy/opt/boalgorithm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ def __init__(self, fun, method, bounds, constraints, solver_options):
267267
# Find the minimum of the input objective `fun`, using the minimize function from SciPy.
268268
def minimizer_callback(self, x0s):
269269
output = []
270+
msg = ""
270271
for x0 in x0s:
271272
if self.method == "SLSQP":
272273
if 'grad' in self.fun:

0 commit comments

Comments
 (0)