/Compendia/Building the LEGO® Opt App!/Sketch the Model/Sketch the ModelUpdated: 28 March 2024· Variables Objectives ConstraintsAuthorMartin LaskowskiOptimization EngineerLEGO - This article is part of a series.Part 1: The Problem DescriptionPart 2: Plan the BuildoutPart 3: Unbox the Data!Part 4: This ArticlePart 5: Connect Model to DataPart 6: Group SETSPart 7: Add a Text-based User InterfacePart 8: Write the ModelPart 9: Shrink the ProblemPart 10: Make on-the-fly model modsPart 11: Tune the Solver!!!Part 12: Switch our glue language to PythonPart 13: Add a Streamlit User InterfacePart 14: Go Dynamic! ...with iterative solvingPart 15: Let's Containerize!Part 16: Spec (rock!) the Hardware ;)Part 17: Mistakes, lies & abandoned featuresPart 18: RECAP! ...and what happens nextStep-by-step we ideate model variables and constraints, jotting these down initially as natural language comments in our new AMPL model.mod file.LEGO - This article is part of a series.Part 1: The Problem DescriptionPart 2: Plan the BuildoutPart 3: Unbox the Data!Part 4: This ArticlePart 5: Connect Model to DataPart 6: Group SETSPart 7: Add a Text-based User InterfacePart 8: Write the ModelPart 9: Shrink the ProblemPart 10: Make on-the-fly model modsPart 11: Tune the Solver!!!Part 12: Switch our glue language to PythonPart 13: Add a Streamlit User InterfacePart 14: Go Dynamic! ...with iterative solvingPart 15: Let's Containerize!Part 16: Spec (rock!) the Hardware ;)Part 17: Mistakes, lies & abandoned featuresPart 18: RECAP! ...and what happens next