About DeciDB

A research collaboration between the HUDA Lab at NYU Abu Dhabi and UMass Amherst, bringing optimization directly into SQL.

Research Foundation

DeciDB builds on a decade of research into in-database constrained optimization:

Scalable Package Queries in Relational Database Systems

Matteo Brucato, Azza Abouzied, Alexandra Meliou

VLDB 2016

Read Paper

Scalable Computation of High-Order Optimization Queries

Matteo Brucato, Azza Abouzied, Alexandra Meliou

Communications of the ACM, 2019

Read Paper

Scaling Package Queries to a Billion Tuples

Anh L. Mai, Pengyu Wang, Azza Abouzied, Matteo Brucato, Peter J. Haas, Alexandra Meliou

VLDB 2024

Read Paper

The Team

NYU Abu Dhabi

Prof. Azza Abouzied

Principal Investigator, Director HUDA Lab

Anh Mai

PhD Student, Sketch-Refine algorithm

Filip Milisov

Research Assistant

Hatim Rehmanjee

Capstone Project 2025-2026

UMass Amherst

Prof. Alexandra Meliou

Co-PI, Package Queries

Peter J. Haas

Researcher, Scalable Package Queries

HUDA Lab

Human Data Interaction Lab

The HUDA Lab focuses on making data systems more accessible, interactive, and intelligent.

Research Areas:

  • • Query interfaces for non-experts
  • • Visual data exploration
  • • Automated data analysis
  • • Optimization in databases
Visit HUDA Lab Website

Technical Details

Built With

  • DuckDB — Embeddable analytical database engine
  • Gurobi — Primary MILP/QP/QCQP solver, auto-detected at runtime (commercial; recommended for performance)
  • HiGHS — Bundled open-source LP/MIP solver, used as fallback when Gurobi is unavailable
  • SymbolicC++ — Computer algebra for constraint linearization

Current Status

Version: 0.1.0 (Prototype)
Branch: master (working)
Test Coverage: automated test suite
Target Scale: ~1M rows (exact solving with Gurobi)

Future Development

  • Sketch-Refine Algorithm

    Scale beyond exact solving to very large datasets with bounded approximation error

  • Python Bindings

    pip install decidb — in-process Python package for embedding optimization queries in data pipelines

  • Broader Non-Linear Coverage

    Extend automatic linearization beyond the current ABS, MIN/MAX, <>, IN, and McCormick bilinear forms; full QCQP/SOCP on HiGHS