decode_solution

decode_solution(array: PolyArray, solution: Values)

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

Use evaluate(), which this function calls.

パラメータ:
  • array -- The array to evaluate.

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

戻り値:

The value that evaluate() returned.