dcolli23 / dcolli23/PyOpt

Figure hangs when plotting using default options

Open
#25 0 comments 0 reactions 1 assignee Claimed by @dcolli23 View on GitHub
bug
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

# Description

The figure used for `SimplexPlotterMixin` hangs when using the default options. However, I don't believe this issue is with the `SimplexPlotterMixin` figure at all. I believe this is to do with how `SimulationRunner` calls the command for optimization.

# Proposal

`SimulationRunner.run_simulation` currently uses `subprocess.call` to run the model that we're optimizing. By changing this to `subprocess.Popen` and repeatedly updating the figure/polling to see if the job ended we can mitigate this hang.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.