SolutionSample#

class SolutionSample(x, fval, probability, status)[source]#

Bases: object

A sample of an optimization solution.

Attributes

x: ndarray#

The values of the variables

fval: float#

The objective function value

probability: float#

The probability of this sample

status: OptimizationResultStatus#

The status of this sample

Methods