This repository demonstrates how to solve Linear Programming (LP) and Non-Linear Programming (NLP) problems using the Sequential Thinking Model Context Protocol (MCP). The approach breaks down complex optimization problems into systematic, verifiable steps while maintaining flexibility for revisions and alternative paths.
This solution uses the Claude Desktop App, which provides access to Anthropic's Claude AI assistant and the Sequential Thinking MCP server. You can access Claude through:
The Model Context Protocol (MCP) is an open standard that enables secure, two-way connections between AI models and various tools and data sources. Think of it like USB-C for AI - it provides a standardized way to connect AI models to different data sources and tools.
The MCP follows a client-server architecture where:
- Hosts are LLM applications (like Claude Desktop) that initiate connections
- Clients maintain 1:1 connections with servers inside the host application
- Servers provide context, tools, and prompts to clients
For detailed architecture diagrams and documentation, visit the Model Context Protocol Documentation.
In our case, we're using the Sequential Thinking MCP Server through Claude Desktop App, which provides structured problem-solving capabilities through a client-host-server architecture. This allows us to:
- Break down complex problems systematically
- Maintain solution context throughout the process
- Revise and adapt our thinking as needed
- Connect with other tools and data sources when necessary
docs/
: Documentation and methodologymethodology.md
: Core Sequential Thinking methodologymcp_servers.md
: Detailed explanation of MCP Serverssequential_thinking_guide.md
: Comprehensive usage guide
examples/
: Example problems and solutionsfurniture_manufacturing.md
: Linear Programming examplemarketing_budget_nlp.md
: Non-Linear Programming exampleproblem_variations.md
: Additional problem scenarios
templates/
: Templates for applying the sequential thinking processsequential_thinking_template.md
: Template for new problems
- Install and set up the Claude Desktop App
- Review the methodology in
docs/methodology.md
- Understand MCP Servers in
docs/mcp_servers.md
- Check out example problems:
- Linear Programming:
examples/furniture_manufacturing.md
- Non-Linear Programming:
examples/marketing_budget_nlp.md
- Linear Programming:
- Use the template from
templates/sequential_thinking_template.md
for your own problems
When using Claude to solve optimization problems:
- Access Claude through any of the available interfaces
- Use the provided templates and examples as reference
- Leverage the Sequential Thinking MCP for structured problem-solving
- Follow the comprehensive guide in the documentation
For more information about using Claude, visit:
Contributions are welcome! Please read CONTRIBUTING.md
for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE
file for details.