decode_solutionΒΆ

decode_solution(array: PolyArray, solution: Values)ΒΆ

Substitute the values of a solution into an array. Obsolete.

Use evaluate(), which this function calls.

Parameters:
  • array – The array to evaluate.

  • solution – The values of the solution, such as result.best.values.

Returns:

The value that evaluate() returned.