Core Concepts
AutoProblem
The AutoProblem
class is one of the core components of the Qubots framework, providing automatic loading and management of optimization problems from Git repositories.
Overview
AutoProblem enables you to load optimization problems with a single line of code, handling repository cloning, dependency management, and instance creation automatically.
Key Features
Repository Integration
Automatically clone and manage Git repositories containing optimization problems
Caching System
Caching to avoid repeated downloads and improve performance
Parameter Override
Override default parameters when loading problems
Validation
Automatic validation of problem configurations and parameters
Basic Usage
Loading a Problem
Parameter Override
You can override default parameters when loading:
Problem Configuration
Each problem repository contains a config.json
file that defines the problem: