.. _settings: Settings -------- The settings are defined in the :code:`include/structs.h` file. .. tabularcolumns:: |p{4.5cm}|p{8.5cm}|p{1.5cm}|p{6.5cm}|L| +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+ | Name | Type |Description | Allowed values | Default value | +================================+=======================+============================================================+=====================+===============+ | :code:`max_iters` | :code:`QOCOInt` | Maximum number of iterations | :math:`(0, \infty)` | 200 | +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+ | :code:`bisect_iters` | :code:`QOCOInt` | Number of bisection iterations to perform during linesearch| :math:`(0, \infty)` | 5 | +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+ | :code:`ruiz_iters` | :code:`QOCOInt` | Number of Ruiz equilibration iterations performed | :math:`(0, \infty)` | 0 | +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+ | :code:`iter_ref_iters` | :code:`QOCOInt` | Number of iterative refinement iterations to perform | :math:`(0, \infty)` | 1 | +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+ | :code:`kkt_static_reg` | :code:`QOCOFloat` | static regularization added to KKT system | :math:`(0, \infty)` | 1e-8 | +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+ | :code:`kkt_dynamic_reg` | :code:`QOCOFloat` | dynamic regularization added to KKT system | :math:`(0, \infty)` | 1e-8 | +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+ | :code:`abstol` | :code:`QOCOFloat` | absolute tolerance | :math:`(0, \infty)` | 1e-7 | +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+ | :code:`reltol` | :code:`QOCOFloat` | relative tolerance | :math:`(0, \infty)` | 1e-7 | +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+ | :code:`abstol_inacc` | :code:`QOCOFloat` | low accuracy absolute tolerance | :math:`(0, \infty)` | 1e-5 | +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+ | :code:`reltol_inacc` | :code:`QOCOFloat` | low accuracy relative tolerance | :math:`(0, \infty)` | 1e-5 | +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+ | :code:`verbose` | :code:`unsigned_char` | should the solver print progress | 0 or 1 | 0 | +--------------------------------+-----------------------+------------------------------------------------------------+---------------------+---------------+