Code Monkey home page Code Monkey logo

pyoptsparse's Introduction

pyOptSparse - PYthon OPTimization (Sparse) Framework

pyOptsparse is an object-oriented framework for formulating and solving nonlinear constrained optimization problems in an efficient, reusable, and portable manner. It is a fork of pyOpt that uses sparse matrices throughout the code to more efficiently handle large-scale optimization problems. Many optimization techniques can be used in pyOptSparse, including both gradient-based and gradient-free methods. A visualization tool called OptView also comes packaged with pyOptSparse, which shows the optimization history through an interactive GUI. An example output from OptView is shown below.

Example

Optimizer Support

pyOptSparse provides Python interfaces for a number of optimizers. ALPSO, CONMIN, IPOPT, NLPQLP, NSGA2, PSQP, ParOpt, SLSQP, and SNOPT are currently tested and supported. FSQP, AUGLAG, and NOMAD interfaces are also provided, but they are not tested nor supported.

We do not provide the source code for SNOPT and NLPQLP, due to their restrictive license requirements. Please contact the authors of the respective codes if you wish to obtain them. Furthermore, ParOpt and IPOPT are available as a open source package but must be installed separately. Please see the documentation page of each optimizer for purchase and installation instructions.

Documentation

Please see the documentation for installation details and API documentation.

To locally build the documentation, enter the doc folder and enter make html in terminal. You can then view the built documentation in the _build folder.

Testing

Testing is done with the testflo package developed by the openMDAO team, which can be installed via pip install testflo. To run the tests, simply type testflo . in the root directory.

Citation

A pyOptSparse journal paper does not exist, instead please cite pyOpt and the authors of the respective optimization algorithms in any publication for which you find it useful. For more background, theory, and figures, see the pyOpt journal article.

Perez, R. E., Jansen, P. W., and Martins, J. R. R. A., “pyOpt: A Python-Based Object-Oriented Framework for Nonlinear Constrained Optimization,” Structural and Multidisciplinary Optimization, Vol. 45, No. 1, January 2012, pp. 101–118. doi:10.1007/s00158-011-0666-3.

@article{Perez2012a,
	Author = {Ruben E. Perez and Peter W. Jansen and Joaquim R. R. A. Martins},
	Doi = {10.1007/s00158-011-0666-3},
	Journal = {Structural and Multidisciplinary Optimization},
	Month = {January},
	Number = {1},
	Pages = {101--118},
	Title = {{pyOpt}: A {Python}-Based Object-Oriented Framework for Nonlinear Constrained Optimization},
	Volume = {45},
	Year = {2012},
	Annote = {10.1007/s00158-011-0666-3}}

License

Copyright 2019 MDO Lab. See the LICENSE file for details.

pyoptsparse's People

Contributors

achase90 avatar andrewning avatar anilyil avatar camader avatar dwmunster avatar eirikurj avatar ewu63 avatar friedenhe avatar fzahle avatar gjkennedy avatar gkenway avatar johnjasa avatar jrram avatar justinsgray avatar kenneth-t-moore avatar lvzhoujie avatar naylor-b avatar nbons avatar nischintu avatar robfalck avatar swryan avatar

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.