.. _sphx_glr_master-tutorial_2_black-box:
Magnopy as a black box
======================
Alternative way to use magnopy, that does not require knowledge of Python is through
its command line interface.
.. hint::
The command line scripts can be run from within python as well, see:
|magnopy-scenarios|_. One can study the source code of
:external:py:func:`magnopy.scenarios.optimize_sd` and
:external:py:func:`magnopy.scenarios.solve_lswt` for more advance example of how
magnopy can be used as a python library.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /master-tutorial/2_black-box/images/thumb/sphx_glr_plot-1-optimize-sd_thumb.png
:alt:
:doc:`/master-tutorial/2_black-box/plot-1-optimize-sd`
.. raw:: html
magnopy-optimize-sd
.. raw:: html
.. only:: html
.. image:: /master-tutorial/2_black-box/images/thumb/sphx_glr_plot-2-lswt_thumb.png
:alt:
:doc:`/master-tutorial/2_black-box/plot-2-lswt`
.. raw:: html
magnopy-lswt
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/master-tutorial/2_black-box/plot-1-optimize-sd
/master-tutorial/2_black-box/plot-2-lswt