Step 2: Database Integration ============================= This step adds SQLAlchemy ORM integration for persistent data storage. Overview -------- Learn how to integrate LumiX with SQLAlchemy for type-safe database operations. For detailed documentation, see the README in the tutorial directory. Key Topics ---------- - SQLAlchemy declarative models - Loading LumiX models with from_model() - Bill of Materials (BOM) structure - Solution persistence - Cached helper functions Quick Start ----------- .. code-block:: bash cd tutorials/production_planning/step2_database_integration python sample_data.py python production_db.py See Also -------- - :doc:`step1_basic` - Previous step - :doc:`step3_goals` - Next step: Goal programming - :doc:`index` - Production planning tutorial overview