Skip to content

Commit

Permalink
python: make optimparallel package optional
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgeorge309 committed Sep 21, 2024
1 parent 72f30c0 commit d7a672f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/inet/simulation/optimize.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import math
import optimparallel
import scipy.optimize
import time

import importlib.util

if importlib.util.find_spec('optimparallel'):
import optimparallel

from omnetpp.scave.results import *

from inet.simulation.config import *
Expand Down

0 comments on commit d7a672f

Please sign in to comment.