However, when I use some code that uses the IPOPTSolver function, that function calls code from the pyadjoint / optimization / ipopt_solver.py folder and generates the following error:
File “/Users/userxyz/opt/anaconda3/envs/fenicsproject/lib/python3.8/site-packages/pyadjoint/optimization/ipopt_solver.py”, line 27, in __build_pyipopt_problem
import pyipopt
ModuleNotFoundError: No module named ‘pyipopt’
You are using an outdated version of pyadjoint. The current version uses another version (introduced in this commit, as can be seen in the master branch files