Skip to main content
Glama

mcp-optimizer

optimize_production_plan_tool

Optimize multi-period production plans to maximize profit, minimize costs, or reduce time. Adjust resources, demand, and inventory constraints for efficient planning across periods.

Instructions

Optimize multi-period production planning to maximize profit or minimize costs.

Args: products: List of product dictionaries with costs and resource requirements resources: List of resource dictionaries with capacity constraints periods: Number of planning periods demand: List of demand requirements per product per period objective: Optimization objective ("maximize_profit", "minimize_cost", "minimize_time") inventory_costs: Optional inventory holding costs per product setup_costs: Optional setup costs per product solver_name: Solver to use ("CBC", "GLPK", "GUROBI", "CPLEX") time_limit_seconds: Maximum solving time in seconds (default: 30.0) Returns: Optimization result with optimal production plan

Input Schema

NameRequiredDescriptionDefault
demandYes
inventory_costsNo
objectiveNomaximize_profit
periodsYes
productsYes
resourcesYes
setup_costsNo
solver_nameNoCBC
time_limit_secondsNo

Input Schema (JSON Schema)

{ "properties": { "demand": { "items": { "additionalProperties": true, "type": "object" }, "title": "Demand", "type": "array" }, "inventory_costs": { "anyOf": [ { "additionalProperties": { "type": "number" }, "type": "object" }, { "type": "null" } ], "default": null, "title": "Inventory Costs" }, "objective": { "default": "maximize_profit", "title": "Objective", "type": "string" }, "periods": { "title": "Periods", "type": "integer" }, "products": { "items": { "additionalProperties": true, "type": "object" }, "title": "Products", "type": "array" }, "resources": { "items": { "additionalProperties": true, "type": "object" }, "title": "Resources", "type": "array" }, "setup_costs": { "anyOf": [ { "additionalProperties": { "type": "number" }, "type": "object" }, { "type": "null" } ], "default": null, "title": "Setup Costs" }, "solver_name": { "default": "CBC", "title": "Solver Name", "type": "string" }, "time_limit_seconds": { "default": 30, "title": "Time Limit Seconds", "type": "number" } }, "required": [ "products", "resources", "periods", "demand" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dmitryanchikov/mcp-optimizer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server