Skip to content

Commit

Permalink
added review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulJonasJost committed Jul 8, 2024
1 parent 3939930 commit 86188ba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/base/test_roadrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ def test_deepcopy():
assert obj(problem_parameters) != copied_objective(problem_parameters)


# write unit test to check whether roadrunner objective works with
# multiprocessing
def test_multiprocessing():
"""Test that multiprocessing works as intended"""
model_name = "Boehm_JProteomeRes2014"
Expand All @@ -164,11 +162,11 @@ def test_multiprocessing():
progress_bar=False,
)

engine = pypesto.engine.MultiProcessEngine(n_procs=15)
engine = pypesto.engine.MultiProcessEngine(n_procs=8)

result = pypesto.optimize.minimize(
problem=problem,
n_starts=30,
n_starts=15,
engine=engine,
progress_bar=True,
)
Expand Down

0 comments on commit 86188ba

Please sign in to comment.