From the hub, tagged: "SWISH"
Introduction to CLP(FD) for Resource Management
This post is external to PrologHubIntroduction to using CLP(FD). A guide from scenario description, to mathematical representation, to code, for the kind of problems that are typical in the Operational Research/Management Science domain. We're maximizing profit or minimizing spending given some constraints on resources.
Space Age Prolog
This post is external to PrologHubEver wondered how old you are in Martian years? To calculate our age on different planets requires data and reasoning over that data, sounds like a job for Prolog. In this SWISH notebook we also demonstrate how to cache the result of a query using assert/1.