# Constrained Optimization

> Use this tool when you need to solve complex optimization problems with multiple constraints, such as portfolio optimization, production planning, or scheduling. It provides a unified interface to various solvers, including Z3, CVXPY, HiGHS, and OR-Tools, and supports inputs like mathematical formulations and outputs like optimized solutions and visualizations. Ideal for use cases in finance, operations research, and decision support systems, this tool streamlines optimization tasks and provides a modular architecture for easy integration and deployment.

Canonical page: https://skillsregistry.net/skills/sharmarajnish-constrained-optimization  
JSON: https://api.skillsregistry.net/v1/skills/sharmarajnish-constrained-optimization

## Description

This constrained optimization MCP server by Rajnish Sharma provides AI agents with unified access to multiple optimization solvers including Z3 for constraint satisfaction, CVXPY for convex optimization, HiGHS for linear programming, and OR-Tools for combinatorial problems. Built with Python and featuring a modular architecture with typed problem definitions, it offers tools for portfolio optimization with Markowitz theory and risk constraints, production planning and resource allocation, scheduling problems like job shop and nurse scheduling, and classic combinatorial puzzles including N-Queens and knapsack variants. The implementation includes comprehensive examples with mathematical formulations, visualization capabilities through matplotlib and seaborn, and Docker deployment support, making it valuable for financial analysts optimizing investment portfolios, operations researchers solving supply chain problems, and developers building AI-powered decision support systems that require mathematical optimization capabilities.

## Trust

- **Trust score (0–1):** 0.86
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** cloud-infra
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/sharmarajnish-constrained-optimization)
- **Repository:** <https://github.com/sharmarajnish/mcp-constrained-optimization>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "sharmarajnish-constrained-optimization"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/sharmarajnish-constrained-optimization` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/sharmarajnish-constrained-optimization/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
