Type alias: ProblemGenerator
Ƭ ProblemGenerator: (input
: any
) => ProblemDefinition
| Model
| Promise
<ProblemDefinition
> | Promise
<Model
>
Type declaration
▸ (input
): ProblemDefinition
| Model
| Promise
<ProblemDefinition
> | Promise
<Model
>
A function that generates a problem definition or a model from the given input. The function can be async
.
Parameters
Name | Type |
---|---|
input | any |
Returns
ProblemDefinition
| Model
| Promise
<ProblemDefinition
> | Promise
<Model
>