CVXlab documentation ==================== **CVXlab** is an open-source Python laboratory for creating and solving convex optimization models from low-level settings, structured data, and symbolic expressions. It combines *YAML* or *Excel*-based model setup, *SQLite*-backed data management, and *CVXPY*-based numerical solving in one unique and reproducible workflow. **Version:** |version| **Date:** |today| **Useful links**: `PyPI `_ | `Source code `_ | `Issue tracker `_ How it works ------------ The figure below summarizes the package workflow. The detailed step-by-step explanation is in the :ref:`user_guide`, while runnable examples are collected in the :ref:`resources` section. .. _fig:cvxlab_in_a_nutshell: .. figure:: _static/CVXlab_nutshell.png :alt: CVXlab modeling process in a nutshell :align: center Why CVXlab ---------- - **General-purpose model generator**. Build a wide range of convex optimization models. - **Almost no code required**. Define model structure through *YAML* or *Excel* templates instead of hand-coding every object. - **Centralized data management**. Organize data in a *SQLite* database for traceable, reusable data handling. - **Powerful engine embedded**. Build convex and decomposed optimization workflows on top of `CVXPY `_. Start here ---------- .. list-table:: :header-rows: 1 :widths: 24 76 * - Section - What you will find * - :doc:`installation` - How to install CVXlab and verify that the environment is ready. * - :doc:`user_guide` - The full modeling workflow, from conceptual model definition to results export. * - :doc:`resources` - Tutorials, models gallery and related publications. * - :doc:`api_reference` - Technical reference for ``cvxlab.Model``, utilities, operators, constants, and defaults. .. toctree:: :maxdepth: 1 :hidden: installation user_guide resources api_reference changelog contributing .. note:: CVXlab is developed by `Matteo V. Rocco `_, Associate Professor at *SESAM group*, `Department of Energy, Politecnico di Milano `_. The project is released under the `Apache License 2.0 `_.