Replies: 1 comment 2 replies
-
I get different errors when I run your model, and will dig a little bit more to see if I can replicate that. I'm not sure how you are getting that error for the installation check, it seems like "IPOPT" is getting passed to the scipy driver which is not supposed to happen if you are not using "SLSQP". What version of Aviary are you using, and how did you install it (from github, downloaded via pip, etc.)? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, i am currently working on Aviary for my internship and i am having a strange issue. first of all i want to say that i followed the installation guide for Aviary. The real issue comes from the code run_S45_L2.py that you can find in the folder i attached to this question, when i run it it gives me errors, it always the same one "TypeError: 'NoneType' object is not subscriptable". What's strange is that my colleague who run the same code as me doesn't have this issue, maybe it's because he is using an older version (V0.9.10).
Another strange thing is that now when i run an Aviary check in my command i get this message :
"Testing imports:
Importing OpenMDAO
success
Importing pyOptSparse
success
The following optimizers are available for use: ['SLSQP', 'IPOPT']
Importing Aviary api
success
Running a basic Aviary model using the IPOPT optimizer:
The following error occurred while running the Aviary problem: ScipyOptimizeDriver: Value ('IPOPT') of option 'optimizer' is not one of {'BFGS', 'COBYLA', 'CG', 'L-BFGS-B', 'basinhopping', 'dual_annealing', 'TNC', 'shgo', 'Newton-CG', 'Powell', 'Nelder-Mead', 'trust-constr', 'differential_evolution', 'SLSQP'}."
If anyone know what might be the cause of these errors i would be really grateful. thank you in advance for your answers.
Wishing you all a great day.
S45_HE_MF_AC_PTE_COL.zip
Beta Was this translation helpful? Give feedback.
All reactions