ConstraintRelaxationTask
Solve complex, over-constrained problems by temporarily relaxing constraints and progressively reintroducing them to find optimal, creative solutions. Proves feasibility before refining.
Reasoning
Side-Effect Safe
GPT-4 Preferred
⚙️ TaskConfig.json
{
"task_type": "ConstraintRelaxation",
"problem": "Design a high-performance web server for 1M req/s",
"constraints": {
"Latency < 10ms": 1.0,
"Cost < $100/mo": 0.4,
"Zero-Trust Security": 0.9
},
"relaxation_strategy": "progressive",
"find_creative_satisfactions": true
}
→
👁️ Session UI (TabbedDisplay)
Overview
Constraint Analysis
Iteration 1
Final Synthesis
Progressive Reintroduction
✅ Iteration 1 complete: Zero-Trust Security (1.2s)
⏳ Adapting solution for: Latency < 10ms...
Creative Insight: Using eBPF for security checks to maintain latency targets.
Live Results Showcase
Explore actual artifacts generated by this task in our test workspace.
Execution Configuration
| Field | Type | Description |
|---|---|---|
problem * |
String | The problem description to solve. |
constraints * |
Map<String, Double> | Map of constraints to priority weights (0.0-1.0, where 1.0 is critical). |
relaxation_strategy |
String | progressive (gradual), selective (subset), or hierarchical (levels). |
reintroduction_order |
String | by_priority, by_difficulty, or by_dependency. |
find_creative_satisfactions |
Boolean | Whether to actively seek creative ways to satisfy constraints. Default: true. |
max_iterations |
Int | Maximum number of relaxation/reintroduction iterations (1-10). Default: 5. |
input_files |
List<String> | Glob patterns for files to use as input context (e.g. **/*.kt). |
related_files |
List<String> | Additional files for context. |