Skip to main content

Next Steps

With OptalCP installed, here's where to go based on your goals.

Learning Paths

New to Constraint Programming?

Start with the Tutorial — it teaches scheduling concepts step-by-step using a furniture workshop example:

  1. Introduction — Scheduling basics and the Model → Solve → Solution workflow
  2. Basic Model — Intervals, precedences, and makespan optimization
  3. No Overlap — Disjunctive resources (shared equipment)
  4. Cumulative Resources — Limited worker capacity
  5. Transition Times — Setup times between tasks
  6. Alternatives — Choice between options
  7. Reservoirs — Production and consumption

Experienced with CP, New to OptalCP?

If you're coming from another solver (like IBM CP Optimizer):

Building an Application?

For integrating OptalCP into production systems:

  • Tutorial — Understand the modeling patterns
  • Python API — Complete Python API documentation
  • C# API — Complete C# API documentation
  • TypeScript API — Complete TypeScript API documentation

Quick Reference

TopicWhere to Look
Creating interval variablesModeling: Intervals
Resource constraintsResources Overview
Async solving with callbacksSolving: Async

Examples and Benchmarks

The optalcp-benchmarks repository is the richest source of working OptalCP examples. Every benchmark — Job Shop, Flexible Job Shop, RCPSP (Resource-Constrained Project Scheduling Problem), and more — is implemented in Python, C#, and TypeScript, so you can see what idiomatic OptalCP code looks like in your language. All benchmarks run on the Preview edition.

See also