- #1
sheldor
- 2
- 0
Homework Statement
Consider the following puzzle. You are to choose 4 three-letter "words" from the following list:
ECB EFH BEJ GGE HIJ CDE GEG CBJ
For each word, you earn a score equal to the position that the word's third letter appears in the alphabet. For example, ECB earns a score of "2", EFH earns a score of "8", and so on. Your goal is to choose the four words that maximize your total score, subject to the following constraint. The sum of the positions in the alphabet for the first letter of each word chosen must be at least as large as the sum of the positions in the alphabet for the second letter of each word chosen
Formulate an IP only for this problem.
Homework Equations
The Attempt at a Solution
No solution needed. Any help with choosing variables and setting an objective function would be appreciated.