/Compendia/Building the LEGO® Opt App!/Add a Text-based User Interface/Add a Text-based User InterfaceUpdated: 28 March 2024· Flat Files UI AMPLAuthorMartin LaskowskiOptimization EngineerLEGO - This article is part of a series.Part 1: The Problem DescriptionPart 2: Plan the BuildoutPart 3: Unbox the Data!Part 4: Sketch the ModelPart 5: Connect Model to DataPart 6: Group SETSPart 7: This ArticlePart 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 nextWe add a simple but functional, attractive text-based user interface by way of a flat data file formatted for good readability and manual data input.LEGO - This article is part of a series.Part 1: The Problem DescriptionPart 2: Plan the BuildoutPart 3: Unbox the Data!Part 4: Sketch the ModelPart 5: Connect Model to DataPart 6: Group SETSPart 7: This ArticlePart 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