2. Installation#

  • Install from PyPI using the following terminal command. Refer getting started to solve OCPs.

pip install mpopt
  • (OR) Build directly from source (Terminal). Finally, make run to solve the moon-lander example described below.

git clone https://github.com/mpopt/mpopt.git --branch master
cd mpopt
make build
make run
source env/bin/activate

For discussions related to installation, refer issues

Next steps: :doc:`./getting_started>`_, :doc:`./examples`_