This is an implementation of the CADRE CubeSat problem for OpenMDAO 3.x.
Note
CADRE is an interesting optimization problem, but this code should not be used as an example of how to use OpenMDAO. This problem was implemented in the early days of OpenMDAO and has not been in active development for a long time, so it doesn't reflect the proper use of the current OpenMDAO API.
Instructions for the latest development version:
git clone [email protected]:OpenMDAO/CADRE
cd CADRE
pip install -e .[all]
This will install CADRE with most of the required dependencies for testing, including MBI.
Some examples use the pyOptSparse package with the SNOPT optimizer. These will require that you have SNOPT, which you may be able to get here. Once you have SNOPT, you can follow the instructions here or use the build_pyoptsparse script to install it for use with OpenMDAO. e.g.
pip install git+https://github.com/OpenMDAO/build_pyoptsparse
build_pyoptsparse -s /path/to/SNOPT/src
For parallel execution you will also need MPI and PETSc4py:
pip install mpi4py petsc4py
or
conda install mpi4py petsc4py