I am working on a problem template that asks for the solution to a polynomial equation. The answer may be entered as:

{1,2}

or

x=1 or x=2

This works when I use the Inequalities context since it recognizes both answers as sets. Here's the code:

Context("Inequalities");

$ans = Compute("x=-$a or x=-$b")->reduce;

ANS($ans->cmp);

However, when the first answer is used the student gets a nice answer hint if one of the answers is incorrrect. For example, if the correct answer is {0,2}, then the student is told that the first number is incorrect. In the second case, no hint is given.

Can this be changed so that either answer gets the helpful hint? OR is there a better context to use?

Thanks -- rac