openmdao-plugins / pyopt_driver Goto Github PK
View Code? Open in Web Editor NEWDriver wrapper for the open-source optimization package pyOpt
License: Other
Driver wrapper for the open-source optimization package pyOpt
License: Other
OpenMDAO wrapper for pyOpt, an open-source optimization package that provides a Python interface for ~18 Optimizers, half of which are also open_source and included in pyOpt. Note, pyOpt must be downloaded and installed separately. The pyOpt project is actively maintained by its author Dr. Ruben Perez at: http://www.pyopt.org This wrapper was tested against pyOpt 1.1, but should also work for earlier versions. Also, note that some of the optimizers in pyOpt must also be obtained separately. Those optimizers that are not commercial, which is roughly half of them, are included in the pyOpt package. To view the Sphinx documentation for this distribution, type: openmdao docs pyopt_driver
Hello
My name is Dae Young Lee and Ph.D student of University of Michigan.
I am trying to add new discipline in CADRE mdo.
Currently, John Hwang's CADRE code is working with pyopt and snopt environment.
I have installed OpenMDAO, pyopt_driver and CADRE plug in.
However, following error happens.
(openmdao-0.9.7)daylee@ubuntu:~/openmdao-0.9.7/CADRE$ python example.py
setting up
Traceback (most recent call last):
File "example.py", line 5, in
top = CADRE_Optimization(n=1500, m=300)
File "/home/daylee/openmdao-0.9.7/local/lib/python2.7/site-packages/CADRE-0.5-py2.7.egg/CADRE/CADRE_mdp.py", line 24, in init
self.driver.optimizer = "SNOPT"
File "/home/daylee/openmdao-0.9.7/local/lib/python2.7/site-packages/openmdao.main-0.9.7-py2.7.egg/openmdao/main/datatypes/enum.py", line 118, in validate
self.error(obj, name, value)
File "/home/daylee/openmdao-0.9.7/local/lib/python2.7/site-packages/openmdao.main-0.9.7-py2.7.egg/openmdao/main/datatypes/enum.py", line 138, in error
obj.raise_exception(msg, ValueError)
File "/home/daylee/openmdao-0.9.7/local/lib/python2.7/site-packages/openmdao.main-0.9.7-py2.7.egg/openmdao/main/container.py", line 1644, in raise_exception
raise exception_class(full_msg)
ValueError: driver: Variable 'optimizer' must be in ['ALHSO', 'ALPSO', 'COBYLA', 'CONMIN', 'GCMMA', 'KSOPT', 'MIDACO', 'MMFD', 'NSGA2', 'PSQP', 'SLSQP', 'SOLVOPT'], but a value of SNOPT <type 'str'> was specified.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.