Decision Modeling: Iterating over Collections

OpenRules supports decision tables applied to all element of collections of objects. The phrase [for each <element> in >collection>] added to the end of the decision table signature applies the rules to every <element> of the <collection>. In this post I will explain additional iteration capabilities now available to OpenRules customers.

Continue reading

How decision models deal with fairness

The discussion “Decision Modeling and Fairness” raises very interesting issues, some of which were addressed in the original Guido Tack’s presentation as well in several solutions for Stable Marriage Challenge including OpenRules. In this post I’d like to look at this problem from the perspective of real-world decision-making applications. Do they actually deal with the fairness of the recommended decisions and if yes, then how?

Continue reading

Decision Models for DMCommunity Challenge “Smart Marriages”

This June-2024 Challenge deals with the famous stable marriage problem formulated as follows:

“Given n men and n women, where each person has ranked all members of the opposite sex in order of preference, marry the men and women together such that there are no two people of opposite sex who would both rather have each other than their current partners. When there are no such pairs of people, the set of marriages is deemed stable.”

A very good analysis of the problem is provided in the recent presentation given by Dr. Guido Tack. My solution is based on OpenRules Rule Solver. It includes two different implementation approaches described in this document. The complete decision model has been added to RuleSolver samples.

Continue reading