Green ACO: An Energy-Aware Ant Colony Optimisation for the MAX-SAT Problem with EI/J Scheduling and Thompson Sampling
Organizations: Higher National School of Computer Science (ESI), Algiers, Algeria
Abstract
NP-hard combinatorial optimization problems demand heavy computation, and this raises real environmental concerns, especially in regions with carbon-intensive power grids. This paper presents Green ACO, an energy-aware Ant Colony Optimisation algorithm for the MAXIMUM SATISFIABILITY (MAX-SAT) problem. At its core is an Expected Improvement per Joule (EI/J) scheduler. At every iteration, it picks the operator that best balances expected quality gain against expected energy cost. Three operators feed the scheduler: WalkSAT, Focused Variable Neighbourhood Search, and Clause-Restart Greedy, ranging from cheap and surgical to aggressive and costly. An offline dual-regime profiling phase calibrates these operators before the search even begins, and, combined with Thompson sampling, this reduces uninformed early operator choices; online call-count warm-up still occurs. A pre-dispatch guard rejects calls when their estimated energy cost, with a safety multiplier, exceeds the remaining budget. Sparse pheromone updates, pheromone caching across budgets, and stagnation-based early stopping trim energy use further, without hurting solution quality. The framework also incorporates a budget predictor that estimates the energy budget required for unseen instances. On four hard MAX-SAT reference instances, Green ACO reaches an average quality of 98.44%. This beats the standard ACO baselines by close to 3 points, while using only 986 J against 4,171 to 6,610 J for the strongest competitors, a six-and-a-half-fold gain in quality per joule. Under the Algerian grid's carbon intensity, this cuts COe emissions by approximately 85% compared with the most energy-hungry baseline.
Figures & tables
| Region | CI | Region | CI |
| Norway (NO) | 31 | France (FR) | 42 |
| UK (GB) | 216 | Germany (DE) | 298 |
| USA (US) | 343 | Algeria (DZ) | 486 |
| China (CN) | 477 | – | – |
| Feature | Description |
| Number of Boolean variables. | |
| Number of clauses. | |
| clause/var ratio | Clause density . |
| mean clause len | Average literals per clause. |
| std clause len | Spread of clause lengths. |
| mean var degree | Average number of clauses a variable appears in. |
| Component | Specification |
| Operating System | Windows 11 Professional (24H2) |
| CPU | AMD Ryzen 5 3550H |
| CPU Base Clock | 2.10 GHz |
| CPU Cores | 4 Cores/8 Threads |
| RAM | 16 GB |
| Instance (alias) | Operator | Regime | Cost (J) | |||
|---|---|---|---|---|---|---|
| decision-tree_soybean | WalkSAT | easy | 32.9 | 5.7 | 965.9 | 417.1 |
| WalkSAT | hard | 27.0 | 0.9 | 33.9 | 93.5 | |
| Focused VNS | easy | 16.8 | 0.3 | 430.2 | 0.4 | |
| Focused VNS | hard | 16.6 | 0.3 | 0.0 | 0.0 | |
| Clause-Restart | easy | 790.1 | 303.3 | 2572.4 | 878.9 | |
| Clause-Restart | hard | 506.9 | 25.0 | 636.4 | 16.9 |
| Unprofiled instance | Donor reference | |
| optic-gen_add_6_carry_991 | car | 0.319 |
| xai-mindset2-lymphography | vote | 0.403 |
| gen-hyper-tw_b01 | gen-hyper-tw_grid4d_3 | 0.458 |
| scheduling-cnf_small | vote | 0.837 |
| min-fill_R3_david | min-fill_myciel5 | 0.868 |
| ramsey-ram_k3_n16.ra0 | frb40-19-2 | 3.554 |
| Test | Result |
| Kruskal–Wallis | , |
| Mann–Whitney U | CR vs. FVNS: ✓ CR vs. WalkSAT: ✓ FVNS vs. WalkSAT: (n.s.) |
| Wilcoxon signed-rank | All pairs: , |
| Parameter | Value |
| 0.6330 | |
| (max overrun factor) | 1.1770 |
| (stagnation window) | 8 |
| (stagnation epsilon) | 0.1859 |
| (best stagnation limit) | 13 |
| Plateau tolerance (%) | 0.0084 |
| # | Alias | Full name | Vars | Clauses | Best |
| 1 | soybean | decision-tree-soybean-un-formula_0.8_2021_atleast_15_max-3_reduced_incomplete_tree | 10 503 | 89 879 | 22 |
| 2 | min-fill | min-fill-MinFill_R0_myciel5 | 15 416 | 109 371 | 196 |
| 3 | car | decision-tree-car-un-formula_0.8_2021_atleast_15_max-3_reduced_incomplete_tree | 5 959 | 110 235 | 143 |
| 4 | vote | decision-tree-vote-un-formula_0.8_2021_atleast_15_max-3_reduced_incomplete_tree | 9 973 | 78 069 | 6 |
| Config | WalkSAT | FocusedVNS | ClauseRst | Caching | Profiling | Sparse+Frugal | Overrun Fix |
| full | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| no_walksat | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| no_focused_vns | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| no_greedy_restart | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| no_caching | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| no_profiling | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Configuration | SPJ 400 J | SPJ 1000 J | SPJ 2000 J | CO 2 e ( g) |
| full | 0.253 | 0.061 | 0.053 | 57 107 |
| no_walksat | 0.245 | 0.046 | 0.050 | 54 217 |
| no_focused_vns | 0.229 | 0.049 | 0.049 | 58 048 |
| no_greedy_restart | 0.243 | 0.097 | 0.049 | 54 871 |
| no_sparse_ph | 0.234 | 0.050 | 0.049 | 56 774 |
| no_caching | 0.245 | 0.053 | 0.050 | 54 372 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.