cr.sparse.problems.generate

cr.sparse.problems.generate(name, key=Array([0, 0], dtype=uint32), **args)[source]

Generates a test problem by its name and problem specific arguments

Parameters
  • name (str) – The name of the problem to be instantiated.

  • key – A PRNG key to be used if the problem requires randomized data

  • args (dict) – The list of keyword parameters to be passed to the problem generation code

Returns

An instance of a problem

Return type

Problem