PyQUBO++ Document

This documentation for PyQUBO++ (Python binding of QUBO++) is currently under development. Some pages may contain incomplete or provisional information.

Installation

PyQUBO++ can be installed via pip:

pip install pyqbpp

Basics

This section provides a step-by-step introduction to PyQUBO++. By reading the pages in order, you will learn how to define variables and expressions, model optimization problems, and solve them using PyQUBO++. After completing this tutorial, you should be able to use PyQUBO++ for most typical applications.

  1. Defining Variables and Creating Expressions
  2. Solving Expressions
  3. Vector of Variables and Vector Functions
  4. Solving Partitioning Problem Using Vector of Variables
  5. Permutation Matrix and Solving Assignment Problem
  6. Integer Variables and Solving Simultaneous Equations
  7. Factorization Through HUBO Expression
  8. Range Constraints and Solving Integer Linear Programming

Topics

This section provides topic-wise explanations of selected features of PyQUBO++. Each page focuses on a specific topic and offers deeper insights into design decisions, usage patterns, and, where appropriate, internal implementations.

  1. Data Types of Variables and Expressions
  2. Basic Operators and Functions
  3. Basic Operators and Functions for Vectors
  4. Multi-dimensional Variables and Expressions
  5. Comparison Operators
  6. Expression Classes
  7. Evaluating Expressions
  8. Replace Functions
  9. Sum Functions for Multi-dimensional Arrays
  10. Easy Solver Usage
  11. Exhaustive Solver Usage
  12. ABS3 Solver Usage

NOTE The Gurobi Solver is not available in the Python binding. For Gurobi usage, please refer to the QUBO++ (C++) documentation.

Quick References

  1. Variables and Expressions
  2. Operators and Functions

Last updated: