
Branch-And-Model (BAM) Optimization Tool
BAM is a deterministic global optimization solver for problems where users lack algebraic objective functions or constraints. It solves optimization problems where each evaluation incurs high costs, such as running a simulator, performing a lab experiment, or calling external software.
BAM is ideal for:
Engineering design optimization
Simulation-based decision-making
Laboratory and experimental optimization
Hyperparameter tuning
Mixed continuous, integer, and categorical optimization problems
BAM helps users extract maximum value from each evaluation. It combines global search, local surrogate modeling, and embedded optimization technology to identify high-quality solutions while reducing costly simulation or experiment calls.
Why Use BAM?
Benchmark-leading performance
At a fixed evaluation budget, BAM finds the best solution for over 80% of 750+ test problems. It far outperforms both the strongest alternative DFO codes, which solve 50–60%, and traditional Bayesian Optimizers, which solve 10%.
Fewer expensive evaluations
BAM reaches 50% problems solved in approximately 200 evaluations, while competing data-driven optimizers require 5 to 12 times as many, and often more.
Supports flexible batch evaluations
BAM proposes batches of evaluation points. Users can run these in parallel, in sequence, or substitute their own points as their setup allows.
How to Run BAM
Python API
BAM is available as an official Python package on PyPI:
pip install bam-solver
The Python API integrates easily with SciPy-based workflows and requires no compiler or external toolchain.
Native C and Fortran APIs
BAM also provides dedicated APIs for C and Fortran for direct integration with compiled applications and other environments, including C++, Julia, and Rust.
- For installation instructions, API details, and example workflows, see the BAM User Manual. For common setup, licensing, and troubleshooting questions, see the BAM FAQ.
Licensing
BAM supports Windows, Linux Intel, Linux ARM, and macOS Intel, and macOS ARM.
Licensing options include:
- Free tier: Full access for any problem with up to two variables.
- Academic/DOE: Free licenses for academic users and the U.S. Department of Energy.
- Commercial: Paid licenses for larger applications.
- Trial: A one-month commercial trial option.
All licenses include technical support and upgrades during the license period.
Try BAM
Download BAM, review example problems, and learn more at BAM Downloads.

