Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 1.05 KB

index.rst

File metadata and controls

47 lines (26 loc) · 1.05 KB

Getting Started

Installation Instructions:

From your python environment (we recommend Anaconda), just type:

>> pip install openmdao[all]

Note

The [all] suffix to the install command ensures that you get all the optional dependencies (e.g. for testing and visualization). You can omit this for a minimal installation.

Sample Optimization File

With OpenMDAO installed, let's try out a simple example, to get you started running your first optimization. Copy the following code into a file named paraboloid_min.py:

openmdao.test_suite.test_examples.tldr_paraboloid.TestParaboloidTLDR.test_tldr

Then, to run the file, simply type:

>> python paraboloid_min.py

If all works as planned, results should appear as such:

openmdao.test_suite.test_examples.tldr_paraboloid.TestParaboloidTLDR.test_tldr