Optimization
Input: $ARGUMENTS
Interpretations
Before executing, identify which interpretation matches the user’s input:
Interpretation 1 — Rank options by criteria: The user has a set of options and criteria and wants a weighted, scored ranking from best to worst. Interpretation 2 — Identify the best trade-off: The user has options that excel on different dimensions and wants to understand what they gain and lose with each choice. Interpretation 3 — Test ranking robustness: The user has a tentative ranking and wants to know whether it holds up under different assumptions or weighting schemes.
If ambiguous, ask: “I can help with ranking options by criteria, identifying the best trade-off, or testing how robust a ranking is — which fits?” If clear from context, proceed with the matching interpretation.
Overview
Rank viable options from best to worst using multi-criteria optimization
Steps
Step 1: Prepare scoring matrix
Organize inputs into a decision matrix:
- List all viable options as rows
- List all criteria as columns
- Fill in scores from comparison phase
- Normalize scores to comparable scale (0-10 or 0-100)
Step 2: Establish criteria weights
Determine importance weight for each criterion:
- If weights provided, validate they sum to 1.0 (or normalize)
- If not provided, start with equal weights
- Consider stakeholder preferences in weighting
- Document rationale for each weight
Weight assignment approaches:
- Direct assignment: stakeholder states importance
- Pairwise comparison: compare criteria in pairs
- Swing weighting: how much does best-to-worst matter?
Step 3: Calculate composite scores
For each option, calculate weighted composite score:
- Multiply each criterion score by its weight
- Sum the weighted scores
- Record the composite score
Formula: composite_score = sum(score_i * weight_i)
Also track component contributions to understand what’s driving the score.
Step 4: Identify Pareto optimal set
Find options that are not dominated by any other option:
- Option A dominates Option B if A is >= B on all criteria AND > on at least one
- Pareto optimal options are those not dominated by any other
- If optimizing for different goals (max value vs min risk), find Pareto frontier
Options on the Pareto frontier represent genuinely different trade-offs, not clearly inferior choices.
Step 5: Perform sensitivity analysis
Test ranking stability under different assumptions:
- Vary each weight by +/- 20% and recompute rankings
- Try alternative weighting schemes (equal weights, extreme weights)
- Identify which weight changes would change the top-ranked option
- Note “robust” rankings (stable) vs “fragile” rankings (weight-sensitive)
Key questions:
- Does the top option change if we care more about X?
- How much would weights need to change to alter the ranking?
Step 6: Analyze trade-offs
For top 2-3 options, make trade-offs explicit:
- Compare top option vs second option: what do we gain? lose?
- Identify criteria where top option is weaker
- Quantify the trade-off (e.g., “20% more cost for 50% less risk”)
- Consider non-quantified factors that might affect the trade-off
Trade-off analysis helps stakeholders understand what they’re choosing.
Step 7: Compile final ranking
Produce the final ranked list:
- Order options by composite score (highest first)
- Annotate each with: rank, score, Pareto status, key strengths/weaknesses
- Write rationale for top-ranked option
- Note any caveats or conditions on the ranking
The ranking should be defensible and transparent.
When to Use
- When multiple viable options remain after comparison
- When trade-offs between options need to be made explicit
- When stakeholders disagree on which option is best
- When the decision has significant consequences
- At strategy selection to rank competing strategies
- When you need a defensible, transparent ranking method
Verification
- All viable options are ranked (none dropped)
- Composite scores are calculated correctly (math is right)
- Pareto analysis identifies non-dominated options
- Sensitivity analysis tests ranking robustness
- Trade-offs are explicit and quantified
- Ranking rationale is clear and defensible