Panobbgo User Guide#

Welcome to the comprehensive guide for Panobbgo (Parallel Noisy Black-Box Global Optimization).

This guide provides everything you need to understand, use, and extend Panobbgo for your black-box optimization problems.

Overview#

Panobbgo is a flexible, modular Python framework for optimizing expensive black-box functions where:

  • You can only evaluate the function, not analyze its internal structure

  • Evaluations may be noisy or stochastic

  • You have a limited evaluation budget

  • You can leverage parallel computing resources

  • You may have box constraints and constraint violations

The framework uses an event-driven architecture with multiple point generation heuristics that are coordinated by an adaptive strategy implementing a multi-armed bandit approach.

Quick Navigation#

Just want to get started?

Follow the verified step-by-step walkthrough in Usage Guide

New to Panobbgo?

Start with Introduction to Panobbgo to understand what it does and when to use it

Want mathematical details?

See Mathematical Foundation for the theory behind the algorithms

Understanding the design?

Read Architecture Overview for the system architecture and component interactions

Ready to use it?

Follow Usage Guide for installation, configuration, and basic examples

Want to customize?

Check Extending Panobbgo for adding custom heuristics, analyzers, and problems

Interested in research?

Explore Research Context and Future Directions for related work, theoretical properties, and future directions

Want to measure progress?

Read Benchmarking and the Composite Score for the composite score, external baselines, parametrically randomised problems and the statistical acceptance rule. It explains which single number we track, how to run the harness before and after a change, and when a delta is real rather than noise.

Guide Contents#

Key Concepts#

Before diving in, here are the core concepts you’ll encounter throughout Panobbgo:

Problem

The black-box function you want to minimize, defined by its dimensionality and bounding box

Point

A candidate solution (location in search space) generated by a heuristic

Result

The outcome of evaluating a Point, including objective value and constraint violations

Heuristic

A point generation strategy (e.g., random sampling, local search, model-based)

Analyzer

A module that processes results and maintains derived information (e.g., best points, spatial decomposition)

Strategy

The orchestrator that coordinates heuristics, manages evaluation, and tracks the optimization budget

EventBus

The communication backbone enabling decoupled interaction between modules

Multi-Armed Bandit

The adaptive selection mechanism that learns which heuristics work well for your problem

Typical Workflow#

A typical Panobbgo workflow looks like this:

  1. Define your problem by subclassing Problem

    class MyProblem(Problem):
        def eval(self, x):
            return my_expensive_function(x)
    
  2. Choose a strategy (typically StrategyRewarding, StrategyUCB, or StrategyThompsonSampling)

    strategy = StrategyRewarding(problem, max_evaluations=1000)
    
  3. Add heuristics to create a diverse portfolio

    strategy.add(Center)
    strategy.add(LatinHypercube, div=5)
    strategy.add(Random)
    strategy.add(NelderMead)
    
  4. Run optimization (evaluations run in local threads by default; Dask is optional)

    strategy.start()
    
  5. Analyze results

    print(f"Best found: {strategy.best}")
    df = strategy.results.results
    

Design Philosophy#

Panobbgo’s design is guided by several principles:

Modularity

Components are independent and interchangeable. Add, remove, or replace heuristics without affecting others.

Extensibility

Easy to add custom heuristics, analyzers, or strategies by subclassing base classes.

Composability

Mix and match components to create custom optimization workflows.

Event-Driven

Loose coupling through the EventBus—modules communicate without direct dependencies.

Parallel-First

Evaluations are dispatched in parallel from the ground up — local threads or processes by default, a Dask cluster optionally.

Research-Oriented

Designed for experimentation and prototyping new optimization ideas.

When to Use Panobbgo#

Panobbgo excels when you have:

✓ Expensive function evaluations (seconds to hours per evaluation)

✓ No access to gradients or derivatives

✓ Noisy or stochastic evaluations

✓ Box-constrained search space

✓ Optional constraint violations to minimize

✓ Parallel computing resources available

✓ A research or experimental mindset (willing to tune and customize)

Common application domains include:

  • Hyperparameter optimization for machine learning

  • Simulation calibration and parameter estimation

  • Engineering design optimization (aerodynamics, structures, etc.)

  • Scientific model fitting

  • Industrial process optimization

When NOT to Use Panobbgo#

Consider alternatives if you have:

✗ Access to gradients (use gradient-based methods instead)

✗ Cheap function evaluations (simple methods may suffice)

✗ Convex problems with known structure (use convex optimization)

✗ Very high dimensions (>50) without special structure

✗ Need for out-of-the-box production-ready solver (Panobbgo is research-oriented)

System Requirements#

  • Python ≥ 3.14

  • NumPy, SciPy, pandas, matplotlib, statsmodels, scikit-learn

  • Dask (optional dask extra) for distributed evaluation

  • Tested on Linux and macOS (Windows should work but less tested)

Community and Support#

Contributing#

Panobbgo is open-source (Apache 2.0 license) and welcomes contributions:

  • Bug reports and feature requests

  • New heuristics or analyzers

  • Documentation improvements

  • Benchmarking studies

  • Research collaborations

See the repository for contribution guidelines.

What’s Next?#

If you’re new: Start with Introduction to Panobbgo to understand black-box optimization and Panobbgo’s approach.

If you want to use it: Jump to Usage Guide for installation and examples.

If you want to extend it: Go to Extending Panobbgo for customization patterns.

If you’re researching: Explore Research Context and Future Directions for the academic context and future directions.