pyOptSparse Error: There was an error importing the compiled ffsqp module #304
-
Hi everyone, I'm having some trouble with the FSQP optimizer. My code is just:
this results in the error:
Would anyone be able to advise on what i could do to fix this problem? My operating system is Ubuntu 18.04.6 LTS and I am using pyoptsparse V2.1.0 with scipy version 1.2.3 and numpy version 1.19.5. I am not using conda, and these are all installed in a python virtual environment. I installed pyoptsparse by activating my virtual env and executing the following commands:
This appears to install pyoptsparse correctly, as I can import it into my code without issue, but still results in the above error when i try to use FSQP. This error is not present for most of the solvers in pyoptsparse, I was only able to reproduce it with IPOPT, NLQLP, ParOpt, SNOPT and FSQP. I think this is happening for the others because they require external code to operate which cannot be distributed with pyoptsparse for licensing reasons, is this also the case with FSQP? I had assumed FSQP would work "out of the box" because when i go to Any advice would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
FSQP is proprietary like NLPQLP and SNOPT. The files we had in |
Beta Was this translation helpful? Give feedback.
FSQP is proprietary like NLPQLP and SNOPT. The files we had in
pyFSQP/source
were not the actual source files. We removed FSQP in v2.1.2 because we could not test the wrapper without access to the source.