SimpleASF

class desdeo_tools.scalarization.SimpleASF(weights)[source]

Bases: desdeo_tools.scalarization.ASF.ASFBase

Implements a simple order-representing ASF.

Parameters
  • weights (np.ndarray) – A weight vector that holds weights. It’s

  • should match the number of objectives in the underlying (length) –

  • problem the achievement problem aims to solve. (MOO) –

weights

A weight vector that holds weights. It’s

Type

np.ndarray

length should match the number of objectives in the underlying
MOO problem the achievement problem aims to solve.

Methods Summary

__call__(objective_vector, reference_point)

Evaluate the simple order-representing ASF.

Methods Documentation

__call__(objective_vector, reference_point)[source]

Evaluate the simple order-representing ASF.

Parameters
  • objective_vector (np.ndarray) – A vector representing a solution in

  • solution space. (the) –

  • reference_point (np.ndarray) – A vector representing a reference

  • in the solution space. (point) –

Raises
  • ASFError – The dimensions of the objective vector and reference

  • point don't match.

Note

The shaped of objective_vector and reference_point must match.

Return type

Union[float, ndarray]