Here’s a seemingly simple pondering.
If one item is more valuable the higher it is (i.e., a=5 is worth more than a=2) and another item is more valuable the lower it is (i.e., b=2 is worth more than b=5), what is an equation that will calculate how “good” the item pair is?
A couple of approaches:
- The perfect combination will be at 0.
- Higher result is better.
- Lower result is better.
Here’s a physical example, bicyles:
- The lower the weight of a bicycle, the faster it performs. Also, the higher the gear ratio, the faster it performs. So:
- One bike, bike a, has a weight of 29 and the highest gear (i.e., left*right, basically the same as gear ratio for our purposes) of 24.
- Another, bike b has a weight of 26 and the highest gear of 25.
Which bike, assuming that weight and gear ratio matter the exact same in determining bike speed, will offer a fast speed?
As given, this question does not have definitive answer.
However, if you can define how important one metric compared to another, then it has a solution. For example, weight can have a metric of -50 (negative because the lower the better), and gear metric of 30. In that case total price can be defined as
and the higher that total price is, the better.