Second Order Algorithms
=======================

.. currentmodule:: omnisafe.algorithms.on_policy

.. autosummary::

    CPO
    PCPO


.. _cpoapi:


Constraint Policy Optimization
------------------------------

.. card::
    :class-header: sd-bg-success sd-text-white
    :class-card: sd-outline-success  sd-rounded-1

    Documentation
    ^^^

    .. autoclass:: CPO
        :members:
        :private-members:




.. _pcpoapi:


Projection Based Constraint Policy Optimization
-----------------------------------------------

.. card::
    :class-header: sd-bg-success sd-text-white
    :class-card: sd-outline-success  sd-rounded-1

    Documentation
    ^^^

    .. autoclass:: PCPO
        :members:
        :private-members:
