constraint-satisfaction-solver

Solid

Constraint programming skill for scheduling, configuration, and assignment problems

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Constraint Satisfaction Solver ## Overview The Constraint Satisfaction Solver skill provides capabilities for solving constraint satisfaction problems (CSPs) and constraint optimization problems (COPs). It excels at scheduling, configuration, assignment, and combinatorial problems where finding feasible solutions is as important as optimization. ## Capabilities - Variable and domain definition - Constraint specification (global constraints) - Solution search strategies - Optimization with constraints - Scheduling constraint handling - Configuration problem solving - All-solutions enumeration - Constraint propagation explanation ## Used By Processes - Prescriptive Analytics and Optimization - Resource Scheduling - Operational Decisions ## Usage ### Problem Definition ```python # Define CSP csp_problem = { "name": "Employee Scheduling", "variables": { "shift_mon_morning": {"domain": ["Alice", "Bob", "Carol", "David"]}, "shift_mon_afternoon": {"domain": ["Alice", "Bob", "Carol", "David"]}, "shift_tue_morning": {"domain": ["Alice", "Bob", "Carol", "David"]}, "shift_tue_afternoon": {"domain": ["Alice", "Bob", "Carol", "David"]}, # ... more shifts }, "constraints": [ { "type": "all_different", "scope": ["shift_mon_morning", "shift_mon_afternoon"], "description": "Different employees on same day" }, { "type": "not_equal", "variables":...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

constraint-solver

Constraint-based problem solving skill. Finds elegant solutions when the design space is heavily restricted — budget caps, time limits, technology mandates, team size, ethical bounds, regulatory requirements. Treats constraints as the design material, not the obstacle. Surfaces constraint violations early, ranks constraints by hardness, and finds solutions that satisfy all hard constraints while optimizing within soft ones. The tighter the constraints, the sharper the solution. Use when user says: very limited budget, we can't use X, strict deadline, only N people, regulatory constraint, tech stack is fixed, solve with these restrictions, must work within these limits, strong constraints, can't change the requirements, work within the box, solve this but we can only, tiny budget, no budget, works with these limitations, solve under constraint. Do NOT activate for: open-ended problems with no constraints, problems where the first step is to challenge the constraints themselves (use pre-mortem instead). First r

2 Updated 6 days ago
Sandeeprdy1729
AI & Automation Solid

linear-programming-solver

Linear programming skill for resource allocation, scheduling, and optimization problems

1,160 Updated today
a5c-ai
AI & Automation Solid

integer-program-solver

Integer and mixed-integer programming skill for combinatorial optimization problems with discrete decision variables.

1,160 Updated today
a5c-ai
AI & Automation Solid

constraint-identifier

System bottleneck identification and exploitation skill with throughput analysis and five focusing steps implementation

1,160 Updated today
a5c-ai
AI & Automation Solid

resource-scheduler

Resource scheduling and assignment optimization skill for personnel and equipment allocation

1,160 Updated today
a5c-ai