Description
Write-only. Given a number (1 ≤ nNumber ≤ objAlg.SolutionCount), this function replaces the solution in that position with the solution provided.
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application
Syntax
object.SetSolution (nNumber, objSoln)
Parameters
Object is a reference to the Algorithm object. For more information, see Algorithm Object (page Algorithm Object).
SetSolution is the command.
nNumber is the solution number.
objSoln is the new solution to be used.
Example