cp-sat-debugging-and-performance

Community

Diagnose and speed up CP-SAT models.

AuthorTakfes
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you debug and optimize Google OR-Tools CP-SAT scheduling models when they are infeasible, slow, stuck, or returning solutions that do not match business intent.

Core Features & Use Cases

  • Infeasibility diagnosis: Isolate conflicting constraints with model validation, assumption-based conflict checks, and manual relaxation when needed.
  • Wrong-solution debugging: Hard-code the expected solution to determine whether the model is missing a constraint or contains one that blocks the intended answer.
  • Performance triage: Improve solve times using the recommended order of domain tightening, reformulation, symmetry breaking, redundant constraints, hints, and parameter tuning.
  • Log interpretation: Read CP-SAT search progress to tell whether the issue is search, proof, thrashing, or presolve behavior.
  • Regression analysis: Compare exported models to identify what changed when a model worked before and now fails or slows down.
  • Use Case: A scheduling model suddenly becomes infeasible after a refactor, and this Skill guides you through isolating the conflicting constraints, checking logs, and validating the fix.

Quick Start

Ask me to diagnose or improve your CP-SAT scheduling model, and I will walk you through validation, conflict isolation, log reading, and performance triage.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cp-sat-debugging-and-performance
Download link: https://github.com/Takfes/indie-scaffolder/archive/main.zip#cp-sat-debugging-and-performance

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.