optiprofiler.Feature.modifier_affine#
- Feature.modifier_affine(seed, problem)[source]#
Generate an invertible matrix A and a vector b for the affine transformation applied to the variables.
- Parameters:
- seedint
Seed used to generate random numbers.
- problem
Problem Problem for which the affine transformation is generated.
- Returns:
numpy.ndarray,numpy.ndarray,numpy.ndarrayMatrix A, vector b, and inverse of the matrix A.