QUBO++ Library with QUBO Solver APIs
Author: Koji Nakano, License: Non-commercial research and evaluation purposes without any guarantees.
|
Several sample programs that solve optimization problems using EasySolver, ExhaustiveSolver, ABS2 QUBO Solver, and Gurobi Optimizer through the QUBO++ library are provided:
A basic QUBO solver included in the QUBO++ library, designed to run on a CPU.
A simple QUBO solver included in the QUBO++ library, designed to run on a CPU.
A QUBO solver that runs on Linux servers with CUDA-enabled GPUs. It is available for non-commercial research and evaluation purposes but comes without any guarantees.
Sample programs using the ABS2 QUBO Solver require setting the path that includes libabs2.so
to the environment variable LD_LIBRARY_PATH
in order to execute them.
A commercial MIP solver that runs on multi-core CPUs, requiring a valid license.
Sample programs using the Gurobi Optimizer require specifying the path that includes gurobi_c++.h
either by the environment variable CPLUS_INCLUDE_PATH
or by the -I
compiler option. Additionally, they require setting the Gurobi library path that includes libgurobi_c++.a
to the environment variable LD_LIBRARY_PATH
in order to execute them.
Given a list of numbers, partition them into two sets such that the sums of the numbers in each set are as close as possible.
Given a set of items with values and weights, select the items that maximize the total value without exceeding the given weight limit.
Given a set of items with weights, distribute them into bins such that the weight of each bin does not exceed the specified limit.
The problem is to assign 7 workers to 24 time slots so that the total working hours is minimized.
Given coins of denominations 1, 5, 10, and 25, determine the minimum number of coins needed to achieve a specified amount.
Find a placement of queens on a chessboard so that no two queens attack each other.
Given an objective and constraints involving integer variables, find the values of the variables that maximize the objective.
Solves the Graph Coloring Problem for randomly generated graphs.
Find a tour that visits all nodes placed in a 2-dimensional plane with the minimum total tour length.
Find the factorization of the product \(p\), where two prime numbers \(x\) and \(y\) satisfy the given product \(p\). The QUBO model is derived from the reduction of a HUBO expression, \((xy-p)^2\).
Computes the product of two prime numbers or factorizes it using a QUBO emulation of a binary multiplier.