How rudolfovoorg/parallel_biqbin_maxcut works
BiqBin is a parallel branch-and-bound solver for Max-Cut and unconstrained binary quadratic (QUBO) problems, with a placeholder general-BQP wrapper. The main user workflow is to select a problem format, parse and normalize an instance, invoke the solver under MPI, and serialize a solution. The native solver also exposes heuristic, bounding, and cutting-plane capabilities; QPLIB support is implemented through a dedicated reader and model components. Edges are limited to README statements, excerpted calls, or SOURCE INDEX references; some native and optional-integration wiring is therefore omitted or marked unverified.
Main entry points: argparsers.py Argument parsing · biqbin_base.py Solver facade · biqbin_heuristic.py Heuristic CLI · data_parsers.py Input parsers
Components 25
Python API
- Max-Cut CLI
biqbin_maxcut.py - QUBO CLI
biqbin_qubo.py - Heuristic CLI
biqbin_heuristic.py - BQP CLI
biqbin_bqp.py - Argument parsing
biqbin/argparsers.py - Problem and solution models
biqbin/biqbin_base.py - Solver facade
biqbin/biqbin_base.py
Problem formats
- Input parsers
biqbin/data_parsers.py - Solution writers
biqbin/data_parsers.py - Matrix and data utilities
biqbin/utils.py
Native solver
- MPI entry and dispatch
src/main.c - Native solver API
src/biqbin.h - Branch and bound
src/bab_functions.c - SDP bounding
src/bounding.c - Cutting planes
src/cutting_planes.c - Bundle optimization
src/bundle.c - Heuristics
src/heuristic.c - C++ solver wrapper
src/wrapper.cpp
QPLIB model
- QPLIB reader
biqbin/external/pyqplib/reader.py - QPLIB problem
biqbin/external/pyqplib/prob.py - Objective evaluators
biqbin/external/pyqplib/obj.py - Constraint evaluators
biqbin/external/pyqplib/cons.py - Lower matrix
biqbin/external/pyqplib/lower_mat.py
Other components
- Problem user
- D-Wave sampler
Connections 29
- Problem user → Max-Cut CLI: runs
README.md - Problem user → QUBO CLI: runs
README.md - Problem user → Heuristic CLI: runs
README.md - Problem user → BQP CLI: runs
README.md - Max-Cut CLI → Argument parsing: parses options
biqbin_maxcut.py - QUBO CLI → Argument parsing: parses options
biqbin_qubo.py - Heuristic CLI → Argument parsing: parses options
biqbin_heuristic.py - BQP CLI → Argument parsing: parses options
biqbin_bqp.py - Argument parsing → Input parsers: selects format
biqbin/argparsers.py - Input parsers → Problem and solution models: creates problems
biqbin/data_parsers.py - Input parsers → QPLIB reader: reads QPLIB
biqbin/data_parsers.py - Problem and solution models → Matrix and data utilities: validates matrices
biqbin/biqbin_base.py - Solver facade → MPI entry and dispatch: invokes native solver
- Solver facade → Problem and solution models: accepts problem
biqbin/biqbin_base.py - Solver facade → Solution writers: returns solution
biqbin/data_parsers.py - Solution writers → Matrix and data utilities: serializes data
biqbin/data_parsers.py - MPI entry and dispatch → Native solver API: uses declarations
src/main.c - MPI entry and dispatch → Branch and bound: initializes search
src/main.c - Branch and bound → SDP bounding: computes bounds
- Branch and bound → Heuristics: runs heuristics
- SDP bounding → Cutting planes: uses cuts
- SDP bounding → Bundle optimization: optimizes bound
- Heuristics → C++ solver wrapper: calls wrapper
- QPLIB reader → QPLIB problem: constructs problem
biqbin/external/pyqplib/reader.py - QPLIB problem → Objective evaluators: evaluates objective
biqbin/external/pyqplib/prob.py - QPLIB problem → Constraint evaluators: evaluates constraints
biqbin/external/pyqplib/prob.py - Objective evaluators → Lower matrix: uses matrix
biqbin/external/pyqplib/obj.py - Constraint evaluators → Lower matrix: uses matrix
biqbin/external/pyqplib/cons.py - Heuristic CLI → D-Wave sampler: supports sampler
README.md