QHyper.problems#
This module contains implementaions of different problems.
Problems are defined using Polynomial module.
No problem is imported by deafult to reduce number of dependencies.
To use any problem you can import it directly like
from QHyper.problems.knapsack import KnapsackProblem
or use function Problems.get() with the name of the problem.
Any problem that is in directory ‘QHyper/custom’ or ‘custom’ will be
also available in this function.
Interface
|
Interface for different combinatorial optimization problems |
Available problems
|
Objective function and constraints for the knapsack problem |
|
Class defining objective function and constraints for TSP |
|
MaxCut problem |
Workflow Scheduling Problem |
|
Problem class instance - objective function for network community detection |
Additional functions