LEAN-LLM-OPT
ConnectingResearch home
PROBLEM & DATA

Optimization modeling

Start with an optimization problem

Run an example, or upload CSVs and enter your own question.

Enter to send · Shift + Enter for a new line

MODELING WORKSPACE

Conversations

CSV PREVIEW

First 20 rows; runs use the complete file.

THIS PAGE

Personal settings

Add your OpenAI API key to run GPT-4.1.

Kept only in this page’s memory; refreshing or closing the page clears it.

FIRST RUN

Setting up Python in this browser

Generated code is solved in this page with Python and HiGHS. This first setup downloads about 35 MB; later visits load it from the browser cache.

RUN ON YOUR COMPUTER

Use your OpenAI key

  1. Install and open Ollama

    Download Ollama

  2. Download the generation and retrieval models in a terminal
    ollama pull gpt-oss:20b
    ollama pull nomic-embed-text
    Model information and requirements
Start the modeling workspace on this computer

Download and extract the runtime package, then open a terminal in the extracted folder:

Download local runtime
python3 scripts/run_demo.py --open

Requires Python 3.10+. On Windows, use python instead of python3.

Python execution environment

Running the generated Python locally requires Docker and a valid Gurobi license. Formulations and code are available without them.