optimize_production_plan_tool
Optimize multi-period production planning by balancing product costs, resource constraints, and demand across periods to maximize profit or minimize costs. Accepts inventory and setup costs, with solver options for efficient planning.
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
| Name | Required | Description | Default |
|---|---|---|---|
| products | Yes | ||
| resources | Yes | ||
| periods | Yes | ||
| demand | Yes | ||
| objective | No | maximize_profit | |
| inventory_costs | No | ||
| setup_costs | No | ||
| solver_name | No | CBC | |
| time_limit_seconds | No |