Skip to content

About

๐Ÿšš CSP model written in essence prime and evaluated using savile row.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

ย 

History

10 Commits

Folders and files

Repository files navigation

Supply-Chain-Problem-CSP

This repository contains a CSP model written in essence prime, which has been evaluated using Savile Row.

Scenario

The Supply Chain Problem (SCP) involves supplying a set of shops with a product from various suppliers. Each shop has a specific demand for the product, and suppliers offer packages of different sizes and prices. For instance, one supplier might provide boxes of 10 units for ยฃ10, while another offers pallets of 100 units for ยฃ80.

The goal is to ensure every shop receives enough units to meet its demand while minimising the total delivery cost. Over-supply is permitted, allowing excess product to be stored for future use. An optimal solution must determine how many packages to order from each supplier for each shop, satisfying demand and minimising costs.

Evaluation of Solution

Test Case Minion Solver Nodes Minion Solver Time (s)
Case 1 (Simple) 12 0
Case 2 (Low excess stock limit) 28,772 0.03125
Case 3 (High Excess stock limit) 2,093,734 2.90625
Case 4 (Large difference in shop demands) 7,101,243 10.7188
Case 5 (Most Challenging) 350,766,457 268.859
Test Instance (from paper) 10,323,476 10.1719

All code submitted as part of a master module at the University of York - Constraint Programming

About

๐Ÿšš CSP model written in essence prime and evaluated using savile row.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors