Skip to main content
Glama

optimize_production_plan_tool

Optimize multi-period production plans to maximize profit or minimize costs by analyzing resource capacity, demand, and inventory constraints. Supports various solvers and customizable time limits.

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

TableJSON Schema
NameRequiredDescriptionDefault
demandYes
inventory_costsNo
objectiveNomaximize_profit
periodsYes
productsYes
resourcesYes
setup_costsNo
solver_nameNoCBC
time_limit_secondsNo

Latest Blog Posts

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