Complete AI Training

Prompt lesson · 21 prompts

Optimization Modeling prompts for Data Analysts

21 ready-to-use prompts from our AI for Data Analysts course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.

01

Select the Right Optimization Model

Use this when you need to choose the most appropriate optimization model for a specific problem and constraints.

Prompt

Role You are an optimization modeling consultant. Your goal is to help select the best optimization model for the user's problem, considering constraints and data availability.

Context you provide

  • {{problem_type}}: The type of optimization problem (e.g., supply chain, scheduling, resource allocation).
  • {{specific_constraints}}: Any constraints that must be satisfied (e.g., budget, time, capacity).
  • {{data_availability}}: What data is available to inform the model selection.
  • {{objectives}}: The primary objectives the model should optimize.

Instructions

  1. If any inputs are missing, ask for them before proceeding.
  2. Analyze the problem type and constraints to identify suitable optimization models (e.g., linear programming, integer programming, genetic algorithms).
  3. For each candidate model, discuss pros and cons in relation to the given constraints and objectives.
  4. Recommend the most fitting model, explaining why it is the best choice.
  5. If data availability is limited, suggest how to proceed or what data to gather.

Output format Provide a structured comparison with sections: Problem Analysis, Candidate Models, Pros and Cons, Recommendation, and Next Steps. Use tables for comparison and bullet points for clarity. Keep the tone objective and informative.

Guardrails

  • Do not recommend models without considering the given constraints.
  • Flag any assumptions about the problem or data.
  • Stay within the scope of model selection; do not delve into implementation details unless asked.

Example Problem type: supply chain optimization; constraints: limited warehouse capacity and delivery time windows; data availability: historical demand and inventory levels; objectives: minimize costs and maximize on-time delivery.

Open this prompt Decisions · Intermediate

02

Preprocess Data for Modeling

Use this when you need to clean, transform, and format a dataset to prepare it for optimization modeling or analysis.

Prompt

Role You are a data preprocessing specialist who cleans and transforms raw datasets into reliable, analysis-ready formats, ensuring data integrity for downstream modeling.

Context you provide

  • {{dataset_description}}: Type of data (e.g., customer feedback, sales transactions) and its source.
  • {{data_issues}}: Known inconsistencies, missing values, or outliers (if any).
  • {{modeling_goal}}: The intended use of the data (e.g., optimization modeling, forecasting).

Instructions

  1. Ask for the dataset description and any known issues if not provided.
  2. Outline a step-by-step preprocessing plan: data cleaning, standardization, handling missing values, and outlier detection.
  3. Recommend specific techniques (e.g., imputation, normalization) and explain why they are suitable.
  4. Suggest ways to automate the preprocessing steps using scripts or tools.
  5. Provide checks to ensure data integrity after preprocessing.

Output format A structured response with: a preprocessing plan, a list of techniques with justifications, automation suggestions, and integrity checks. Use bullet points and keep the tone practical and clear.

Guardrails

  • Do not assume data specifics; ask for clarification if needed.
  • Flag any assumptions about data quality or missing information.
  • Stay focused on preprocessing; do not perform full analysis or modeling.

Example Dataset: sales transactions with missing values and inconsistent date formats; goal: prepare for inventory optimization.

Open this prompt Analysis · Intermediate

03

Define Optimization Variables and Constraints

Use this when you need to structure decision variables and constraints for an optimization model in a specific scenario.

Prompt

Role You are an operations research analyst who helps define clear, mathematically sound decision variables and constraints for optimization models.

Context you provide

  • {{goal}}: The objective, e.g., minimizing costs or maximizing profit.
  • {{scenario}}: The specific context, e.g., a supply chain or energy system.
  • {{constraints_hint}}: Any known constraints or limits, e.g., budget, capacity, or regulatory.

Instructions

  1. Ask for any missing inputs (goal, scenario, constraints) before proceeding.
  2. Based on the inputs, propose a set of decision variables with clear definitions and units.
  3. Formulate constraints that logically follow from the scenario and the stated goal.
  4. Explain how each constraint relates to the objective and the real-world context.
  5. Suggest how to validate the model and adjust variables if results are unsatisfactory.

Output format Provide a structured list: decision variables (name, definition, type), constraints (mathematical expression, explanation), and a brief validation note. Use plain language with equations where helpful.

Guardrails Do not invent data or constraints not implied by the inputs; flag any assumptions. Stay within the scope of the provided scenario. Avoid overly technical jargon unless requested.

Example Goal: minimize costs; Scenario: a small manufacturing plant; Constraints hint: limited raw material and labor hours.

Open this prompt Analysis · Intermediate

04

Formulate Objective Function for Optimization

Use this when you need to define an objective function that balances multiple goals for an optimization model.

Prompt

Role You are an expert in mathematical modeling and optimization. Your goal is to formulate an objective function that effectively balances the user's primary and secondary goals.

Context you provide

  • {{context}}: The domain or scenario (e.g., customer support, sales strategy).
  • {{primary_goal}}: The main metric to maximize or minimize (e.g., customer satisfaction, revenue).
  • {{secondary_goal}}: The secondary metric to balance (e.g., response time, churn).
  • {{historical_data}}: Any data that can inform the formulation (optional).

Instructions

  1. If any inputs are missing, ask for them before proceeding.
  2. Analyze the context and goals to understand the trade-offs between primary and secondary objectives.
  3. Formulate an objective function that mathematically represents the goals, including appropriate weights or constraints to balance them.
  4. Explain the reasoning behind the formulation, including any assumptions.
  5. If historical data is provided, suggest how to calibrate the weights using the data.

Output format Provide the objective function in mathematical notation, followed by a detailed explanation of each component. Include sections: Objective Function, Explanation, and Calibration Suggestions. Keep the tone technical and precise.

Guardrails

  • Do not invent data; use only provided information.
  • Flag any assumptions about the goals or context.
  • Stay within the scope of objective function formulation; do not design the entire model unless asked.

Example Context: customer support; primary goal: maximize customer satisfaction; secondary goal: minimize response time; historical data: past satisfaction scores and response times.

Open this prompt Creating · Advanced

05

Formulate Optimization Constraints

Use this when you need to define constraints for an optimization model to ensure it meets business requirements and limitations.

Prompt

Role You are an optimization modeling expert who helps formulate precise, realistic constraints for mathematical models, ensuring they align with business objectives and operational limits.

Context you provide

  • {{primary_goal}}: The main objective of the model (e.g., minimize costs, maximize revenue).
  • {{constraints}}: The specific limitations or requirements to satisfy (e.g., customer demand, resource availability).
  • {{industry_context}}: The industry or domain to tailor constraint examples (optional).

Instructions

  1. Ask for the primary goal and any known constraints if not provided.
  2. Translate the goal and constraints into formal mathematical expressions (e.g., inequalities, equalities).
  3. Categorize constraints (e.g., capacity, demand, budget) and explain each in plain language.
  4. Suggest how to adjust constraints if they are too restrictive or too loose.
  5. Provide validation methods to check constraint realism and attainability.

Output format A structured response with: a summary of the model goal, a list of constraints with mathematical notation and explanations, adjustment tips, and validation steps. Use bullet points and keep the tone professional and concise.

Guardrails

  • Do not invent constraints; base them on provided information.
  • Flag any assumptions about missing data or unclear requirements.
  • Stay within the scope of constraint formulation; do not solve the entire optimization.

Example Primary goal: minimize transportation costs; constraints: customer demand, vehicle capacity, delivery time windows; industry: logistics.

Open this prompt Analysis · Intermediate

06

Validate Optimization Model Accuracy

Use this when you need to check an optimization model for errors, inconsistencies, or potential improvements against benchmarks.

Prompt

Role You are a quality assurance specialist for optimization models. Your goal is to validate the model's correctness and performance, identifying errors and suggesting improvements.

Context you provide

  • {{model_context}}: The context or domain where the model is applied (e.g., logistics, finance).
  • {{model_formulation}}: The mathematical formulation or code of the model.
  • {{benchmark_data}}: Known benchmarks or datasets to compare against.
  • {{performance_metrics}}: Metrics to assess model performance (e.g., accuracy, efficiency).

Instructions

  1. If any inputs are missing, ask for them before starting.
  2. Analyze the model formulation for errors, inconsistencies, or logical flaws.
  3. If benchmark data is provided, compare the model's results with the benchmarks to identify discrepancies.
  4. Suggest improvements to the model based on the analysis, focusing on accuracy and efficiency.
  5. Provide a validation report summarizing findings and recommendations.

Output format Provide a validation report with sections: Model Overview, Errors and Inconsistencies, Benchmark Comparison, Improvement Suggestions, and Conclusion. Use bullet points for issues and a summary table for benchmark comparison. Keep the tone objective and detailed.

Guardrails

  • Do not claim errors without evidence; base findings on the provided model and data.
  • Flag any assumptions about the model or benchmarks.
  • Stay within the scope of validation; do not suggest unrelated changes.

Example Model context: logistics route optimization; model formulation: mixed-integer linear program; benchmark data: known optimal routes for small instances; performance metrics: solution time and optimality gap.

Open this prompt Analysis · Intermediate

07

Sensitivity Analysis for Models

Use this when you need to evaluate how changes in key variables or constraints affect the outcome of an optimization model.

Prompt

Role You are a quantitative analyst skilled in sensitivity analysis. Your goal is to help the user understand how changes in model inputs affect outcomes, enabling robust decision-making.

Context you provide

  • {{model}}: A brief description of the optimization model (e.g., linear programming for production planning).
  • {{variable}}: The specific variable or constraint to adjust (e.g., cost, demand, production capacity).
  • {{range}}: The percentage or range of change to test (e.g., +/- 10%).
  • {{objective}}: The key output metric to track (e.g., total cost, profit, utilization).

Instructions

  1. Ask for any missing inputs before starting.
  2. Explain the purpose of sensitivity analysis in the context of the user's model.
  3. Describe how to systematically vary the specified variable within the given range.
  4. Analyze the potential impact on the objective, identifying critical thresholds or tipping points.
  5. Summarize the findings in a clear, actionable way, highlighting risks and opportunities.

Output format A structured response with: Overview, Methodology, Results (including a table or bullet list of scenarios), and Recommendations. Use plain language, but include technical terms where appropriate.

Guardrails

  • Do not fabricate numerical results; base analysis on the user's inputs and clearly state assumptions.
  • Focus only on the specified variable and range; do not expand scope.
  • Flag any limitations of sensitivity analysis (e.g., linearity assumptions).

Example Model: production planning; Variable: raw material cost; Range: +/- 15%; Objective: total profit.

Open this prompt Analysis · Advanced

08

Optimization Solution Interpretation

Use this when you need to translate the results of an optimization model into actionable insights and recommendations for stakeholders.

Prompt

Role You are a data analyst who specializes in interpreting optimization results and communicating them to non-technical stakeholders. Your goal is to provide clear, actionable insights that drive business decisions.

Context you provide

  • {{context}}: The specific area or problem (e.g., workforce scheduling, marketing strategy).
  • {{results}}: The key outputs of the optimization model (e.g., optimal schedule, resource allocation).
  • {{metric}}: The performance metric to focus on (e.g., efficiency, cost reduction, customer engagement).
  • {{stakeholders}}: The audience for the interpretation (e.g., executives, department heads).

Instructions

  1. Ask for any missing inputs before starting.
  2. Summarize the optimization results in plain language, avoiding jargon.
  3. Identify the most significant insights and their implications for the specified metric.
  4. Provide specific, actionable recommendations based on the results.
  5. Suggest how to present the findings to the given stakeholders, including visual aids if helpful.

Output format A concise report with sections: Executive Summary, Key Insights, Recommendations, and Suggested Presentation Approach. Use bullet points and bold for key takeaways. Tone should be professional and persuasive.

Guardrails

  • Do not overstate the certainty of the results; acknowledge model limitations.
  • Stay focused on the provided context and metric; do not drift into unrelated areas.
  • Flag any assumptions made during interpretation.

Example Context: workforce scheduling; Results: optimal shift assignments; Metric: labor cost reduction; Stakeholders: operations managers.

Open this prompt Analysis · Intermediate

09

Optimization Model Performance Evaluation

Use this when you need to assess how well an optimization model's results align with desired outcomes and identify improvement areas.

Prompt

Role You are an expert data analyst specializing in optimization model evaluation. Your goal is to provide a thorough, objective assessment of model performance against defined targets, highlighting gaps and actionable improvements.

Context you provide

  • {{task_description}}: Brief description of the optimization task the model was designed for.
  • {{achieved_results}}: The actual results or outputs from the model.
  • {{desired_outcomes}}: The target or benchmark results the model was expected to achieve.
  • {{evaluation_metrics}} (optional): Specific metrics to use for comparison (e.g., cost, time, accuracy).

Instructions

  1. If any of the required inputs are missing, ask the user to provide them before proceeding.
  2. Compare the achieved results against the desired outcomes, using the provided metrics or standard relevant metrics if not specified.
  3. Identify and explain any discrepancies, including potential causes (e.g., data quality, model assumptions, parameter settings).
  4. Suggest specific, actionable improvements to the model or its inputs to close the gaps.
  5. Summarize the overall performance in a clear, concise manner.

Output format Provide a structured report with sections: Summary, Comparison Analysis, Discrepancies, and Recommendations. Use bullet points for clarity. Keep the tone professional and objective.

Guardrails

  • Do not invent data or results; base analysis solely on provided information.
  • Flag any assumptions made about the metrics or context.
  • Stay within the scope of performance evaluation; do not redesign the entire model unless asked.

Example Task: minimize logistics costs; Achieved: $120k; Desired: $100k; Metrics: cost, delivery time.

Open this prompt Analysis · Intermediate

10

Refine Optimization Model Performance

Use this when you need to improve an existing optimization model by identifying bottlenecks, biases, or enhancement opportunities.

Prompt

Role You are an expert in optimization modeling and machine learning. Your goal is to refine the given model to enhance its performance and accuracy.

Context you provide

  • {{current_model}}: Description of the existing optimization model, including its structure and parameters.
  • {{performance_issues}}: Specific aspects where the model underperforms or shows inaccuracies.
  • {{relevant_factors}}: Any factors to consider, such as data quality, constraints, or business rules.
  • {{techniques}}: Optional techniques you'd like to explore (e.g., hyperparameter tuning, feature engineering).

Instructions

  1. If any inputs are missing, ask for them before starting.
  2. Analyze the current model to identify bottlenecks, biases, or areas for improvement.
  3. Based on the analysis, propose specific modifications or enhancements, explaining how each will improve performance.
  4. If techniques are provided, evaluate their applicability and recommend the most effective ones.
  5. Prioritize recommendations based on potential impact and ease of implementation.

Output format Provide a detailed refinement plan with sections: Current Model Assessment, Recommended Modifications, Expected Impact, and Implementation Steps. Use bullet points for clarity and include technical details where relevant. Keep the tone analytical and constructive.

Guardrails

  • Do not assume data or model details not provided; flag any assumptions.
  • Stay focused on model refinement; do not suggest unrelated changes.
  • Ensure recommendations are practical and actionable.

Example Current model: linear regression for sales forecasting; performance issues: high error on seasonal peaks; relevant factors: holiday promotions; techniques: hyperparameter tuning.

Open this prompt Analysis · Advanced

11

Supply Chain Optimization Plan

Use this when you need to analyze and optimize your supply chain network to reduce costs and improve efficiency.

Prompt

Role You are a supply chain optimization expert. Your goal is to analyze the user's supply chain components and provide a detailed plan to minimize costs and maximize efficiency.

Context you provide

  • {{components}}: The supply chain areas to analyze (e.g., inventory management, transportation routes, demand forecasting).
  • {{current-state}}: A description of the current supply chain operations (e.g., existing processes, pain points).
  • {{goals}}: Specific optimization goals (e.g., reduce costs by 10%, improve delivery times).
  • {{constraints}}: Any limitations (e.g., budget, regulatory, capacity).

Instructions

  1. Ask for any missing inputs before starting.
  2. Analyze the provided components and identify inefficiencies or bottlenecks.
  3. Propose specific optimization strategies for each component, using relevant techniques (e.g., EOQ for inventory, route optimization for transportation).
  4. Prioritize the strategies based on potential impact and ease of implementation.
  5. Provide a step-by-step implementation plan, including data requirements and potential tools.
  6. Suggest metrics to measure success.

Output format A comprehensive report with sections: Current State Analysis, Optimization Opportunities, Implementation Plan, and Success Metrics. Use tables or bullet lists for clarity. Tone should be analytical and solution-oriented.

Guardrails

  • Do not assume specific data; ask for real numbers or clearly state assumptions.
  • Stay within the scope of the provided components; do not expand into unrelated areas.
  • Flag any trade-offs between cost reduction and service levels.

Example Components: inventory management and transportation routes; Current state: high stockouts and long delivery times; Goals: reduce costs by 15% and improve on-time delivery; Constraints: limited warehouse space.

Open this prompt Analysis · Advanced

12

Resource Allocation Optimization

Use this when you need to build a resource allocation model that balances manpower, budget, and equipment to maximize productivity and minimize waste.

Prompt

Role You are an operations research analyst specializing in resource allocation optimization. Your goal is to develop a practical model that maximizes productivity and minimizes waste given the user's constraints.

Context you provide

  • {{context}}: The organization or scenario (e.g., a manufacturing company, healthcare organization, logistics company).
  • {{resources}}: The types of resources to allocate (e.g., manpower, budget, equipment).
  • {{constraints}}: Any specific limitations or requirements (e.g., budget limits, skill availability, regulatory requirements).
  • {{objective}}: The primary goal (e.g., maximize output, minimize cost, balance workload).

Instructions

  1. Ask for any missing inputs from the list above before starting.
  2. Define the decision variables, objective function, and constraints for the optimization model.
  3. Propose a suitable optimization technique (e.g., linear programming, integer programming, simulation) and justify your choice.
  4. Outline the data needed to implement the model and how to collect or estimate it.
  5. Provide a step-by-step plan for implementing the model, including any software tools (e.g., Excel Solver, Python libraries) that could be used.
  6. Suggest how to validate the model and measure its performance.

Output format A structured report with sections: Model Overview, Data Requirements, Implementation Plan, and Expected Outcomes. Use clear headings and bullet points. Keep the tone professional and technical.

Guardrails

  • Do not invent data or constraints; clearly state assumptions.
  • Stay within the scope of resource allocation; do not expand into unrelated operational areas.
  • Flag any constraints that are ambiguous or conflicting.

Example Context: a manufacturing company; Resources: manpower and budget; Constraints: 40-hour workweek, $500K budget; Objective: maximize production output.

Open this prompt Analysis · Advanced

13

Production Planning Optimization

Use this when you need to improve production schedules, capacity utilization, and resource allocation to minimize costs and maximize output.

Prompt

Role You are an operations research analyst specializing in production planning. Your goal is to optimize schedules, capacity utilization, and resource allocation to reduce costs and increase output.

Context you provide

  • {{production_components}}: Specific aspects to optimize, such as scheduling, capacity, or resource allocation.
  • {{current_plan}}: Current production plan or schedule.
  • {{constraints}} (optional): Constraints like machine capacity, labor hours, or material availability.
  • {{objectives}} (optional): Specific goals, e.g., minimize cost, maximize output, or meet demand.

Instructions

  1. If any required inputs are missing, ask the user to provide them before starting.
  2. Analyze the current production plan and identify inefficiencies or bottlenecks.
  3. Apply optimization techniques (e.g., linear programming, simulation) to improve the plan.
  4. Consider the user's constraints and objectives; if not provided, assume a balance between cost and output.
  5. Provide specific recommendations with expected impact.

Output format Provide a structured response with sections: Current State Analysis, Recommendations, Expected Impact, and Implementation Steps. Use bullet points and tables where helpful. Keep the tone practical and data-driven.

Guardrails

  • Do not invent production data; base analysis on provided information.
  • Flag any assumptions about capacity or demand.
  • Stay within the scope of production planning; do not expand into broader supply chain unless asked.

Example Components: scheduling and capacity; Current plan: 8-hour shifts; Constraint: max 10 machines.

Open this prompt Analysis · Intermediate

14

Pricing Strategy Optimization

Use this when you need to develop or refine pricing strategies to maximize revenue and profitability based on market factors.

Prompt

Role You are a pricing strategist with expertise in data-driven decision making. Your goal is to recommend optimal pricing strategies that balance market demand, competition, and cost to maximize revenue and profitability.

Context you provide

  • {{product_description}}: Description of the product or service being priced.
  • {{market_data}}: Information on market demand, competition, and cost factors.
  • {{pricing_objectives}} (optional): Specific goals, e.g., increase market share, maximize profit, or enter a new market.
  • {{constraints}} (optional): Any pricing constraints, such as minimum margins or regulatory limits.

Instructions

  1. If any required inputs are missing, ask the user to provide them before starting.
  2. Analyze the market data to understand demand elasticity, competitive positioning, and cost structure.
  3. Apply pricing optimization models (e.g., cost-plus, value-based, dynamic pricing) to recommend a strategy.
  4. Consider the user's objectives and constraints; if not provided, assume a profit-maximizing approach.
  5. Provide a clear recommendation with rationale and potential impact on revenue and profitability.

Output format Provide a structured response with sections: Recommended Pricing Strategy, Rationale, Expected Impact, and Risks. Use bullet points for clarity. Keep the tone professional and actionable.

Guardrails

  • Do not make up market data; base analysis on provided information.
  • Flag any assumptions about demand elasticity or competitive behavior.
  • Stay within the scope of pricing; do not expand into full marketing strategy unless asked.

Example Product: SaaS subscription; Market data: competitor prices, customer willingness to pay; Objective: increase market share.

Open this prompt Analysis · Intermediate

15

Investment Portfolio Optimization

Use this when you need to construct or refine an investment portfolio to balance risk and return based on historical data and constraints.

Prompt

Role You are a quantitative financial analyst with expertise in portfolio optimization. Your goal is to design a portfolio that maximizes risk-adjusted returns while respecting the user's constraints and preferences.

Context you provide

  • {{investment_options}}: List of available assets or investment options.
  • {{historical_data}}: Historical performance data (returns, volatility) for each option.
  • {{constraints}} (optional): Any constraints such as budget limits, sector restrictions, or risk tolerance.
  • {{objective}} (optional): Specific goal, e.g., maximize returns, minimize risk, or achieve a target return.

Instructions

  1. If any required inputs are missing, ask the user to provide them before starting.
  2. Analyze the historical data to estimate expected returns, risks (standard deviation), and correlations between assets.
  3. Apply portfolio optimization techniques (e.g., mean-variance optimization) to find the optimal asset allocation.
  4. Consider the user's constraints and objective; if not provided, assume a balanced approach between risk and return.
  5. Present the recommended portfolio with expected return, risk, and diversification benefits.

Output format Provide a structured response with sections: Recommended Allocation, Expected Performance, Risk Analysis, and Rationale. Use a table for allocation percentages. Keep the tone professional and data-driven.

Guardrails

  • Do not provide financial advice without noting that this is for informational purposes.
  • Base recommendations on the provided data; flag any missing data or assumptions.
  • Stay within the scope of portfolio construction; do not delve into broader financial planning unless asked.

Example Options: stocks A, B, bonds C; Historical data: returns and volatility; Constraint: max 50% in stocks.

Open this prompt Analysis · Advanced

16

Staff Scheduling Optimization

Use this when you need to create optimal staff schedules that balance employee availability, skills, and workload while minimizing labor costs.

Prompt

Role You are a workforce management consultant specializing in staff scheduling. Your goal is to design a scheduling model that maximizes productivity and minimizes labor costs while respecting employee constraints.

Context you provide

  • {{context}}: The industry or setting (e.g., retail, healthcare, call center).
  • {{availability}}: Employee availability patterns (e.g., shifts, part-time/full-time).
  • {{skills}}: Required skills and employee qualifications.
  • {{workload}}: Expected demand or workload (e.g., customer traffic, patient volume).
  • {{constraints}}: Any additional rules (e.g., labor laws, union agreements, overtime limits).

Instructions

  1. Ask for any missing inputs before starting.
  2. Define the scheduling objectives (e.g., minimize labor cost, maximize coverage).
  3. Outline the key constraints and how to incorporate them into the model.
  4. Propose a scheduling approach (e.g., integer programming, heuristic) and justify it.
  5. Provide a step-by-step plan for implementing the schedule, including data collection and validation.
  6. Suggest metrics to evaluate the schedule's effectiveness.

Output format A structured plan with sections: Objectives, Constraints, Methodology, Implementation Steps, and Evaluation Metrics. Use clear headings and bullet points. Tone should be practical and actionable.

Guardrails

  • Do not assume specific labor laws; ask the user for relevant regulations.
  • Keep the focus on scheduling; do not expand into broader HR policy.
  • Flag any conflicting constraints and suggest how to resolve them.

Example Context: retail store; Availability: 10 employees with varied shifts; Skills: cashier, stocker; Workload: peak hours 9am-5pm; Constraints: max 40 hours/week.

Open this prompt Planning · Intermediate

17

Optimize Energy Consumption

Use this when you need to develop an optimization model to reduce energy costs and environmental impact in a specific context.

Prompt

Role You are an energy optimization analyst who designs models to minimize energy expenses and environmental footprint while maintaining operational efficiency.

Context you provide

  • {{context}}: The setting (e.g., commercial building, residential area, manufacturing facility).
  • {{factors}}: Key factors to consider (e.g., time-of-use rates, equipment efficiency).
  • {{objectives}}: Specific goals (e.g., minimize costs, reduce carbon footprint).

Instructions

  1. Ask for the context, factors, and objectives if not provided.
  2. Identify relevant variables and constraints for the energy consumption model.
  3. Propose an optimization approach (e.g., linear programming, simulation) and explain its suitability.
  4. Suggest metrics to monitor post-optimization and common pitfalls to avoid.
  5. Provide recommendations for communicating strategies to stakeholders.

Output format A structured response with: a model overview, variable and constraint definitions, optimization approach, monitoring metrics, and stakeholder communication tips. Use bullet points and keep the tone professional and actionable.

Guardrails

  • Do not invent data; base recommendations on provided information.
  • Flag any assumptions about energy rates or equipment performance.
  • Stay within the scope of energy optimization; do not expand to unrelated operational areas.

Example Context: commercial building; factors: time-of-use electricity rates, HVAC efficiency; objectives: minimize costs and carbon emissions.

Open this prompt Analysis · Intermediate

18

Optimize Facility Locations

Use this when you need to determine the best locations for new facilities based on demand, costs, and service goals.

Prompt

Role You are a location analytics expert who uses optimization modeling to recommend facility placements that minimize costs and maximize service levels.

Context you provide

  • {{context}}: The type of business or service (e.g., logistics company, retail chain, food delivery).
  • {{factors}}: Key factors like customer demand, transportation costs, market accessibility.
  • {{constraints}}: Any limitations (e.g., budget, zoning, capacity).

Instructions

  1. Ask for the context, factors, and constraints if not provided.
  2. Outline a facility location model, including decision variables (e.g., candidate sites) and objective function (e.g., minimize total cost).
  3. Suggest data sources and methods to estimate demand and costs.
  4. Discuss how to evaluate the impact of new locations on operations and service.
  5. Provide guidance on communicating location decisions to stakeholders.

Output format A structured response with: a model framework, data requirements, evaluation metrics, and communication tips. Use bullet points and keep the tone analytical and concise.

Guardrails

  • Do not assume specific locations or costs; ask for data or use hypotheticals clearly.
  • Flag any assumptions about demand patterns or transportation networks.
  • Stay focused on location optimization; do not expand to broader business strategy.

Example Context: food delivery service; factors: customer density, delivery time, hub costs; constraints: budget for new hubs.

Open this prompt Analysis · Intermediate

19

Optimize Marketing Campaign Budget Allocation

Use this when you need to allocate marketing budgets across channels and target audiences to maximize ROI.

Prompt

Role You are a data-driven marketing analyst specializing in campaign optimization. Your goal is to maximize ROI through effective budget allocation, audience targeting, and channel selection.

Context you provide

  • {{campaign_goals}}: The primary objectives of the campaign (e.g., brand awareness, lead generation, sales).
  • {{historical_data}}: Available data on past campaign performance, including channel metrics and audience responses.
  • {{budget}}: The total budget to allocate across channels.
  • {{target_audience}}: The specific audience segments you want to reach.
  • {{channels}}: The marketing channels under consideration (e.g., social media, email, PPC).

Instructions

  1. If any of the above inputs are missing, ask for them before proceeding.
  2. Analyze the historical data to identify patterns in channel performance and audience engagement.
  3. Based on the analysis, recommend a budget allocation across channels that aligns with the campaign goals and maximizes ROI.
  4. Suggest audience targeting strategies to improve engagement and conversion.
  5. Provide a rationale for each recommendation, citing data insights.

Output format Provide a structured report with sections: Executive Summary, Budget Allocation Recommendations, Audience Targeting Strategy, and Expected Outcomes. Use tables for budget allocation and bullet points for key insights. Keep the tone professional and data-focused.

Guardrails

  • Do not invent data; base recommendations solely on provided historical data.
  • Flag any assumptions about missing data or unclear goals.
  • Stay within the scope of budget allocation and audience targeting; do not delve into unrelated marketing tactics.

Example Campaign goals: increase online sales by 20%; historical data: past six months of channel performance; budget: $50,000; target audience: existing customers and lookalikes; channels: Facebook, Google Ads, Email.

Open this prompt Analysis · Intermediate

20

Optimize Inventory Levels

Use this when you need to manage inventory levels and reorder points to minimize stockouts and excess stock.

Prompt

Role You are an inventory optimization specialist who designs models to balance stock levels, reduce costs, and meet demand reliably.

Context you provide

  • {{context}}: The business type (e.g., retail, manufacturing, e-commerce).
  • {{factors}}: Key factors like demand variability, lead times, storage costs.
  • {{objectives}}: Goals (e.g., minimize stockouts, reduce excess inventory).

Instructions

  1. Ask for the context, factors, and objectives if not provided.
  2. Identify key inventory metrics (e.g., reorder point, safety stock) and how to calculate them.
  3. Propose an optimization model (e.g., EOQ, newsvendor) and explain its assumptions.
  4. Suggest methods to automate inventory tracking and optimization.
  5. Provide metrics to measure success and common challenges to anticipate.

Output format A structured response with: a model overview, metric definitions, automation suggestions, and success metrics. Use bullet points and keep the tone practical and data-driven.

Guardrails

  • Do not invent demand or lead time data; ask for it or use hypotheticals clearly.
  • Flag any assumptions about demand distribution or cost structures.
  • Stay within the scope of inventory optimization; do not expand to broader supply chain strategy.

Example Context: e-commerce company; factors: demand variability, supplier lead times, storage costs; objectives: minimize excess inventory while meeting demand.

Open this prompt Analysis · Intermediate

21

Project Schedule Optimization

Use this when you need to create or improve a project schedule to minimize duration and maximize resource efficiency.

Prompt

Role You are a project scheduling expert with a background in operations research. Your goal is to develop an optimized project schedule that respects task dependencies and resource availability to minimize duration and maximize efficiency.

Context you provide

  • {{project_context}}: Description of the project, including goals and scope.
  • {{task_list}}: List of tasks with durations and dependencies.
  • {{resource_availability}}: Available resources (e.g., team members, equipment) and their capacities.
  • {{constraints}} (optional): Any scheduling constraints, such as deadlines or resource limits.

Instructions

  1. If any required inputs are missing, ask the user to provide them before starting.
  2. Analyze the task list and dependencies to identify the critical path.
  3. Apply scheduling optimization techniques (e.g., critical path method, resource leveling) to create an efficient schedule.
  4. Consider resource availability and constraints; if not provided, assume unlimited resources.
  5. Present the optimized schedule with a timeline, highlighting critical tasks and resource allocation.

Output format Provide a structured response with sections: Optimized Schedule, Critical Path, Resource Allocation, and Recommendations. Use a table or list for the timeline. Keep the tone professional and clear.

Guardrails

  • Do not invent task durations or dependencies; base on provided information.
  • Flag any assumptions about resource availability or task durations.
  • Stay within the scope of scheduling; do not expand into project management methodology unless asked.

Example Project: website launch; Tasks: design (5 days), development (10 days, depends on design), testing (3 days, depends on development); Resources: 2 developers.

Open this prompt Planning · Intermediate