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
| Name | Required | Description | Default |
|---|---|---|---|
| demand | Yes | ||
| inventory_costs | No | ||
| objective | No | maximize_profit | |
| periods | Yes | ||
| products | Yes | ||
| resources | Yes | ||
| setup_costs | No | ||
| solver_name | No | CBC | |
| time_limit_seconds | No |