Git Product home page Git Product logo

pyopt_driver's Introduction

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

pyopt_driver's People

Contributors

kenneth-t-moore avatar setowns1 avatar hschilling avatar fzahle avatar kmarsteller avatar

Stargazers

leal26 avatar  avatar Rey F. Diaz avatar Eugene avatar  avatar  avatar  avatar  avatar Justin Gray  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

pyopt_driver's Issues

pyopt_driver's snopt is not working.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.