foxes_opt.problems.layout.RegGridsLayoutOptProblem(name, algo, min_dist, n_grids=1, n_row_max=None, max_dist=None, runner=None, **kwargs)[source]

Constraints.

Parameters

name: str

The problem’s name

algo: foxes.core.Algorithm

The algorithm

min_dist: float

The minimal distance between points

n_grids: int

The number of grids

n_row_max: int, optional

The maximal number of points in a row

max_dist: float, optional

The maximal distance between points

runner: foxes.core.Runner, optional

The runner for running the algorithm

kwargs: dict, optional

Additional parameters for FarmVarsProblem