Optimization Lab
QUBO Solver
Build a small binary quadratic objective, inspect the Q matrix, and compare exact search against a greedy local-search baseline.
Template
Three binary variables choose a graph partition. Lower energy means more cut edges.
Best bitstring 000, energy 0.00, feasible.
Learning mode
Turn decisions into energy
A QUBO is a scoreboard for yes/no choices: every bitstring gets an energy score.
Edit one matrix cell and watch which bitstring becomes the best solution.
Definitions on demand
QUBO
A quadratic objective over binary variables with no explicit constraints.
Penalty
An added energy term intended to make rule violations unattractive.
Feasible
An assignment satisfying the selected real-world rule, independent of its raw objective energy.
Q Matrix
Only the diagonal and upper triangle contribute to E(x) = x^T Q x.
Energy Ranking
000
feasible
001
feasible
010
feasible
100
feasible
011
feasible
101
feasible
110
feasible
111
feasible
Best-solution energy decomposition
All active terms contribute zero.