OptaPlanner User Guide

This guide explains how to use the OptaPlanner open-source Java library for solving complex planning problems using constraint satisfaction and optimization…


OptaPlanner User Guide - cover page
Brand
OptaPlanner
Category
Other software
Document type
User Manual
Language
English
Pages
512
File format
PDF
File size
23 MB
Published
28 October, 2026
Updated
28 October, 2026
MD5 checksum
1D4863213F3D08B0C84163D9DEC7F7EE

About this manual

The OptaPlanner User Guide serves as a comprehensive resource for developers looking to implement constraint-based planning solutions. It introduces the core concepts of planning problems, including hard and soft constraints, NP-completeness, and search spaces.

The document provides practical quick-start guides for integrating OptaPlanner into Java applications using frameworks like Quarkus and Spring Boot. It details how to model domain objects, define constraints, configure solvers, and run examples such as the N-Queens problem or cloud balancing.

What's inside

  • OptaPlanner Introduction
  • Quick start guides
  • Use cases and examples
  • Solver configuration
  • Score calculation
  • Constraint streams
  • Drools score calculation
  • Shadow variables
  • Optimization algorithms
  • Move and neighborhood selection

Frequently asked questions

What is a planning problem?

A planning problem involves finding a solution that satisfies constraints, often characterized as NP-complete or NP-hard with hard and soft constraints.

What are the prerequisites for the Hello World Java quick start?

The guide lists specific prerequisites required before building a solution source code for the Hello World example.

Download PDF (23 MB)