Problem with running Ipopt with Pardiso on jupyter notebook

I can solve the problem without any problem when the code is in a filename.jl file and I run it using include("filename.jl") method

I’m not sure then. It’s likely that Jupyter is messing with your load path. This seems more like a Jupyter question than one specific to Ipopt.