Many governments struggle with how to efficiently, effectively, and equitably allocate medical supplies and equipment. Medical supplies and equipment can be expensive and prone to mismatches in use, context, and the level of expertise needed to operate them. Optimizing allocation is particularly important considering resource scarcity in many developing countries. Therefore, generating evidence to inform efficient, effective, and equitable allocation of medical supplies and equipment to maximize the benefits of scarce and often in-demand resources is crucial for improving medical care around the world. This case study examines how the World Bank financed Investing and Innovating for Grassroots Health Service Delivery project used optimization analysis to determine the best allocation of TB diagnosis machines. Identifying and combining relevant datasets and applying these within a well-defined algorithm, with the agreement of key stakeholders, enabled the national and provincial governments of Vietnam to determine where machines could be placed for maximum impact to enable and promote efficient use of expensive medical equipment.