Skip to content

Commit f4672cb

Browse files
committed
Add IBCDFO imports in APOSMM functions
1 parent 699d7ca commit f4672cb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

libensemble/gen_funcs/aposmm_localopt_support.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ def run_local_ibcdfo_manifold_sampling(user_specs, comm_queue, x0, f0, child_can
433433
support that, so APOSMM assumes the first point will be re-evaluated (but
434434
not be sent back to the manager).
435435
"""
436+
from ibcdfo import run_MSP # noqa: F811
437+
436438
n = len(x0)
437439
# Define bound constraints (lower <= x <= upper)
438440
lb = np.zeros(n)
@@ -487,6 +489,8 @@ def run_local_ibcdfo_pounders(user_specs, comm_queue, x0, f0, child_can_read, pa
487489
support that, so APOSMM assumes the first point will be re-evaluated (but
488490
not be sent back to the manager).
489491
"""
492+
from ibcdfo import run_pounders # noqa: F811
493+
490494
n = len(x0)
491495
# Define bound constraints (lower <= x <= upper)
492496
lb = np.zeros(n)

0 commit comments

Comments
 (0)