One-click install
npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill minizinc
Or copy as Structured Prompt for Agentā–¼
Please help me install this Agent Skill.
Skill: minizinc
Source: https://github.com/Cogni-AI-OU/cogni-ai-agent-skills/tree/main/minizinc
Command: npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill minizinc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MiniZinc is used to formulate constraint satisfaction and combinatorial optimization problems so they can be solved reliably and efficiently instead of relying on ad-hoc, error-prone reasoning.

Core Features & Use Cases

  • Expert MiniZinc Modeling Guidance: Provides a structured, advanced workflow for building tight, high-propagation models (tight domains, symmetry breaking, search annotations).
  • Declarative Best Practices: Emphasizes global constraints, reusable primitives (predicates/functions), channeling techniques, and separation of model from instance data via parameters.
  • Debugging and Verification Loop: Recommends a disciplined process for validating SAT/UNSAT outcomes with targeted tracing, invariants, and performance-focused refinement.

Common use cases include scheduling, assignment, grid/matrix constraint modeling, and building optimized combinatorial solvers where model quality strongly impacts runtime.

Quick Start

Ask the AI to produce a MiniZinc model (using globals.mzn) that solves your specified scheduling or assignment constraints with tight domains, symmetry breaking, and an output that presents human-readable decision variable values.

Frequently Asked Questions about minizinc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I model constraint satisfaction and combinatorial optimization problems?ā–¼

Constraint satisfaction problems are modeled by declaratively defining variables, tight domains, and global constraints, separating instance data from model structure to ensure reliable and efficient solving instead of ad-hoc reasoning.

What is the best way to structure scheduling and assignment constraints for solvers?ā–¼

Scheduling and assignment constraints are best structured using global-first constraint composition, reusable predicates, symmetry breaking, and explicit search annotations to improve solver propagation and runtime performance.

How do I verify SAT and UNSAT outcomes when solving constraint problems?ā–¼

SAT and UNSAT outcomes are verified through a disciplined debugging loop using targeted tracing, invariants, and performance-focused refinement to validate the correctness of the constraint model.

How do I optimize solver performance for combinatorial models?ā–¼

Solver performance for combinatorial models is optimized by applying tight domains, symmetry breaking techniques, global constraints, and explicit search annotations to maximize propagation efficiency.

Do I need to separate instance data from model structure in constraint solving?ā–¼

Separating instance data from model structure via parameters is required for constraint solving to build reusable, scalable models that can handle varying datasets without altering the underlying logic.

What techniques help with grid and matrix constraint modeling?ā–¼

Grid and matrix constraint modeling benefits from channeling techniques, global constraints, reusable primitives like predicates and functions, and tight domain declarations to ensure correct and efficient solving.