text-to-optimization
CommunityTurn word problems into reproducible JuMP models
AuthorASUKaiwenFang
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Converts natural-language optimization word problems into a validated intermediate representation and deterministic solver artifacts so models are reproducible, consistent, and ready to solve.
Core Features & Use Cases
- Structured IR: extracts all numeric inputs as named parameters and encodes problems in a JSON schema-validated IR.
- Deterministic exports: generates both a human-readable Markdown mathematical formulation and deterministic Julia/JuMP code.
- Integrated solve pipeline: boots Julia, validates the IR, exports artifacts, runs HiGHS, and appends results to the Markdown; useful for production planning, resource allocation, and transportation models.
Quick Start
Ask the agent to "Maximize weekly profit given limited labor and machine hours" and the skill will produce a schema-validated IR, a Markdown formulation, deterministic Julia/JuMP code, and solver results.
Dependency Matrix
Required Modules
JSON3JSONSchemaJuMPHiGHSMathOptInterfacePackageCompiler
Components
scriptsreferencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: text-to-optimization Download link: https://github.com/ASUKaiwenFang/text-to-optimization/archive/main.zip#text-to-optimization Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.