Aplikasi Inventory Bahan Baku Makanan Menggunakan Algoritma Apriori untuk Optimasi Persediaan di Warkop Agam
Abstract
Warkop Agam Cikditiro still manages food raw-material inventory manually, making procurement
insufficiently data-driven. This condition may cause overstocking of some materials, stockouts of others, higher
operating costs, and material waste. This study designs and develops a web-based inventory application that
integrates association rule mining with the Apriori algorithm to identify relationships among raw materials
from outgoing-item transactions. The system is implemented using PHP, HTML, Bootstrap CSS, and MySQL.
The Apriori process consists of calculating 1-itemset support, generating 2-itemset candidates, calculating
confidence, and filtering rules according to threshold values. The evaluation uses 44 transactions with 20%
minimum support and 60% minimum confidence. The resulting rule is “If Gula Pasir is purchased, Kopi Bubuk
is also purchased,” with 30.43% support and 73.68% confidence. Black-box testing indicates that login, rawmaterial
management, transaction recording, Apriori processing, and report printing operate according to the
specified scenarios. The application can support raw-material procurement planning, although its
recommendations should be reviewed together with actual stock conditions and operational policies.

