Description
Given a number (1 ≤ nNumber ≤ objAlg.SolutionCount), this function discards all solutions in the given algorithm except for the specified one.
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application
Syntax
object.SetUniqueSolution(nNumber)
Parameters
Object is a reference to the Algorithm object. For more information, see Algorithm Object (page Algorithm Object).
SetUniqueSolution is the command.
nNumber is the number of the solution that should not be discarded.
Example