iwopy.wrappers.SimpleProblem(name, int_vars=None, float_vars=None, init_values_int=None, init_values_float=None, min_values_int=None, max_values_int=None, min_values_float=None, max_values_float=None, **kwargs)[source]

Constructor

ParametersΒΆ

int_vars: dict or array-like

The integer variables, either dict with name str to initial value mapping, or list of variable names

float_vars: dict or array-like

The float variables, either dict with name str to initial value mapping, or list of variable names

init_values_int: list of float, optional

The initial values, in case of list type int_vars

init_values_float: list of float, optional

The initial values, in case of list type float_vars

min_values_int: dict or list, optional

The minimal values of the variables. Use -self.INT_INF for left-unbounded cases. None sets all values as such.

max_values_int: dict or list, optional

The maximal values of the variables. Use self.INT_INF for right-unbounded cases. None sets all values as such.

min_values_float: dict or list, optional

The minimal values of the variables. Use -np.inf for left-unbounded cases. None sets all values as such.

max_values_float: dict or list, optional

The maximal values of the variables. Use np.inf for right-unbounded cases. None sets all values as such.

kwargs: dict, optional

Additional parameters for the Problem class