fixed_runs_cost
- pyoptex.doe.cost_optimal.cost.fixed_runs_cost(max_runs)[source]
Cost function to deal with a fixed maximum number of experiments. The maximum cost is supposed to be the number of runs, and this cost function simply returns 1 for each run.
Parameters
- max_runsint
The maximum number of runs.
Returns
- cost_fnfunc(Y, params)
The cost function.