API Reference#

This reference manual details functions, modules, and objects included in PyKP, describing what they are and what they do.

pykp.knapsack

Core classes for the knapsack problem.

pykp.sampling

Random knapsack instance generator.

pykp.solvers

Implementations of various solvers for the knapsack problem.

pykp.metrics

Metrics for evaluating knapsack instance complexity.